Upgrade/iRedAdmin-Pro/LDAP/2.1-2.1.1

From iRedMail
Revision as of 20:56, 29 December 2013 by ZhangHuangbin (Talk | contribs)

Jump to: navigation, search

Contents


Any questions please post in our forum: http://www.iredmail.org/forum/forum6.html

Summary

Below are steps used to upgrade iRedAdmin-Pro-LDAP from 2.1 to v2.1.1:

  • Download iRedAdmin-Pro-LDAP-2.1.1 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-2.1.1 to your server which has iRedAdmin-Pro-LDAP-2.1 running. We assume you copy it to /root/iRedAdmin-Pro-LDAP-2.1.1.tar.bz2.
  • Extract v2.1.1 source tarball, copy config file (settings.py) from old version v2.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-2.1.1.tar.bz2 -C /var/www/
# cd /var/www/
# cp iRedAdmin-Pro-LDAP-2.1/settings.py iRedAdmin-Pro-LDAP-2.1.1/
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-LDAP-2.1.1 iredadmin            # <- Create new symbol link.
# chown -R iredadmin:iredadmin iRedAdmin-Pro-LDAP-2.1.1/
# chmod -R 0555 iRedAdmin-Pro-LDAP-2.1.1/
# chmod 0400 iRedAdmin-Pro-LDAP-2.1.1/settings.py
# /etc/init.d/httpd restart


For Debian, Ubuntu

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


For openSUSE

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


For FreeBSD

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

For OpenBSD

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

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

ChangeLog

  • 2013-12-30: Initial release.
Personal tools