Upgrade/iRedAdmin-Pro/PGSQL/1.3.0-1.4.0

From iRedMail
Revision as of 05:59, 11 December 2013 by ZhangHuangbin (Talk | contribs)

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

Contents


Summary

Below are steps used to upgrade iRedAdmin-Pro-PGSQL from 1.3.0 to v1.4.0:

  • Download iRedAdmin-Pro-PGSQL-1.4.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-PGSQL-1.4.0 to your server which has iRedAdmin-Pro-PGSQL-1.3.0 running. We assume you copy it to /root/iRedAdmin-Pro-PGSQL-1.4.0.tar.bz2.
  • Exact v1.4.0 source tarball, copy config file from old version v1.3.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-PGSQL-1.4.0.tar.bz2 -C /var/www/
# cd /var/www/
# cp -p iRedAdmin-Pro-PGSQL-1.3.0/settings.ini iRedAdmin-Pro-PGSQL-1.4.0/
# cd iRedAdmin-Pro-PGSQL-1.4.0/
# bash tools/convert_ini_to_py.sh settings.ini
# rm settings.ini
# cd ..
# rm -i iredadmin                              # <- This is a symbol link.
# ln -s iRedAdmin-Pro-PGSQL-1.4.0 iredadmin            # <- Create new symbol link.
# chown -R iredadmin iRedAdmin-Pro-PGSQL-1.4.0/
# chmod -R 0555 iRedAdmin-Pro-PGSQL-1.4.0/
# chmod 0400 iRedAdmin-Pro-PGSQL-1.4.0/settings.py
# /etc/init.d/httpd restart


For Debian, Ubuntu

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

For OpenSuSE

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

For FreeBSD

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

For OpenBSD

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

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

ChangeLog

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