IRedMail/FAQ/Upgrade.iRedAdmin.Open.Source.Edition

From iRedMail

(Difference between revisions)
Jump to: navigation, search
(Created page with ' ---- This tutorial describes how to upgrade iRedAdmin (open source edition) to the latest stable release. ---- * Download the latest iRedAdmin (open source edition) here: http:…')
Line 1: Line 1:
-
 
----
----
This tutorial describes how to upgrade iRedAdmin (open source edition) to the latest stable release.
This tutorial describes how to upgrade iRedAdmin (open source edition) to the latest stable release.
Line 65: Line 64:
That's all.
That's all.
 +
 +
[[Category: FAQ]]
 +
[[Category: iRedMail/FAQ]]

Revision as of 01:35, 21 September 2012


This tutorial describes how to upgrade iRedAdmin (open source edition) to the latest stable release.


  • Download the latest iRedAdmin (open source edition) here: http://iredmail.org/yum/misc/. For example: iRedAPD-0.1.9.tar.bz2.
  • Upload downloaded package to your iRedMail server which has old version running. Assume it's /root/iRedAdmin-0.1.9.tar.bz2.
  • Uncompress it to correct directory, set correct file owner and permission, restart Apache web server.
Terminal:
#
# ---- On RHEL/CentOS/Scientific Linux ----
# ---- On OpenBSD ----
#
# tar xjf /root/iRedAdmin-0.1.9.tar.bz2 -C /var/www/
# cd /var/www/
# cp iRedAdmin-0.1.8/settings.ini iRedAdmin-0.1.9/
# chown -R iredadmin:iredadmin iRedAdmin-0.1.9
# chmod -R 0555 iRedAdmin-0.1.9
# chmod 0400 iRedAdmin-0.1.9/settings.ini
# rm -i iredadmin              # <- Remove old symbol link
# ln -s iRedAdmin-0.1.9 iredadmin          # Create a new symbol link
# /etc/init.d/httpd restart         # Please use /etc/rc.d/httpd instead on OpenBSD

#
# ---- On Debian/Ubuntu ----
#
# tar xjf /root/iRedAdmin-0.1.9.tar.bz2 -C /usr/share/apache2/
# cd /usr/share/apache2/
# cp iRedAdmin-0.1.8/settings.ini iRedAdmin-0.1.9/
# chown -R iredadmin:iredadmin iRedAdmin-0.1.9
# chmod -R 0555 iRedAdmin-0.1.9
# chmod 0400 iRedAdmin-0.1.9/settings.ini
# rm -i iredadmin              # <- Remove old symbol link
# ln -s iRedAdmin-0.1.9 iredadmin          # Create a new symbol link
# /etc/init.d/apache2 restart

#
# ---- On openSUSE ----
#
# tar xjf /root/iRedAdmin-0.1.9.tar.bz2 -C /srv/www/
# cd /srv/www/
# cp iRedAdmin-0.1.8/settings.ini iRedAdmin-0.1.9/
# chown -R iredadmin:iredadmin iRedAdmin-0.1.9
# chmod -R 0555 iRedAdmin-0.1.9
# chmod 0400 iRedAdmin-0.1.9/settings.ini
# rm -i iredadmin              # <- Remove old symbol link
# ln -s iRedAdmin-0.1.9 iredadmin          # Create a new symbol link
# /etc/init.d/apache2 restart

#
# ---- On FreeBSD ----
#
# tar xjf /root/iRedAdmin-0.1.9.tar.bz2 -C /usr/local/www/
# cd /usr/local/www/
# cp iRedAdmin-0.1.8/settings.ini iRedAdmin-0.1.9/
# chown -R iredadmin:iredadmin iRedAdmin-0.1.9
# chmod -R 0555 iRedAdmin-0.1.9
# chmod 0400 iRedAdmin-0.1.9/settings.ini
# rm -i iredadmin              # <- Remove old symbol link
# ln -s iRedAdmin-0.1.9 iredadmin          # Create a new symbol link
# /usr/local/etc/rc.d/apache2 restart

Note: iRedAdmin stores some addition settings in iredadmin/libs/settings.py, if you modified some of them, please move your modifications to a new file: iredadmin/libs/settings_local.py (with file owner "iredadmin:iredadmin", permission 0555), and copy this file during each upgrading.

That's all.

Personal tools