<?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>Install/iRedAdmin-Pro/DBMail-MySQL/RHEL - Revision history</title>
		<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5</generator>
		<lastBuildDate>Tue, 21 May 2013 06:32:26 GMT</lastBuildDate>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* Download iRedAdmin and configure Apache web server */</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1848&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Download iRedAdmin and configure Apache web server&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 14:27, 16 September 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&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;= Download iRedAdmin and configure Apache web server =&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;= Download iRedAdmin and configure Apache web server =&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;* Get iRedAdmin:&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;* Get iRedAdmin:&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;** If you purchased iRedAdmin-Pro-MySQL, you should already have it. If not, please mail to '''support@ iredmail.org''' to get a download link.&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;** If you purchased iRedAdmin-Pro&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-DBMail&lt;/ins&gt;-MySQL, you should already have it. If not, please mail to '''support@ iredmail.org''' to get a download link.&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;** If you didn't purchase iRedAdmin-Pro-MySQL, download iRedAdmin open source edition from [http://www.iredmail.org/download.html#iredadmin download page].&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;** If you didn't purchase iRedAdmin-Pro&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-DBMail&lt;/ins&gt;-MySQL, download iRedAdmin open source edition from [http://www.iredmail.org/download.html#iredadmin download page].&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Copy iRedAdmin to /var/www/, set correct file permissions, and create symbol link.&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;* Copy iRedAdmin to /var/www/, set correct file permissions, and create symbol link.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-21 06:32:26 --&gt;
&lt;/table&gt;</description>
			<pubDate>Fri, 16 Sep 2011 14:27:57 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* Create a global domain admin */</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1829&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Create a global domain admin&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 05:03, 7 September 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 130:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 130:&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;We will create a global domain admin here, you can login to iRedAdmin with this account later.&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;We will create a global domain admin here, you can login to iRedAdmin with this account later.&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;* Admin username: postmaster@example.com&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;* Admin username: postmaster@example.com&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;* Password: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;passwd&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;* Password: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mypasswd&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;{{cmd|&amp;lt;pre&amp;gt;&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;{{cmd|&amp;lt;pre&amp;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;# ---- Encrypt password 'mypasswd' in MD5 ----&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;# ---- Encrypt password 'mypasswd' in MD5 ----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-21 06:32:26 --&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 07 Sep 2011 05:03:47 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* Create necessary MySQL database and grant privileges */</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1828&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Create necessary MySQL database and grant privileges&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 05:02, 7 September 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note: It will create some addition MySQL tables, and add extra columns for existing dbmail tables.&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: It will create some addition MySQL tables, and add extra columns for existing dbmail tables.&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 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;= Create a global domain admin =&lt;/ins&gt;&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;We will create a global domain admin here, you can login to iRedAdmin with this account later.&lt;/ins&gt;&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;* Admin username: postmaster@example.com&lt;/ins&gt;&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;* Password: passwd&lt;/ins&gt;&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;{{cmd|&amp;lt;pre&amp;gt;&lt;/ins&gt;&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;# ---- Encrypt password 'mypasswd' in MD5 ----&lt;/ins&gt;&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;# openssl passwd -1 'mypasswd'&lt;/ins&gt;&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;$1$Af1GkO6C$A8tu/zX1P6E4t4Mb0TpYk0&lt;/ins&gt;&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 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;# mysql -uroot -p&lt;/ins&gt;&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;mysql&amp;gt; USE dbmail;&lt;/ins&gt;&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;mysql&amp;gt; INSERT INTO dbmail_admins (username, password) VALUES ('postmaster@example.com', '$1$fDrpJy/h$6XK0WyocVAbTKNeFQgrFb/');&lt;/ins&gt;&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;mysql&amp;gt; INSERT INTO dbmail_domain_admins (username, domain) VALUES ('postmaster@example.com', 'ALL');&lt;/ins&gt;&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;&amp;lt;/pre&amp;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;/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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Configure iRedAdmin =&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;= Configure iRedAdmin =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-21 06:32:26 --&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 07 Sep 2011 05:02:52 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* Install necessary packages */</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1826&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Install necessary packages&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 13:56, 4 September 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Install necessary packages =&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;= Install necessary packages =&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 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;Note: You can skip this step if you have iRedAdmin open source edition during iRedMail installation.&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;/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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Make sure you have iRedMail yum repository configured: /etc/yum.repos.d/iRedMail.repo.&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;* Make sure you have iRedMail yum repository configured: /etc/yum.repos.d/iRedMail.repo.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-21 06:32:26 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sun, 04 Sep 2011 13:56:22 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;/* System requirements */</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1825&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;System requirements&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 13:49, 4 September 2011&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&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;= System requirements =&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;= System requirements =&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;* Install the latest iRedMail and DBMail by following this tutorial: [[Integration/DBMail.iRedMail.with.MySQL.backend |Integrate DBMail in iRedMail (MySQL backend)]]&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;* Install the latest iRedMail and DBMail by following this tutorial: [[Integration/DBMail.iRedMail.with.MySQL.backend |Integrate DBMail in iRedMail (MySQL backend)]]&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;* DBMail-3.0.0-rc3.&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;ins class=&quot;diffchange diffchange-inline&quot;&gt;* DBMail:&lt;/ins&gt;&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 class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/ins&gt;* DBMail-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3.x serial: &lt;/ins&gt;3.0.0-rc3 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or newer versions.&lt;/ins&gt;&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 class=&quot;diffchange diffchange-inline&quot;&gt;** DBMail-2.x serial: 2.2.17 or newer versions&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;* Packages:&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;* Packages:&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;** '''Apache''', 2.2+. Web server.&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;** '''Apache''', 2.2+. Web server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-21 06:32:26 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sun, 04 Sep 2011 13:49:53 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
		<item>
			<title>ZhangHuangbin:&amp;#32;Created page with '= Summary = * This installation guide is used to install iRedAdmin-Pro-DBMail-MySQL on: ** Red Hat Enterprise Linux 5.x, 6.x ** CentOS 5.x, 6.x ** Scientific Linux 5.x, 6.x  * iR…'</title>
			<link>http://iredmail.org/wiki/index.php?title=Install/iRedAdmin-Pro/DBMail-MySQL/RHEL&amp;diff=1824&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;= Summary = * This installation guide is used to install iRedAdmin-Pro-DBMail-MySQL on: ** Red Hat Enterprise Linux 5.x, 6.x ** CentOS 5.x, 6.x ** Scientific Linux 5.x, 6.x  * iR…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Summary =&lt;br /&gt;
* This installation guide is used to install iRedAdmin-Pro-DBMail-MySQL on:&lt;br /&gt;
** Red Hat Enterprise Linux 5.x, 6.x&lt;br /&gt;
** CentOS 5.x, 6.x&lt;br /&gt;
** Scientific Linux 5.x, 6.x&lt;br /&gt;
&lt;br /&gt;
* iRedAdmin-Pro is official web-based admin panel for iRedMail. There're three editions:&lt;br /&gt;
** '''iRedAdmin-Pro-LDAP''': works with OpenLDAP backend. Uses Dovecot as POP3/IMAP/Managesieve server.&lt;br /&gt;
** '''iRedAdmin-Pro-MySQL''': works with MySQL backend. Uses Dovecot as POP3/IMAP/Managesieve server.&lt;br /&gt;
** '''iRedAdmin-Pro-DBMail-MySQL''': works with MySQL backend. Uses DBMail as POP3/IMAP/Managesieve server, stores mail accounts and mail messages in MySQL database.&lt;br /&gt;
&lt;br /&gt;
= System requirements =&lt;br /&gt;
* Install the latest iRedMail and DBMail by following this tutorial: [[Integration/DBMail.iRedMail.with.MySQL.backend |Integrate DBMail in iRedMail (MySQL backend)]]&lt;br /&gt;
* DBMail-3.0.0-rc3.&lt;br /&gt;
* Packages:&lt;br /&gt;
** '''Apache''', 2.2+. Web server.&lt;br /&gt;
*** '''mod_wsgi''' 2.1+. Apache module used to host Python application which supports the Python WSGI interface.&lt;br /&gt;
** '''Python''' 2.4+, core programming language. Warning: Python 3.x is not supported yet.&lt;br /&gt;
** '''Web.py''', 0.32+. A python-powered web framework.&lt;br /&gt;
*** '''MySQLdb'''. A thread-compatible interface to the popular MySQL database server that provides the Python database API.&lt;br /&gt;
&lt;br /&gt;
= Add new system account: iredadmin =&lt;br /&gt;
&lt;br /&gt;
We will make iRedAdmin run with Apache web server, but as non-apache, low privilege user: '''iredadmin'''.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# useradd -s /sbin/nologin -m -d /home/iredadmin iredadmin&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Install necessary packages =&lt;br /&gt;
&lt;br /&gt;
* Make sure you have iRedMail yum repository configured: /etc/yum.repos.d/iRedMail.repo.&lt;br /&gt;
{{cfg|/etc/yum.repos.d/iRedMail.repo|&amp;lt;pre&amp;gt;&lt;br /&gt;
[iRedMail]&lt;br /&gt;
name=iRedMail&lt;br /&gt;
baseurl=http://iredmail.org/yum/rpms/5/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
priority=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Note: If you're running RHEL/CentOS/Scientific Linux 6.x, please replace '''5''' by '''6''' in '''baseurl='''.&lt;br /&gt;
&lt;br /&gt;
* Install necessary packages.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# ---- For i386 ----&lt;br /&gt;
# yum install python-webpy python-jinja2 MySQL-python mod_wsgi&lt;br /&gt;
&lt;br /&gt;
# ---- For x86_64 ----&lt;br /&gt;
# yum install MySQL-python.x86_64 python-webpy.noarch python-jinja2.x86_64 mod_wsgi.x86_64&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Download iRedAdmin and configure Apache web server =&lt;br /&gt;
* Get iRedAdmin:&lt;br /&gt;
** If you purchased iRedAdmin-Pro-MySQL, you should already have it. If not, please mail to '''support@ iredmail.org''' to get a download link.&lt;br /&gt;
** If you didn't purchase iRedAdmin-Pro-MySQL, download iRedAdmin open source edition from [http://www.iredmail.org/download.html#iredadmin download page].&lt;br /&gt;
&lt;br /&gt;
* Copy iRedAdmin to /var/www/, set correct file permissions, and create symbol link.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# tar xjf iRedAdmin-x.y.z.tar.bz2 -C /var/www/&lt;br /&gt;
# cd /var/www/&lt;br /&gt;
# chown -R iredadmin:iredadmin iRedAdmin-x.y.z&lt;br /&gt;
# chmod -R 0755 iRedAdmin-x.y.z&lt;br /&gt;
# ln -s iRedAdmin-x.y.z iredadmin&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Add apache configure file: /etc/httpd/conf.d/iredadmin.conf.&lt;br /&gt;
{{cfg|/etc/httpd/conf.d/iredadmin.conf|&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# Note: Uncomment below two lines if you want to make iRedAdmin accessable via HTTP.&lt;br /&gt;
#&lt;br /&gt;
#WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/&lt;br /&gt;
#Alias /iredadmin/static /var/www/iredadmin/static/&lt;br /&gt;
&lt;br /&gt;
WSGISocketPrefix /var/run/wsgi&lt;br /&gt;
WSGIDaemonProcess iredadmin user=iredadmin threads=15&lt;br /&gt;
WSGIProcessGroup iredadmin&lt;br /&gt;
&lt;br /&gt;
AddType text/html .py&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Directory /var/www/iredadmin/&amp;gt;&lt;br /&gt;
    Order deny,allow&lt;br /&gt;
    Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Edit /etc/httpd/conf.d/ssl.conf, make iredadmin accessable via HTTPS. Add below lines before &amp;lt;/VirtualHost&amp;gt;:&lt;br /&gt;
{{cfg|/etc/httpd/conf.d/ssl.conf|&amp;lt;pre&amp;gt;&lt;br /&gt;
WSGIScriptAlias /iredadmin /var/www/iredadmin/iredadmin.py/&lt;br /&gt;
Alias /iredadmin/static /var/www/iredadmin/static/&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Restart apache to enable mod_wsgi:&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/init.d/httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= Create necessary MySQL database and grant privileges =&lt;br /&gt;
&lt;br /&gt;
* Create MySQL database: iredadmin. Used to store sessions, admin operation logs, etc.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# mysql -uroot -p&lt;br /&gt;
mysql&amp;gt; CREATE DATABASE iredadmin DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
mysql&amp;gt; USE iredadmin;&lt;br /&gt;
mysql&amp;gt; SOURCE /var/www/iredadmin/docs/samples/iredadmin.sql;&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Grant privileges to iredadmin user and set password for it.&lt;br /&gt;
&lt;br /&gt;
'''WARNING''': Here we use 'secret_passwd' as password of iredadmin user, please replace it with your own password.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# mysql -uroot -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE ON iredadmin.* TO iredadmin@localhost IDENTIFIED BY 'secret_passwd';&lt;br /&gt;
mysql&amp;gt; FLUSH PRIVILEGES;&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Create addition columns for DBMail database: '''dbmail'''.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# mysql -uroot -p&lt;br /&gt;
mysql&amp;gt; USE dbmail;&lt;br /&gt;
mysql&amp;gt; SOURCE /var/www/iredadmin/docs/samples/dbmail_additions.mysql;&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Note: It will create some addition MySQL tables, and add extra columns for existing dbmail tables.&lt;br /&gt;
&lt;br /&gt;
= Configure iRedAdmin =&lt;br /&gt;
&lt;br /&gt;
* Copy example config file, and set correct file permission.&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /var/www/iredadmin/&lt;br /&gt;
# cp settings.ini.mysql.sample settings.ini&lt;br /&gt;
# chown iredadmin:iredadmin settings.ini&lt;br /&gt;
# chmod 0600 settings.ini&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Edit settings.ini and set several variables.&lt;br /&gt;
** '''NOTE''': Please open '''settings.ini''' for more detail, it's self-documented.&lt;br /&gt;
{{cfg|settings.ini|&amp;lt;pre&amp;gt;&lt;br /&gt;
[general]&lt;br /&gt;
# General settings ...&lt;br /&gt;
&lt;br /&gt;
[iredadmin]&lt;br /&gt;
# Database &amp;quot;iredadmin&amp;quot;. required by iRedAdmin.&lt;br /&gt;
&lt;br /&gt;
[dbmail]&lt;br /&gt;
# Database &amp;quot;dbmail&amp;quot;, stored all mail accounts and mail messages.&lt;br /&gt;
&lt;br /&gt;
[policyd]&lt;br /&gt;
# Database &amp;quot;policyd&amp;quot;.&lt;br /&gt;
# Required for policyd integration.&lt;br /&gt;
&lt;br /&gt;
[amavisd]&lt;br /&gt;
# Database &amp;quot;amavisd&amp;quot;.&lt;br /&gt;
# Required for Amavisd-New integration. includes spam quarantining/releasing.&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;
# /etc/init.d/httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Open your web browser to access iRedAdmin: https://your_server_ip_address/iredadmin/&lt;br /&gt;
** '''NOTE''': Make sure you use HTTPS:// instead of HTTP://.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
If iRedAdmin doesn't work as expected, you can set '''debug = True''' in settings.ini to turn on debug mode, restart apache web server, use your favourite web browser to access it again, create a new forum topic and paste error message in forum topic.&lt;br /&gt;
{{cfg|settings.ini|&amp;lt;pre&amp;gt;&lt;br /&gt;
[general]&lt;br /&gt;
debug = True&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;/div&gt;</description>
			<pubDate>Sun, 04 Sep 2011 13:47:47 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Install/iRedAdmin-Pro/DBMail-MySQL/RHEL</comments>		</item>
	</channel>
</rss>