Migrate/iRedAdmin-Pro/OSE-Pro

From iRedMail

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
#REDIRECT [[Migrate/iRedAdmin-Pro/OSE-Pro/0.6.1]]
+
__TOC__
 +
 
 +
This tutorial explains how to migrate iRedAdmin open source edition 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 [[Migrate/iRedAdmin-Pro/OSE-Pro/0.6.1 |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. 5 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 =
 +
{{cmd|<pre>
 +
# ---- RHEL/CentOS ----
 +
# 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.
 +
 
 +
# ---- Debian/Ubuntu ----
 +
# 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.
 +
 
 +
# ---- OpenSuSE ----
 +
# 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.
 +
 
 +
# ---- FreeBSD ----
 +
# 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.
 +
</pre>}}
 +
 
 +
Set correct file permission:
 +
{{cmd|<pre>
 +
# chown -R iredadmin:iredadmin iredadmin              # <- openSUSE should use: chown -R iredadmin iredadmin
 +
# chmod -R 0755 iredadmin
 +
# chmod -R 0640 iredadmin/settings.ini
 +
</pre>}}
 +
 
 +
= Restart web server to make it work =
 +
{{cmd|<pre>
 +
# ---- RHEL/CentOS ----
 +
# /etc/init.d/httpd restart
 +
 
 +
# ---- Debian/Ubuntu/openSUSE ----
 +
# /etc/init.d/apache2 restart
 +
 
 +
# ---- FreeBSD ----
 +
# /usr/local/etc/rc.d/apache2 restart
 +
</pre>}}

Revision as of 13:31, 31 March 2011

Contents


This tutorial explains how to migrate iRedAdmin open source edition 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. 5 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

Terminal:
# ---- RHEL/CentOS ----
# 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.

# ---- Debian/Ubuntu ----
# 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.

# ---- OpenSuSE ----
# 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.

# ---- FreeBSD ----
# 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:

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
Personal tools