Upgrade/iRedAdmin-Pro/MySQL/1.7.0-1.8.0

From iRedMail
Jump to: navigation, search

Contents


Summary

Below are steps used to upgrade iRedAdmin-Pro-MySQL from 1.7.0 to v1.8.0:

  • Download iRedAdmin-Pro-MySQL-1.8.0 source tarball. All customers can get download link with below steps if you have iRedAdmin-Pro-MySQL-1.5.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-MySQL-1.8.0 to your server which has iRedAdmin-Pro-MySQL-1.7.0 running. We assume you copy it to /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2.
  • Exact v1.8.0 source tarball, copy config file (settings.ini) from old version v1.7.0 directly, then convert it to new config file format (Python source file).
  • Set correct file owner and permission, restart Apache web server.

For Red Hat Enterprise Linux, CentOS, Scientific Linux

Terminal:
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp -p iRedAdmin-Pro-MySQL-1.7.0/settings.ini iRedAdmin-Pro-MySQL-1.8.0/
# cd iRedAdmin-Pro-MySQL-1.8.0
# bash tools/convert_ini_to_py.sh settings.ini
# rm -f settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-MySQL-1.8.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.8.0/
# chmod -R 0555 iRedAdmin-Pro-MySQL-1.8.0/
# chmod 0400 iRedAdmin-Pro-MySQL-1.8.0/settings.py
# /etc/init.d/httpd restart


For Debian, Ubuntu

Terminal:
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2 -C /usr/share/apache2/
# cd /usr/share/apache2/
# cp -p iRedAdmin-Pro-MySQL-1.7.0/settings.ini iRedAdmin-Pro-MySQL-1.8.0/
# cd iRedAdmin-Pro-MySQL-1.8.0
# bash tools/convert_ini_to_py.sh settings.ini
# rm -f settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-MySQL-1.8.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.8.0/
# chmod -R 0555 iRedAdmin-Pro-MySQL-1.8.0/
# chmod 0400 iRedAdmin-Pro-MySQL-1.8.0/settings.py
# /etc/init.d/apache2 restart

For OpenSuSE

Terminal:
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2 -C /srv/www/
# cd /srv/www/
# cp -p iRedAdmin-Pro-MySQL-1.7.0/settings.ini iRedAdmin-Pro-MySQL-1.8.0/
# cd iRedAdmin-Pro-MySQL-1.8.0
# bash tools/convert_ini_to_py.sh settings.ini
# rm -f settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-MySQL-1.8.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.8.0/
# chmod -R 0555 iRedAdmin-Pro-MySQL-1.8.0/
# chmod 0400 iRedAdmin-Pro-MySQL-1.8.0/settings.py
# /etc/init.d/apache2 restart

For FreeBSD

Terminal:
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2 -C /usr/local/www/
# cd /usr/local/www/
# cp -p iRedAdmin-Pro-MySQL-1.7.0/settings.ini iRedAdmin-Pro-MySQL-1.8.0/
# cd iRedAdmin-Pro-MySQL-1.8.0
# bash tools/convert_ini_to_py.sh settings.ini
# rm -f settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-MySQL-1.8.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.8.0/
# chmod -R 0555 iRedAdmin-Pro-MySQL-1.8.0/
# chmod 0400 iRedAdmin-Pro-MySQL-1.8.0/settings.py
# /usr/local/etc/rc.d/apache22 restart

For OpenBSD

Terminal:
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp -p iRedAdmin-Pro-MySQL-1.7.0/settings.ini iRedAdmin-Pro-MySQL-1.8.0/
# cd iRedAdmin-Pro-MySQL-1.8.0
# bash tools/convert_ini_to_py.sh settings.ini
# rm -f settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-MySQL-1.8.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.8.0/
# chmod -R 0555 iRedAdmin-Pro-MySQL-1.8.0/
# chmod 0400 iRedAdmin-Pro-MySQL-1.8.0/settings.py
# /etc/rc.d/httpd restart

That's all, you can now access iRedAdmin-Pro-MySQL-1.8.0 with your favorite web browser: httpS://your_server/iredadmin/

ChangeLog

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