From 1aa18b9c0c7577e61ca27bcd9f9d7d34aa38ca88 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Sun, 10 Feb 2019 10:04:00 +0800 Subject: [PATCH] Typo --- en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md | 17 +++++++---------- html/upgrade.iredmail.0.9.8-0.9.9.html | 17 +++++++---------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md b/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md index 02fa054a..8c775fde 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.8-0.9.9.md @@ -132,8 +132,7 @@ On Linux: ``` cd /usr/bin/ -rm -f mlmmj-amime-receive -wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive +wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive chown mlmmj:mlmmj mlmmj-amime-receive chmod 0550 mlmmj-amime-receive ``` @@ -142,8 +141,7 @@ On FreeBSD or OpenBSD: ``` cd /usr/local/bin/ -rm -f mlmmj-amime-receive -wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive +wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive chown mlmmj:mlmmj 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/ -rm -f backup_sogo.sh -wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh +wget -O backup_sogo.sh https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh chown root backup_sogo.sh chmod 0400 backup_sogo.sh ``` @@ -260,7 +257,7 @@ Download the latest iRedMail LDAP schema file ``` 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/ cp iredmail.schema iredmail.schema.bak @@ -272,7 +269,7 @@ service slapd restart * On Debian/Ubuntu: ``` 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/ cp iredmail.schema iredmail.schema.bak @@ -285,7 +282,7 @@ service slapd restart ``` 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/ cp iredmail.schema iredmail.schema.bak @@ -432,7 +429,7 @@ Download SQL template file used to update SQL database: ``` 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: diff --git a/html/upgrade.iredmail.0.9.8-0.9.9.html b/html/upgrade.iredmail.0.9.8-0.9.9.html index 155e5881..8487adb2 100644 --- a/html/upgrade.iredmail.0.9.8-0.9.9.html +++ b/html/upgrade.iredmail.0.9.8-0.9.9.html @@ -160,16 +160,14 @@ location ~ ^/plugins/enigma/home($|/.*) { deny all; } /usr/local/bin/mlmmj-amime-receive (FreeBSD/OpenBSD):

On Linux:

cd /usr/bin/
-rm -f mlmmj-amime-receive
-wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
+wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
 chown mlmmj:mlmmj mlmmj-amime-receive
 chmod 0550 mlmmj-amime-receive
 

On FreeBSD or OpenBSD:

cd /usr/local/bin/
-rm -f mlmmj-amime-receive
-wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
+wget -O mlmmj-amime-receive https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
 chown mlmmj:mlmmj mlmmj-amime-receive
 chmod 0550 mlmmj-amime-receive
 
@@ -248,8 +246,7 @@ default, if you use a different directory, please edit this file and modify parameter BACKUP_ROOTDIR= to use the correct one.

cd /var/vmail/backup/
-rm -f backup_sogo.sh
-wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
+wget -O backup_sogo.sh https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/tools/backup_sogo.sh
 chown root backup_sogo.sh
 chmod 0400 backup_sogo.sh
 
@@ -276,7 +273,7 @@ one you're using.

  • On RHEL/CentOS:
  • 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/
     cp iredmail.schema iredmail.schema.bak
    @@ -289,7 +286,7 @@ service slapd restart
     
  • On Debian/Ubuntu:
  • 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/
     cp iredmail.schema iredmail.schema.bak
    @@ -302,7 +299,7 @@ service slapd restart
     
  • On FreeBSD:
  • 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/
     cp iredmail.schema iredmail.schema.bak
    @@ -429,7 +426,7 @@ one you're using.

    Download SQL template file used to update SQL database:

    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