Upgrade/iRedAdmin-Pro/LDAP/1.1.x-1.2.0
From iRedMail
(Difference between revisions)
(→Alter MySQL Database) |
(→Enable new version) |
||
| Line 28: | Line 28: | ||
= Enable new version = | = Enable new version = | ||
| - | Uncompress iRedAdmin-Pro-1.2.0.tar.bz2 | + | To active new version of iRedAdmin-Pro, we need to: |
| + | * Uncompress iRedAdmin-Pro-1.2.0.tar.bz2 | ||
| + | * Copy it to correct directory | ||
| + | * Replace old symbol link | ||
| + | * Copy old config file | ||
| + | * Restart Apache web server | ||
| + | |||
| + | Here we go: | ||
* For RHEL/CentOS users: | * For RHEL/CentOS users: | ||
| Line 38: | Line 45: | ||
# ln -s iRedAdmin-Pro-1.2.0 iredadmin | # ln -s iRedAdmin-Pro-1.2.0 iredadmin | ||
# cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ | # cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ | ||
| + | # /etc/init.d/httpd restart | ||
</pre>}} | </pre>}} | ||
| Line 48: | Line 56: | ||
# ln -s iRedAdmin-Pro-1.2.0 iredadmin | # ln -s iRedAdmin-Pro-1.2.0 iredadmin | ||
# cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ | # cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ | ||
| + | # /etc/init.d/apache2 restart | ||
</pre>}} | </pre>}} | ||
Revision as of 05:23, 24 May 2010
Contents |
iRedAdmin-Pro-1.2.0 is NOT RELEASED YET, DON'T APPLY THIS.
TODO
- Add 'enabledService: internal'
Update iRedMail to 0.6.0
iRedAdmin-Pro-1.2.0 needs below features which implemented in iRedMail-0.6.0:
iRedAdmin-Pro-1.2.0 needs below features which implemented in iRedAPD-1.3.0:
So we recommend you to update your exist iRedMail installation to 0.6.0:
Alter MySQL Database
- Update SQL database to add new table: iredadmin.updatelog. This table is used to store iRedAdmin-Pro update log, so that you don't want to check new version every time you log in as domain global admin.
| Terminal: |
$ mysql -uroot -p iredadmin mysql> SOURCE /path/to/iredadmin-pro-1.2.0/docs/upgrade_v1.1.x_v1.2.0/upgrade_110_120.sql; mysql> quit; |
Enable new version
To active new version of iRedAdmin-Pro, we need to:
- Uncompress iRedAdmin-Pro-1.2.0.tar.bz2
- Copy it to correct directory
- Replace old symbol link
- Copy old config file
- Restart Apache web server
Here we go:
- For RHEL/CentOS users:
| Terminal: |
# tar xjf iRedAdmin-Pro-1.2.0.tar.bz2 # cp -rf iRedAdmin-Pro-1.2.0 /var/www/ # cd /var/www/ # rm iredadmin # This is old symbol link. # ln -s iRedAdmin-Pro-1.2.0 iredadmin # cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ # /etc/init.d/httpd restart |
- For Debian/Ubuntu users:
| Terminal: |
# tar xjf iRedAdmin-Pro-1.2.0.tar.bz2 # cp -rf iRedAdmin-Pro-1.2.0 /usr/share/apache2/ # cd /usr/share/apache2/ # rm iredadmin # This is old symbol link. # ln -s iRedAdmin-Pro-1.2.0 iredadmin # cp iRedAdmin-Pro-1.1.0/settings.ini iredadmin/ # /etc/init.d/apache2 restart |
Update other tools
If you are using dump_disclaimer.py file to dump disclaimer content from LDAP automaticly, you can simpliy copy old version to iRedAdmin-Pro-1.2.0/tools/ directory.
- For RHEL/CentOS users:
| Terminal: |
# cp /var/www/iRedAdmin-Pro-1.1.0/tools/dump_disclaimer.py /var/www/iredadmin/tools/ |
- For Debian/Ubuntu users:
| Terminal: |
# cp /usr/share/apache2/iRedAdmin-Pro-1.1.0/tools/dump_disclaimer.py /usr/share/apache2/iredadmin/tools/ |
