<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zenovation's Blog &#187; Virtualmin</title>
	<atom:link href="http://zenovations.com/blog/tag/virtualmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenovations.com/blog</link>
	<description>A blog about web design, programming, hosting, and virtualmin hacks</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changing SMTP Port to 587 (ISP Blocking and SASL)</title>
		<link>http://zenovations.com/blog/2009/03/changing-smtp-port-to-587-isp-blocking-and-sasl/</link>
		<comments>http://zenovations.com/blog/2009/03/changing-smtp-port-to-587-isp-blocking-and-sasl/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 07:27:59 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[Virtualmin]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=7</guid>
		<description><![CDATA[I got tired of ISPs blocking outgoing port 25, so I moved our SMTP for clients to port 587. Unfortunately, when migrating our new server, I couldn&#8217;t remember how to do this. After some Googling, I found the answer; add this line in /etc/postfix/master.cf, substituting your port number for 25000: ?View Code BASH25000 inet n - [...]]]></description>
			<content:encoded><![CDATA[<p>I got tired of ISPs blocking outgoing port 25, so I moved our SMTP for clients to port 587. Unfortunately, when migrating our new server, I couldn&#8217;t remember how to do this.</p>
<p>After some Googling, I found the answer; add this line in <em>/etc/postfix/master.cf</em>, substituting your port number for 25000:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p7code3'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p73"><td class="code" id="p7code3"><pre class="bash" style="font-family:monospace;"><span style="color: #000000;">25000</span> inet n - n - - smtpd <span style="color: #660033;">-o</span> <span style="color: #007800;">smtpd_sasl_auth_enable</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></td></tr></table></div>

<p>I left port 25 on too, so users can try either from their ISP. If you want to turn off port 25, just comment out this line:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p7code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p74"><td class="code" id="p7code4"><pre class="bash" style="font-family:monospace;">smtp    inet    n       -       n       -       -       smtpd <span style="color: #660033;">-o</span> <span style="color: #007800;">smtpd_sasl_auth_enable</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></td></tr></table></div>

</p>
<p>Remember to open up the port in your server firewall as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2009/03/changing-smtp-port-to-587-isp-blocking-and-sasl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;undefined function mysql_connect()&#8221; While Migrating Virtualmin</title>
		<link>http://zenovations.com/blog/2009/03/undefined-function-mysql_connect-while-migrating-virtualmin/</link>
		<comments>http://zenovations.com/blog/2009/03/undefined-function-mysql_connect-while-migrating-virtualmin/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 05:55:32 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Virtualmin]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=3</guid>
		<description><![CDATA[While migrating virtualmin to our shiney new CentOS 5  box, I ran into this error on all our PHP sites: If I look at php info, it shows &#8211;with-mysql, but there is no mysql section farther down. It looked like PHP&#8217;s Apache module was having trouble finding the mysql.so file. I immediately thought to check [...]]]></description>
			<content:encoded><![CDATA[<p>While migrating virtualmin to our shiney new CentOS 5  box, I ran into this error on all our PHP sites:</p>
<p>If I look at php info, it shows &#8211;with-mysql, but there is no mysql section farther down. It looked like PHP&#8217;s Apache module was having trouble finding the mysql.so file. I immediately thought to check for the php-mysql module (there is no php5-mysql for CentOS 5, I noted) and found it installed:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p3code7'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p37"><td class="code" id="p3code7"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server apf<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># yum install php-mysql</span>
...
Parsing package <span style="color: #c20cb9; font-weight: bold;">install</span> arguments
Package php-mysql - 5.1.6-<span style="color: #000000;">20</span>.el5_2.1.i386 is already installed.
Nothing to <span style="color: #000000; font-weight: bold;">do</span></pre></td></tr></table></div>

<p>After a short dive into the php.ini settings, I noted that all the restored sites had this in their php.ini file:</p>
<pre>extension_dir=/usr/lib/<span style="color: #ff0000;">php</span><span style="color: #ff0000;">5</span>/modules</pre>
</p>
<p>But that dir doesn&#8217;t exist. Connecting the dots, I realized that CentOS 5 has moved all the PHP 5 data to the default. So the dir is now at <code>/usr/lib/<span style="color: #ff0000;">php</span>/modules</code>. And this solved the rest:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p3code8'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p38"><td class="code" id="p3code8"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server lib<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ln -s /usr/lib/php /usr/lib/php5</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server lib<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ls -ld /usr/lib/php*</span>
drwxr-xr-x <span style="color: #000000;">4</span> root root <span style="color: #000000;">4096</span> Jul <span style="color: #000000;">16</span>  <span style="color: #000000;">2008</span> php
lrwxrwxrwx <span style="color: #000000;">1</span> root root    <span style="color: #000000;">3</span> Mar <span style="color: #000000;">30</span> <span style="color: #000000;">21</span>:01 php5 -<span style="color: #000000; font-weight: bold;">&amp;</span>gt; php
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server lib<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># /etc/init.d/httpd restart</span>
Stopping httpd:                                            <span style="color: #7a0874; font-weight: bold;">&#91;</span>  OK  <span style="color: #7a0874; font-weight: bold;">&#93;</span>
Starting httpd:                                            <span style="color: #7a0874; font-weight: bold;">&#91;</span>  OK  <span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>

<p>Yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2009/03/undefined-function-mysql_connect-while-migrating-virtualmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking out Virtualmin Pro on Ubuntu</title>
		<link>http://zenovations.com/blog/2007/11/checking-out-virtualmin-pro-on-ubuntu/</link>
		<comments>http://zenovations.com/blog/2007/11/checking-out-virtualmin-pro-on-ubuntu/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 16:14:56 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualmin]]></category>
		<category><![CDATA[Web Server]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/2007/11/checking-out-virtualmin-pro-on-ubuntu/</guid>
		<description><![CDATA[I&#8217;m setting up a new hosting server for several clients. I purchased a download of Virtualmin Pro and checked it out as a total management solution. Although it supports Ubuntu Edgy (6.06.1), it does not support 7.1. So I did what any good programmer would do&#8230; I tried it anyways. It failed. So I fixed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m setting up a new hosting server for several clients. I purchased a download of Virtualmin Pro and checked it out as a total management solution. Although it supports Ubuntu Edgy (6.06.1), it does not support 7.1. </p>
<p>So I did what any good programmer would do&#8230; I tried it anyways. It failed. So I fixed the bug and tried it again. That one failed. So I went to the forums and got another suggestion and tried that one. It failed, burned down, fell over and sank into the swamp. So Installed 6.06.1 and the FOURTH ONE STAYED.</p>
<p>So don&#8217;t try virtualmin with 7.1, unless you&#8217;re glutton for punishment too&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2007/11/checking-out-virtualmin-pro-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

