<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://iredmail.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0 - Revision history</title>
		<link>http://iredmail.org/wiki/index.php?title=Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5</generator>
		<lastBuildDate>Sat, 25 May 2013 22:57:41 GMT</lastBuildDate>
		<item>
			<title>ZhangHuangbin at 11:33, 5 May 2011</title>
			<link>http://iredmail.org/wiki/index.php?title=Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0&amp;diff=1444&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:33, 5 May 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Any questions please post in our forum: http://www.iredmail.org/forum/forum6.html&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Any questions please post in our forum: http://www.iredmail.org/forum/forum6.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;----&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''TO BE CONTINUED, DO NOT APPLY THEM.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;----&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Summary =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Summary =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tutorial is used to upgrade iRedAdmin-Pro-MySQL from 1.0 to 1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tutorial is used to upgrade iRedAdmin-Pro-MySQL from 1.0 to 1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-25 22:57:41 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 05 May 2011 11:33:05 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* Summary */</title>
			<link>http://iredmail.org/wiki/index.php?title=Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0&amp;diff=1401&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Summary&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:21, 19 April 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Summary =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Summary =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tutorial is used to upgrade iRedAdmin-Pro-MySQL from 1.0 to 1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tutorial is used to upgrade iRedAdmin-Pro-MySQL from 1.0 to 1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Note''': [[Upgrade/iRedMail/0.6.1-0.7.0#Update_SQL_structure_of_vmail_database |Upgrade your iRedMail to the latest v0.7.0]] is highly recommended, but it's not required to use iRedAdmin-Pro-MySQL-1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Note''': [[Upgrade/iRedMail/0.6.1-0.7.0#Update_SQL_structure_of_vmail_database |Upgrade your iRedMail to the latest v0.7.0]] is highly recommended, but it's not required to use iRedAdmin-Pro-MySQL-1.1.0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-25 22:57:41 --&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 19 Apr 2011 08:21:06 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;Created page with '__TOC__  * Release notes of iRedAdmin-Pro-MySQL-1.1.0 * Any questions please post in our forum: http://www.iredmail.org/forum/forum6.…'</title>
			<link>http://iredmail.org/wiki/index.php?title=Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0&amp;diff=1386&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;__TOC__  * &lt;a href=&quot;/wiki/index.php?title=Release.Notes/iRedAdmin-Pro/MySQL/1.1.0&quot; title=&quot;Release.Notes/iRedAdmin-Pro/MySQL/1.1.0&quot;&gt;Release notes of iRedAdmin-Pro-MySQL-1.1.0&lt;/a&gt; * Any questions please post in our forum: http://www.iredmail.org/forum/forum6.…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
* [[Release.Notes/iRedAdmin-Pro/MySQL/1.1.0 |Release notes of iRedAdmin-Pro-MySQL-1.1.0]]&lt;br /&gt;
* Any questions please post in our forum: http://www.iredmail.org/forum/forum6.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''TO BE CONTINUED, DO NOT APPLY THEM.&lt;br /&gt;
----&lt;br /&gt;
= Summary =&lt;br /&gt;
This tutorial is used to upgrade iRedAdmin-Pro-MySQL from 1.0 to 1.1.0.&lt;br /&gt;
'''Note''': [[Upgrade/iRedMail/0.6.1-0.7.0#Update_SQL_structure_of_vmail_database |Upgrade your iRedMail to the latest v0.7.0]] is highly recommended, but it's not required to use iRedAdmin-Pro-MySQL-1.1.0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All you need to upgrade from v1.0 to 1.1.0 are:&lt;br /&gt;
&lt;br /&gt;
* Update SQL structure of database '''&amp;quot;vmail&amp;quot;'''.&lt;br /&gt;
* Execute one SQL command to sync alias accounts.&lt;br /&gt;
* Extract v1.1.0 source tarball.&lt;br /&gt;
* Copy config file from '''v1.0'''.&lt;br /&gt;
* Set correct file permission.&lt;br /&gt;
* Restart Apache.&lt;br /&gt;
&lt;br /&gt;
= Update SQL structure of database '''&amp;quot;vmail&amp;quot;''' =&lt;br /&gt;
&lt;br /&gt;
We add some more columns in database '''&amp;quot;vmail&amp;quot;''', and create necessary INDEXes for them.&lt;br /&gt;
&lt;br /&gt;
Please follow this section to update SQL structure:&lt;br /&gt;
&lt;br /&gt;
* [[Upgrade/iRedMail/0.6.1-0.7.0#Update_SQL_structure_of_vmail_database |Update SQL structure of vmail database]]&lt;br /&gt;
&lt;br /&gt;
= Sync accounts =&lt;br /&gt;
There's a bug in iRedAdmin-Pro-MySQL-1.0, it won't create required records in table &amp;quot;vmail.alias&amp;quot;, this causes catch-all account doesn't work as expected. Below SQL command can fix it.&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysql -uroot -p&lt;br /&gt;
mysql&amp;gt; USE vmail;&lt;br /&gt;
mysql&amp;gt; INSERT INTO alias (address, goto, domain, active) SELECT username,username,domain,active FROM mailbox ON DUPLICATE KEY UPDATE modified=NOW();&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Upgrade iRedAdmin-Pro-MySQL =&lt;br /&gt;
Here are steps used to upgrade iRedAdmin-Pro-MySQL from 1.0 to v1.1.0:&lt;br /&gt;
&lt;br /&gt;
* Download iRedAdmin-Pro-MySQL-1.1.0 source tarball. (You should already received an email with download link, if you didn't get one, please mail to &amp;quot;support@ iredmail.org&amp;quot; directly.)&lt;br /&gt;
* Copy or upload iRedAdmin-Pro-MySQL-1.1.0 to your server which has iRedAdmin-Pro-MySQL-'''1.0''' running. We assume you copy it to '''/root/iRedAdmin-Pro-MySQL-1.1.0.tar.bz2'''.&lt;br /&gt;
&lt;br /&gt;
* Exact v1.1.0 source tarball, copy config file from old version '''v1.0''' directly, and set correct file permission:&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# ---- For RHEL/CentOS ----&lt;br /&gt;
#&lt;br /&gt;
# tar xjf /root/iRedAdmin-Pro-MySQL-1.1.0.tar.bz2 -C /var/www/&lt;br /&gt;
# cd /var/www/&lt;br /&gt;
# cp iRedAdmin-Pro-MySQL-1.0/settings.ini iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# rm -i iredadmin                              # &amp;lt;- This is a symbol link.&lt;br /&gt;
# ln -s iRedAdmin-Pro-MySQL-1.1.0 iredadmin            # &amp;lt;- Create new symbol link.&lt;br /&gt;
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod -R 0755 iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod 0700 iRedAdmin-Pro-MySQL-1.1.0/settings.ini&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For Debian/Ubuntu ----&lt;br /&gt;
#&lt;br /&gt;
# tar xjf /root/iRedAdmin-Pro-MySQL-1.1.0.tar.bz2 -C /usr/share/apache2/&lt;br /&gt;
# cd /usr/share/apache2/&lt;br /&gt;
# cp iRedAdmin-Pro-MySQL-1.0/settings.ini iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# rm -i iredadmin                              # &amp;lt;- This is a symbol link.&lt;br /&gt;
# ln -s iRedAdmin-Pro-MySQL-1.1.0 iredadmin            # &amp;lt;- Create new symbol link.&lt;br /&gt;
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod -R 0755 iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod 0700 iRedAdmin-Pro-MySQL-1.1.0/settings.ini&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For OpenSuSE ----&lt;br /&gt;
#&lt;br /&gt;
# tar xjf /root/iRedAdmin-Pro-MySQL-1.1.0.tar.bz2 -C /srv/www/&lt;br /&gt;
# cd /srv/www/&lt;br /&gt;
# cp iRedAdmin-Pro-MySQL-1.0/settings.ini iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# rm -i iredadmin                              # &amp;lt;- This is a symbol link.&lt;br /&gt;
# ln -s iRedAdmin-Pro-MySQL-1.1.0 iredadmin            # &amp;lt;- Create new symbol link.&lt;br /&gt;
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod -R 0755 iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod 0700 iRedAdmin-Pro-MySQL-1.1.0/settings.ini&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For FreeBSD ----&lt;br /&gt;
#&lt;br /&gt;
# tar xjf /root/iRedAdmin-Pro-MySQL-1.1.0.tar.bz2 -C /usr/local/www/&lt;br /&gt;
# cd /usr/local/www/&lt;br /&gt;
# cp iRedAdmin-Pro-MySQL-1.0/settings.ini iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# rm -i iredadmin                              # &amp;lt;- This is a symbol link.&lt;br /&gt;
# ln -s iRedAdmin-Pro-MySQL-1.1.0 iredadmin            # &amp;lt;- Create new symbol link.&lt;br /&gt;
# chown -R iredadmin iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod -R 0755 iRedAdmin-Pro-MySQL-1.1.0/&lt;br /&gt;
# chmod 0700 iRedAdmin-Pro-MySQL-1.1.0/settings.ini&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Restart Apache web server.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# ---- For RHEL/CentOS ----&lt;br /&gt;
#&lt;br /&gt;
# /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For Debian/Ubuntu ----&lt;br /&gt;
#&lt;br /&gt;
# /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For OpenSuSE ----&lt;br /&gt;
#&lt;br /&gt;
# /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# ---- For FreeBSD ----&lt;br /&gt;
#&lt;br /&gt;
# /usr/local/etc/rc.d/apache22 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
That's all, you can now access iRedAdmin-Pro-MySQL-1.1.0 with your favorite web browser.&lt;/div&gt;</description>
			<pubDate>Sun, 10 Apr 2011 12:44:41 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Upgrade/iRedAdmin-Pro/MySQL/1.0-1.1.0</comments>		</item>
	</channel>
</rss>