Upgrade/iRedAdmin-Pro/LDAP/1.5.0-1.6.0

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Created page with ' __TOC__ * Release notes of iRedAdmin-Pro-LDAP-1.6.0 * Any questions please post in our forum: http://www.iredmail.org/forum/forum6.h…')
(Upgrade steps)
 
(2 intermediate revisions not shown)
Line 10: Line 10:
* Extract v1.6.0 source tarball.
* Extract v1.6.0 source tarball.
-
* Copy config file from '''v1.6.0'''.
+
* Copy config file from '''v1.5.0'''.
* Set correct file owner and permission.
* Set correct file owner and permission.
* Restart Apache.
* Restart Apache.
Line 22: Line 22:
* Copy or upload iRedAdmin-Pro-LDAP-1.6.0 to your server which has iRedAdmin-Pro-LDAP-'''1.5.0''' running. We assume you copy it to '''/root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2'''.
* Copy or upload iRedAdmin-Pro-LDAP-1.6.0 to your server which has iRedAdmin-Pro-LDAP-'''1.5.0''' running. We assume you copy it to '''/root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2'''.
-
* Exact v1.6.0 source tarball, copy config file from old version '''v1.5.0''' directly, and set correct file permission:
+
* Exact v1.6.0 source tarball, copy config file from old version '''v1.5.0''' directly, set correct file owner and permission, restart Apache web server.
{{cmd|<pre>
{{cmd|<pre>
#
#
Line 32: Line 32:
# rm -i iredadmin                              # <- This is a symbol link.
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
-
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
+
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod -R 0755 iRedAdmin-Pro-LDAP-1.6.0/
+
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod 0700 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
+
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
 +
# /etc/init.d/httpd restart
 +
 
#
#
Line 44: Line 46:
# rm -i iredadmin                              # <- This is a symbol link.
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
-
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
+
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod -R 0755 iRedAdmin-Pro-LDAP-1.6.0/
+
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod 0700 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
+
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
 +
# /etc/init.d/apache2 restart
 +
 
#
#
Line 57: Line 61:
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod -R 0755 iRedAdmin-Pro-LDAP-1.6.0/
+
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod 0700 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
+
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
 +
# /etc/init.d/apache2 restart
 +
 
#
#
Line 69: Line 75:
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod -R 0755 iRedAdmin-Pro-LDAP-1.6.0/
+
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
-
# chmod 0700 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
+
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
-
</pre>}}
+
-
 
+
-
* Restart Apache web server.
+
-
{{cmd|<pre>
+
-
#
+
-
# ---- For RHEL/CentOS ----
+
-
#
+
-
# /etc/init.d/httpd restart
+
-
 
+
-
#
+
-
# ---- For Debian/Ubuntu ----
+
-
#
+
-
# /etc/init.d/apache2 restart
+
-
 
+
-
#
+
-
# ---- For OpenSuSE ----
+
-
#
+
-
# /etc/init.d/apache2 restart
+
-
 
+
-
#
+
-
# ---- For FreeBSD ----
+
-
#
+
# /usr/local/etc/rc.d/apache22 restart
# /usr/local/etc/rc.d/apache22 restart
</pre>}}
</pre>}}
That's all, you can now access iRedAdmin-Pro-LDAP-1.6.0 with your favorite web browser.
That's all, you can now access iRedAdmin-Pro-LDAP-1.6.0 with your favorite web browser.
 +
 +
= ChangeLog =
 +
* 2011-06-10: Initial release.

Current revision as of 14:38, 10 June 2011

Contents



Summary

All you need to upgrade from v1.6.0 are:

  • Extract v1.6.0 source tarball.
  • Copy config file from v1.5.0.
  • Set correct file owner and permission.
  • Restart Apache.

That's all.

Upgrade steps

Here are steps used to upgrade iRedAdmin-Pro-LDAP from 1.5.0 to v1.6.0:

  • Download iRedAdmin-Pro-LDAP-1.6.0 source tarball. (You should already received an email with download link, if you didn't get one, please mail to "support@ iredmail.org" directly.)
  • Copy or upload iRedAdmin-Pro-LDAP-1.6.0 to your server which has iRedAdmin-Pro-LDAP-1.5.0 running. We assume you copy it to /root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2.
  • Exact v1.6.0 source tarball, copy config file from old version v1.5.0 directly, set correct file owner and permission, restart Apache web server.
Terminal:
#
# ---- For RHEL/CentOS ----
#
# tar xjf /root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp iRedAdmin-Pro-LDAP-1.5.0/settings.ini iRedAdmin-Pro-LDAP-1.6.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
# /etc/init.d/httpd restart


#
# ---- For Debian/Ubuntu ----
#
# tar xjf /root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2 -C /usr/share/apache2/
# cd /usr/share/apache2/
# cp iRedAdmin-Pro-LDAP-1.5.0/settings.ini iRedAdmin-Pro-LDAP-1.6.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
# /etc/init.d/apache2 restart


#
# ---- For OpenSuSE ----
#
# tar xjf /root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2 -C /srv/www/
# cd /srv/www/
# cp iRedAdmin-Pro-LDAP-1.5.0/settings.ini iRedAdmin-Pro-LDAP-1.6.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
# /etc/init.d/apache2 restart


#
# ---- For FreeBSD ----
#
# tar xjf /root/iRedAdmin-Pro-LDAP-1.6.0.tar.bz2 -C /usr/local/www/
# cd /usr/local/www/
# cp iRedAdmin-Pro-LDAP-1.5.0/settings.ini iRedAdmin-Pro-LDAP-1.6.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.6.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-LDAP-1.6.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.6.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.6.0/settings.ini
# /usr/local/etc/rc.d/apache22 restart

That's all, you can now access iRedAdmin-Pro-LDAP-1.6.0 with your favorite web browser.

ChangeLog

  • 2011-06-10: Initial release.
Personal tools