Upgrade/iRedAdmin-Pro/LDAP/1.8-1.9.0

From iRedMail
Revision as of 19:40, 15 July 2013 by ZhangHuangbin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents



Summary

All you need to upgrade to v1.9.0 are:

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

That's all.

Upgrade steps

Here are steps used to upgrade iRedAdmin-Pro-LDAP from 1.8.1 to v1.9.0:

  • Download iRedAdmin-Pro-LDAP-1.9.0 source tarball. All customers can get download link with below steps if you have iRedAdmin-Pro-LDAP-1.7.0 or later version installed:
    • Login to iRedAdmin-Pro as global admin
    • Click "License" on the top-right corner, it will show you basic license info and a "Download" button if new version is available for upgrading.
  • Copy or upload iRedAdmin-Pro-LDAP-1.9.0 to your server which has iRedAdmin-Pro-LDAP-1.8.1 running. We assume you copy it to /root/iRedAdmin-Pro-LDAP-1.9.0.tar.bz2.
  • Extract v1.9.0 source tarball, copy config file from old version v1.8.1 directly, set correct file owner and permission, restart Apache web server.

For Red Hat Enterprise Linux, CentOS, Scientific Linux

Terminal:
# tar xjf /root/iRedAdmin-Pro-LDAP-1.9.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp iRedAdmin-Pro-LDAP-1.8.1/settings.ini iRedAdmin-Pro-LDAP-1.9.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.9.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.9.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.9.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.9.0/settings.ini
# /etc/init.d/httpd restart


For Debian, Ubuntu

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


For openSUSE

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


For FreeBSD

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

For OpenBSD

Terminal:
# tar xjf /root/iRedAdmin-Pro-LDAP-1.9.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp iRedAdmin-Pro-LDAP-1.8.1/settings.ini iRedAdmin-Pro-LDAP-1.9.0/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-1.9.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-1.9.0/
# chmod -R 0555 iRedAdmin-Pro-LDAP-1.9.0/
# chmod 0400 iRedAdmin-Pro-LDAP-1.9.0/settings.ini
# /etc/rc.d/httpd restart

That's all, you can now access iRedAdmin-Pro-LDAP-1.9.0 with your favorite web browser: https://your_server/iredadmin/

ChangeLog

  • 2013-03-13: Initial release.
Personal tools