mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-31 17:42:45 +00:00
Deployed 2806f7f5 to 12.0 with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
ba3a398645
commit
6c33579b2f
|
|
@ -2076,6 +2076,15 @@
|
|||
</label>
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-docker-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Use seaf-fuse in Docker based deployment
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-binary-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
|
@ -2098,15 +2107,6 @@
|
|||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-docker-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Use seaf-fuse in Docker based deployment
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
|
@ -4290,6 +4290,15 @@
|
|||
</label>
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-docker-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Use seaf-fuse in Docker based deployment
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-binary-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
|
@ -4312,15 +4321,6 @@
|
|||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#use-seaf-fuse-in-docker-based-deployment" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
Use seaf-fuse in Docker based deployment
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
|
@ -4353,6 +4353,30 @@
|
|||
<li>One debian/centos systems, you need to be in the "fuse" group to have the permission to mount a FUSE folder.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2 id="use-seaf-fuse-in-docker-based-deployment">Use seaf-fuse in Docker based deployment<a class="headerlink" href="#use-seaf-fuse-in-docker-based-deployment" title="Permanent link">¶</a></h2>
|
||||
<p>Assume we want to mount to <code>/opt/seafile-fuse</code> in host.</p>
|
||||
<h5 id="modify-seafile-serveryml">Modify seafile-server.yml<a class="headerlink" href="#modify-seafile-serveryml" title="Permanent link">¶</a></h5>
|
||||
<p>Add the following content</p>
|
||||
<div class="highlight"><pre><span></span><code> seafile:
|
||||
...
|
||||
volumes:
|
||||
...
|
||||
- /opt/seafile-fuse: /seafile-fuse
|
||||
privileged: true
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
</code></pre></div>
|
||||
<h5 id="start-seaf-fuse-with-the-script-in-docker">Start seaf-fuse with the script in docker<a class="headerlink" href="#start-seaf-fuse-with-the-script-in-docker" title="Permanent link">¶</a></h5>
|
||||
<p>Start Seafile server and enter the container</p>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d
|
||||
|
||||
docker<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>-it<span class="w"> </span>seafile<span class="w"> </span>bash
|
||||
</code></pre></div>
|
||||
<p>Start seaf-fuse in the container</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nb">cd</span><span class="w"> </span>/opt/seafile/seafile-server-latest/
|
||||
|
||||
./seaf-fuse.sh<span class="w"> </span>start<span class="w"> </span>/seafile-fuse
|
||||
</code></pre></div>
|
||||
<h2 id="use-seaf-fuse-in-binary-based-deployment">Use seaf-fuse in binary based deployment<a class="headerlink" href="#use-seaf-fuse-in-binary-based-deployment" title="Permanent link">¶</a></h2>
|
||||
<p>Assume we want to mount to <code>/data/seafile-fuse</code>.</p>
|
||||
<h5 id="create-the-folder-as-the-mount-point">Create the folder as the mount point<a class="headerlink" href="#create-the-folder-as-the-mount-point" title="Permanent link">¶</a></h5>
|
||||
|
|
@ -4414,34 +4438,6 @@ drwxr-xr-x 2 root root 1.6K Jan 1 1970 a09ab9fc-7bd0-49f1-929d-6abeb8491397_My
|
|||
</li>
|
||||
<li>Now try <code>./seaf-fuse.sh start <path></code>again.</li>
|
||||
</ul>
|
||||
<h2 id="use-seaf-fuse-in-docker-based-deployment">Use seaf-fuse in Docker based deployment<a class="headerlink" href="#use-seaf-fuse-in-docker-based-deployment" title="Permanent link">¶</a></h2>
|
||||
<p>Assume we want to mount to <code>/data/seafile-fuse</code> in host.</p>
|
||||
<h5 id="modify-docker-composeyml">Modify docker-compose.yml<a class="headerlink" href="#modify-docker-composeyml" title="Permanent link">¶</a></h5>
|
||||
<p>Add the following content</p>
|
||||
<div class="highlight"><pre><span></span><code> seafile:
|
||||
...
|
||||
volumes:
|
||||
...
|
||||
- type: bind
|
||||
source: /data/seafile-fuse
|
||||
target: /seafile-fuse
|
||||
bind:
|
||||
propagation: rshared
|
||||
privileged: true
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
</code></pre></div>
|
||||
<h5 id="start-seaf-fuse-with-the-script-in-docker">Start seaf-fuse with the script in docker<a class="headerlink" href="#start-seaf-fuse-with-the-script-in-docker" title="Permanent link">¶</a></h5>
|
||||
<p>Start Seafile server and enter the container</p>
|
||||
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d
|
||||
|
||||
docker<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>-it<span class="w"> </span>seafile<span class="w"> </span>bash
|
||||
</code></pre></div>
|
||||
<p>Start seaf-fuse in the container</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nb">cd</span><span class="w"> </span>/opt/seafile/seafile-server-latest/
|
||||
|
||||
./seaf-fuse.sh<span class="w"> </span>start<span class="w"> </span>/seafile-fuse
|
||||
</code></pre></div>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4444,7 +4444,6 @@ $<span class="w"> </span>docker<span class="w"> </span>compose<span class="w"> <
|
|||
<li>
|
||||
<p>Check and modify the configuration files (e.g., MySQL, Memcached, Elasticsearch) in configuration files</p>
|
||||
<ul>
|
||||
<li><a href="../../config/ccnet-conf/">ccnet.conf</a></li>
|
||||
<li><a href="../../config/seafevents-conf/">seafevents.conf</a></li>
|
||||
<li><a href="../../config/seafile-conf/">seafile.conf</a></li>
|
||||
<li><a href="../../config/seahub_settings_py/">seahub_settings.py</a></li>
|
||||
|
|
|
|||
|
|
@ -4602,7 +4602,7 @@ Keep in mind this is not bootsafe!</p>
|
|||
<p>In <code>/etc/mysql/mariadb.conf.d/50-server.cnf</code> edit the following line to:
|
||||
<div class="highlight"><pre><span></span><code>bind-address = 192.168.123.45
|
||||
</code></pre></div>
|
||||
then edit /opt/seafile-data/seafile/conf/ -> ccnet.conf seafile.conf seahub_settings.py in the Host-Line to that IP and execute the following commands:</p>
|
||||
then edit /opt/seafile-data/seafile/conf/ -> seafile.conf seahub_settings.py in the Host-Line to that IP and execute the following commands:</p>
|
||||
<div class="highlight"><pre><span></span><code>service networking reload
|
||||
ip a #to check whether the ip is present
|
||||
service mysql restart
|
||||
|
|
|
|||
|
|
@ -4875,7 +4875,6 @@ cd seafile-server-8.0.4
|
|||
seafile
|
||||
├──<span class="w"> </span>ccnet
|
||||
├──<span class="w"> </span>conf
|
||||
│<span class="w"> </span>└──<span class="w"> </span>ccnet.conf
|
||||
│<span class="w"> </span>└──<span class="w"> </span>gunicorn.conf.py
|
||||
│<span class="w"> </span>└──<span class="w"> </span>seafdav.conf
|
||||
│<span class="w"> </span>└──<span class="w"> </span>seafile.conf
|
||||
|
|
|
|||
|
|
@ -4343,7 +4343,10 @@ mysql> source seafile-db.sql;
|
|||
<div class="highlight"><pre><span></span><code>mysql> use seahub_db;
|
||||
mysql> source seahub-db.sql;
|
||||
</code></pre></div>
|
||||
<p>Modify configure files:Append following lines to <a href="../../config/ccnet-conf/">ccnet.conf</a>:</p>
|
||||
<div class="admonition danger">
|
||||
<p class="admonition-title"><code>ccnet.conf</code> has been removed since Seafile 12.0</p>
|
||||
</div>
|
||||
<p>Modify configure files:Append following lines to ccnet.conf:</p>
|
||||
<div class="highlight"><pre><span></span><code>[Database]
|
||||
ENGINE=mysql
|
||||
HOST=127.0.0.1
|
||||
|
|
|
|||
|
|
@ -4666,7 +4666,6 @@ ln -s /nfs-share/seafile-httptemp seafile-data/httptemp
|
|||
</code></pre></div>
|
||||
<p>After the upgrade, you should see the configuration files has been moved to the conf/ folder.</p>
|
||||
<div class="highlight"><pre><span></span><code>conf/
|
||||
|__ ccnet.conf
|
||||
|__ seafile.conf
|
||||
|__ seafevent.conf
|
||||
|__ seafdav.conf
|
||||
|
|
|
|||
Loading…
Reference in New Issue