This commit is contained in:
Zhang Huangbin 2019-02-10 10:04:00 +08:00
parent 0939d62a41
commit 1aa18b9c0c
2 changed files with 14 additions and 20 deletions

View File

@ -132,8 +132,7 @@ On Linux:
``` ```
cd /usr/bin/ cd /usr/bin/
rm -f mlmmj-amime-receive wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive chmod 0550 mlmmj-amime-receive
``` ```
@ -142,8 +141,7 @@ On FreeBSD or OpenBSD:
``` ```
cd /usr/local/bin/ cd /usr/local/bin/
rm -f mlmmj-amime-receive wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive chmod 0550 mlmmj-amime-receive
``` ```
@ -228,8 +226,7 @@ download the latest version and override the one on your system:
``` ```
cd /var/vmail/backup/ cd /var/vmail/backup/
rm -f backup_sogo.sh wget -O backup_sogo.sh https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
chown root backup_sogo.sh chown root backup_sogo.sh
chmod 0400 backup_sogo.sh chmod 0400 backup_sogo.sh
``` ```
@ -260,7 +257,7 @@ Download the latest iRedMail LDAP schema file
``` ```
cd /tmp cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schama https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /etc/openldap/schema/ cd /etc/openldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -272,7 +269,7 @@ service slapd restart
* On Debian/Ubuntu: * On Debian/Ubuntu:
``` ```
cd /tmp cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schema https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /etc/ldap/schema/ cd /etc/ldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -285,7 +282,7 @@ service slapd restart
``` ```
cd /tmp cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schema https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /usr/local/etc/openldap/schema/ cd /usr/local/etc/openldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -432,7 +429,7 @@ Download SQL template file used to update SQL database:
``` ```
cd /tmp/ cd /tmp/
wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.9/iredmail.pgsql wget -O iredmail.pgsql https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.9/iredmail.pgsql
``` ```
* Run shell commands as root user below to connect to PostgreSQL server: * Run shell commands as root user below to connect to PostgreSQL server:

View File

@ -160,16 +160,14 @@ location ~ ^/plugins/enigma/home($|/.*) { deny all; }
<code>/usr/local/bin/mlmmj-amime-receive</code> (FreeBSD/OpenBSD):</p> <code>/usr/local/bin/mlmmj-amime-receive</code> (FreeBSD/OpenBSD):</p>
<p>On Linux:</p> <p>On Linux:</p>
<pre><code>cd /usr/bin/ <pre><code>cd /usr/bin/
rm -f mlmmj-amime-receive wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive chmod 0550 mlmmj-amime-receive
</code></pre> </code></pre>
<p>On FreeBSD or OpenBSD:</p> <p>On FreeBSD or OpenBSD:</p>
<pre><code>cd /usr/local/bin/ <pre><code>cd /usr/local/bin/
rm -f mlmmj-amime-receive wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive chmod 0550 mlmmj-amime-receive
</code></pre> </code></pre>
@ -248,8 +246,7 @@ default, if you use a different directory, please edit this file and modify
parameter <code>BACKUP_ROOTDIR=</code> to use the correct one.</p> parameter <code>BACKUP_ROOTDIR=</code> to use the correct one.</p>
</div> </div>
<pre><code>cd /var/vmail/backup/ <pre><code>cd /var/vmail/backup/
rm -f backup_sogo.sh wget -O backup_sogo.sh https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
chown root backup_sogo.sh chown root backup_sogo.sh
chmod 0400 backup_sogo.sh chmod 0400 backup_sogo.sh
</code></pre> </code></pre>
@ -276,7 +273,7 @@ one you're using.</p>
<li>On RHEL/CentOS:</li> <li>On RHEL/CentOS:</li>
</ul> </ul>
<pre><code>cd /tmp <pre><code>cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schama https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /etc/openldap/schema/ cd /etc/openldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -289,7 +286,7 @@ service slapd restart
<li>On Debian/Ubuntu:</li> <li>On Debian/Ubuntu:</li>
</ul> </ul>
<pre><code>cd /tmp <pre><code>cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schema https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /etc/ldap/schema/ cd /etc/ldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -302,7 +299,7 @@ service slapd restart
<li>On FreeBSD:</li> <li>On FreeBSD:</li>
</ul> </ul>
<pre><code>cd /tmp <pre><code>cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema wget -O iredmail.schema https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/iredmail/iredmail.schema
cd /usr/local/etc/openldap/schema/ cd /usr/local/etc/openldap/schema/
cp iredmail.schema iredmail.schema.bak cp iredmail.schema iredmail.schema.bak
@ -429,7 +426,7 @@ one you're using.</p>
</div> </div>
<p>Download SQL template file used to update SQL database:</p> <p>Download SQL template file used to update SQL database:</p>
<pre><code>cd /tmp/ <pre><code>cd /tmp/
wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.9/iredmail.pgsql wget -O iredmail.pgsql https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.9/iredmail.pgsql
</code></pre> </code></pre>
<ul> <ul>