Upgrade/iRedAdmin-Pro/MySQL/1.8.0-1.8.1

From iRedMail
(Difference between revisions)
Jump to: navigation, search
(For OpenBSD)
 
Line 13: Line 13:
 
* Copy or upload iRedAdmin-Pro-MySQL-1.8.1 to your server which has iRedAdmin-Pro-MySQL-'''1.8.0''' running. We assume you copy it to '''/root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2'''.
 
* Copy or upload iRedAdmin-Pro-MySQL-1.8.1 to your server which has iRedAdmin-Pro-MySQL-'''1.8.0''' running. We assume you copy it to '''/root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2'''.
  
* Exact v1.8.1 source tarball, copy config file (settings.ini) from old version '''v1.8.0''' directly.
+
* Exact v1.8.1 source tarball, copy config file (settings.py) from old version '''v1.8.0''' directly.
  
 
* Set correct file owner and permission, restart Apache web server.
 
* Set correct file owner and permission, restart Apache web server.
Line 21: Line 21:
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /var/www/
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /var/www/
 
# cd /var/www/
 
# cd /var/www/
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.ini iRedAdmin-Pro-MySQL-1.8.1/
+
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.py iRedAdmin-Pro-MySQL-1.8.1/
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
Line 35: Line 35:
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /usr/share/apache2/
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /usr/share/apache2/
 
# cd /usr/share/apache2/
 
# cd /usr/share/apache2/
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.ini iRedAdmin-Pro-MySQL-1.8.1/
+
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.py iRedAdmin-Pro-MySQL-1.8.1/
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
Line 48: Line 48:
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /srv/www/
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /srv/www/
 
# cd /srv/www/
 
# cd /srv/www/
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.ini iRedAdmin-Pro-MySQL-1.8.1/
+
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.py iRedAdmin-Pro-MySQL-1.8.1/
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
Line 61: Line 61:
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /usr/local/www/
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /usr/local/www/
 
# cd /usr/local/www/
 
# cd /usr/local/www/
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.ini iRedAdmin-Pro-MySQL-1.8.1/
+
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.py iRedAdmin-Pro-MySQL-1.8.1/
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
Line 74: Line 74:
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /var/www/
 
# tar xjf /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2 -C /var/www/
 
# cd /var/www/
 
# cd /var/www/
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.ini iRedAdmin-Pro-MySQL-1.8.1/
+
# cp -p iRedAdmin-Pro-MySQL-1.8.0/settings.py iRedAdmin-Pro-MySQL-1.8.1/
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# rm -i iredadmin                              # <- This is a symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.
 
# ln -s iRedAdmin-Pro-MySQL-1.8.1 iredadmin            # <- Create new symbol link.

Latest revision as of 06:45, 30 December 2013

Contents


[edit] Summary

Below are steps used to upgrade iRedAdmin-Pro-MySQL from 1.8.0 to v1.8.1:

  • Download iRedAdmin-Pro-MySQL-1.8.1 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.1 to your server which has iRedAdmin-Pro-MySQL-1.8.0 running. We assume you copy it to /root/iRedAdmin-Pro-MySQL-1.8.1.tar.bz2.
  • Exact v1.8.1 source tarball, copy config file (settings.py) from old version v1.8.0 directly.
  • Set correct file owner and permission, restart Apache web server.

[edit] For Red Hat Enterprise Linux, CentOS, Scientific Linux

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


[edit] For Debian, Ubuntu

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

[edit] For OpenSuSE

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

[edit] For FreeBSD

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

[edit] For OpenBSD

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

[edit] Add all mail domains in Cluebringer database as internal domains

We have to add all existing mail domains in Cluebringer database as internal domains, so that Cluebringer can know whether it should apply certain policies or not.

Important note: iRedAdmin-Pro will do this for you while adding or removing mail domains, so please just execute this script once.

Terminal:
# -- For Red Hat, CentOS
# python /var/www/iredadmin/tools/sync_cluebringer_internal_domains.py

# -- For Debian, Ubuntu
# python /usr/share/apache2/iredadmin/tools/sync_cluebringer_internal_domains.py

# -- For openSUSE
# python /srv/www/iredadmin/tools/sync_cluebringer_internal_domains.py

# -- For FreeBSD
# python /usr/local/www/iredadmin/tools/sync_cluebringer_internal_domains.py

# -- For OpenBSD
# python /var/www/iredadmin/tools/sync_cluebringer_internal_domains.py

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

[edit] ChangeLog

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