<?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>RegencyHost Blog &#187; how to install mysql</title>
	<atom:link href="http://www.regencyhost.com/blog/tag/how-to-install-mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.regencyhost.com/blog</link>
	<description>A Leading cPanel Web Hosting Company</description>
	<lastBuildDate>Fri, 08 Oct 2010 06:36:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to install apache2, php5 and Mysql With Yum On Vps</title>
		<link>http://www.regencyhost.com/blog/virtual-private-servers/how-to-install-apache2-php5-and-mysql-with-yum-on-vps.html</link>
		<comments>http://www.regencyhost.com/blog/virtual-private-servers/how-to-install-apache2-php5-and-mysql-with-yum-on-vps.html#comments</comments>
		<pubDate>Fri, 26 Jun 2009 11:36:54 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Virtual Private Servers]]></category>
		<category><![CDATA[how to install apache]]></category>
		<category><![CDATA[how to install mysql]]></category>
		<category><![CDATA[how to install mysql databases]]></category>
		<category><![CDATA[how to install php]]></category>
		<category><![CDATA[installing mysql on vps]]></category>
		<category><![CDATA[installing php on vps]]></category>
		<category><![CDATA[yum commands]]></category>

		<guid isPermaLink="false">http://www.regencyhost.com/blog/?p=18</guid>
		<description><![CDATA[We shall teach how to install latest version of apache, php5 and mysql databases on a centos vps with a single command. Please remember that this guide assumes you know basic linux and sehll commands, anyhow all steps are documented. We have given simple steps below to install apache, php and mysql on a vps [...]]]></description>
			<content:encoded><![CDATA[<p>We shall teach how to install latest version of apache, php5 and mysql databases on a centos vps with a single command. Please remember that this guide assumes you know basic linux and sehll commands, anyhow all steps are documented. We have given simple steps below to install apache, php and mysql on a vps below,</p>
<p><strong>1. </strong>Our 1st steup, is quite simple. Once you have connected to your server via SSH, use the following command to install everything you need.</p>
<p style="text-align: left;">
<blockquote><p>yum -y install httpd php mysql mysql-server php-mysql</p></blockquote>
<p style="text-align: left;">This will take  2 &#8211; 5 minuts to download ( Total Size is 16Mb )<br />
Once its done Yum will say “Complete!” and you will be returned to command area.<br />
Second, you need to set a MySQL root password. Without this, your MySQL server can be attacked, and it WILL happen! Use the following command (With QUOTES) to set your root password,</p>
<blockquote><p>mysqladmin -u root password &#8216;ENTER-PASSWORD-HERE&#8217;</p></blockquote>
<p style="text-align: left;">Next, we shall do further security checks on MYSQL by removing any other users that managed to get created and removing the MYSQL test database.</p>
<blockquote><p>mysql -u root -p<br />
mysql&gt; DRO P DATABASE test;<br />
mysql&gt; DELETE FROM mysql.user WHERE user = &#8221;;<br />
mysql&gt; FLUSH PRIVILEGES;</p></blockquote>
<p style="text-align: left;">In the last, we shall set apache and mysql to run on startup. This is useful tool if your server has a power outage or needs to be rebooted as it will automatically restart Apache &amp; MySQL for you.</p>
<blockquote><p>/sbin/chkconfig httpd on<br />
/sbin/chkconfig &#8211;add mysqld<br />
/sbin/chkconfig mysqld on<br />
/sbin/service httpd start<br />
/sbin/service mysqld start</p></blockquote>
<p style="text-align: left;">To check if verything is working fine and ready to use, browse to the web server directory (on CentOS its /var/www/html) and create a new file using  text editor called phpinfo.php (enter “nano phpinfo.php” to open the text editor). Enter the following code into that file to check PHP is working</p>
<p style="text-align: left;">Now all things was done properly and your vps is ready to use and cleared from the security risks</p>
<p style="text-align: left;">
<p><strong><em>Best Regards<br />
RegencyHost, Inc Network Support Team</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.regencyhost.com/blog/virtual-private-servers/how-to-install-apache2-php5-and-mysql-with-yum-on-vps.html/feed</wfw:commentRss>
		<slash:comments>84</slash:comments>
		</item>
	</channel>
</rss>

