Migrate/iRedAdmin-Pro/OSE-Pro
From iRedMail
(Difference between revisions)
(→Summary) |
(→Uncompress iRedAdmin-Pro to apache document root) |
||
| Line 16: | Line 16: | ||
* Restart apache web server. | * Restart apache web server. | ||
| - | = Uncompress iRedAdmin-Pro to apache document root = | + | = Uncompress iRedAdmin-Pro to apache document root and copy config file = |
| + | * For RHEL/CentOS: | ||
| + | |||
{{cmd|<pre> | {{cmd|<pre> | ||
| - | |||
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /var/www/ | # tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /var/www/ | ||
# cd /var/www/ | # cd /var/www/ | ||
| Line 24: | Line 25: | ||
# ln -s iRedAdmin-Pro-x.y.z iredadmin | # ln -s iRedAdmin-Pro-x.y.z iredadmin | ||
# cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | ||
| + | </pre>}} | ||
| - | + | ||
| + | * For Debian/Ubuntu: | ||
| + | |||
| + | {{cmd|<pre> | ||
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/share/apache2/ | # tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/share/apache2/ | ||
# cd /usr/share/apache2/ | # cd /usr/share/apache2/ | ||
| Line 31: | Line 36: | ||
# ln -s iRedAdmin-Pro-x.y.z iredadmin | # ln -s iRedAdmin-Pro-x.y.z iredadmin | ||
# cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | ||
| + | </pre>}} | ||
| - | + | ||
| + | * For openSUSE: | ||
| + | {{cmd|<pre> | ||
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /srv/www/ | # tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /srv/www/ | ||
# cd /srv/www/ | # cd /srv/www/ | ||
| Line 38: | Line 46: | ||
# ln -s iRedAdmin-Pro-x.y.z iredadmin | # ln -s iRedAdmin-Pro-x.y.z iredadmin | ||
# cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. | ||
| + | </pre>}} | ||
| - | + | ||
| + | * For FreeBSD: | ||
| + | {{cmd|<pre> | ||
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/local/www/ | # tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/local/www/ | ||
# cd /usr/local/www/ | # cd /usr/local/www/ | ||
| Line 47: | Line 58: | ||
</pre>}} | </pre>}} | ||
| - | Set correct file permission: | + | = Set correct file permission = |
| + | Set correct file permission of iRedAdmin-Pro: | ||
{{cmd|<pre> | {{cmd|<pre> | ||
# chown -R iredadmin:iredadmin iredadmin # <- openSUSE should use: chown -R iredadmin iredadmin | # chown -R iredadmin:iredadmin iredadmin # <- openSUSE should use: chown -R iredadmin iredadmin | ||
Revision as of 13:35, 31 March 2011
Contents |
This tutorial explains how to migrate iRedAdmin open source edition (v0.1.4) to iRedAdmin-Pro (full-featured edition). If it doesn't work for you, please post a new topic in our forum: http://www.iredmail.org/forum/
Note:
- This tutorial is applicable to iRedMail-0.7.0 and later versions. If you're using iRedMail-0.6.1 or earlier versions, please refer to this tutorial.
- This tutorial works for both iRedAdmin-Pro-LDAP and iRedAdmin-Pro-MySQL.
Summary
iRedMail ships iRedAdmin open source edition since iRedMail-0.5.1, it's easy to migrate from open source edition to iRedAdmin-Pro. Steps:
- Uncompress iRedAdmin-Pro to apache document root
- Copy config file from open source edition. We assume you're using iRedAdmin-0.1.4 (open source edition) in this tutorial, it's shipped in iRedMail-0.7.0.
- Set correct file permission for iRedAdmin-Pro.
- Restart apache web server.
Uncompress iRedAdmin-Pro to apache document root and copy config file
- For RHEL/CentOS:
| Terminal: |
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /var/www/ # cd /var/www/ # rm -i /var/www/iredadmin # <- this is a symbol link # ln -s iRedAdmin-Pro-x.y.z iredadmin # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. |
- For Debian/Ubuntu:
| Terminal: |
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/share/apache2/ # cd /usr/share/apache2/ # rm -i /usr/share/apache2/iredadmin # <- this is a symbol link # ln -s iRedAdmin-Pro-x.y.z iredadmin # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. |
- For openSUSE:
| Terminal: |
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /srv/www/ # cd /srv/www/ # rm -i /srv/www/iredadmin # <- this is a symbol link # ln -s iRedAdmin-Pro-x.y.z iredadmin # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. |
- For FreeBSD:
| Terminal: |
# tar xjf /path/to/iRedAdmin-Pro-x.y.z.tar.bz2 -C /usr/local/www/ # cd /usr/local/www/ # rm -i /usr/local/www/iredadmin # <- this is a symbol link # ln -s iRedAdmin-Pro-x.y.z iredadmin # cp iRedMail-0.1.4/settings.ini iredadmin/ # <- Copy config file from open source edition. |
Set correct file permission
Set correct file permission of iRedAdmin-Pro:
| Terminal: |
# chown -R iredadmin:iredadmin iredadmin # <- openSUSE should use: chown -R iredadmin iredadmin # chmod -R 0755 iredadmin # chmod -R 0640 iredadmin/settings.ini |
Restart web server to make it work
| Terminal: |
# ---- RHEL/CentOS ---- # /etc/init.d/httpd restart # ---- Debian/Ubuntu/openSUSE ---- # /etc/init.d/apache2 restart # ---- FreeBSD ---- # /usr/local/etc/rc.d/apache2 restart |
