<?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>Hello System Admin &#124; Where system admins share technical article and tips &#124; Create free Blog &#124; Updates on domains, web hosting, servers and more &#187; Linux</title>
	<atom:link href="http://hellosystemadmin.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://hellosystemadmin.com</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 04:29:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VPS at lowest price</title>
		<link>http://hellosystemadmin.com/blog/vps-at-lowest-price/</link>
		<comments>http://hellosystemadmin.com/blog/vps-at-lowest-price/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 04:29:53 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=461</guid>
		<description><![CDATA[Do not wonder.. it is true. you can buy a VPS from 7.95 USD / Month


]]></description>
			<content:encoded><![CDATA[<p>Do not wonder.. it is true. you can buy a VPS from 7.95 USD / Month</p>
<p><a href="http://www.swvps.com/affiliates/jrox.php?id=1438"><img src="http://hellosystemadmin.com/files/2010/07/vps1.png" alt="vps1" title="vps1" width="601" height="220" class="alignnone size-full wp-image-462" /></a><br />
<a href="http://www.swvps.com/affiliates/jrox.php?id=1438"><img src="http://hellosystemadmin.com/files/2010/07/vps2.png" alt="vps2" title="vps2" width="601" height="288" class="alignnone size-full wp-image-463" /></a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fvps-at-lowest-price%2F', 'VPS+at+lowest+price')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fvps-at-lowest-price%2F', title: '+VPS+at+lowest+price+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/vps-at-lowest-price/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to insert a CSV file in to mysql database through mysql console</title>
		<link>http://hellosystemadmin.com/blog/how-to-insert-a-csv-file-in-to-mysql-through-mysql-databaseconsole/</link>
		<comments>http://hellosystemadmin.com/blog/how-to-insert-a-csv-file-in-to-mysql-through-mysql-databaseconsole/#comments</comments>
		<pubDate>Thu, 20 May 2010 10:50:15 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=448</guid>
		<description><![CDATA[






When you want to insert larger CSV file in to a mysql database using  PhpMyadmin or any other GUI tools it may take long time or even it  may be stopped. You can easily Import the CSV file in to mysql database using mysql command.  Log on to the server and  open mysql command and [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>When you want to insert larger CSV file in to a mysql database using  PhpMyadmin or any other GUI tools it may take long time or even it  may be stopped. You can easily Import the CSV file in to mysql database using mysql command.  Log on to the server and  open mysql command and log on to the console and do run the following command. I guess the Db name is  testdb</p>
<p><em><span style="color: #993300">use testdb;<br />
load data local infile &#8216;CSVFILE.CSV&#8217; into table TABLENAME fields terminated by &#8216;,&#8217; enclosed by &#8216;&#8221;&#8216; lines terminated by &#8216;\n&#8217;;</span></em></p>
<p><em><span style="color: #993300"><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> <script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></em></p>
<p><em><span style="color: #993300"></p>
<div class="wp-caption alignnone" style="width: 478px"><a href="http://www.x-cart.com/aff/?aff_id=8VNAII"><img title="XCart" src="http://secure.qtmsoft.com/affiliate/affiliate_xcart_468_60_1.jpg" alt="XCart" width="468" height="60" /></a><p class="wp-caption-text">XCart</p></div>
<p></span></em></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhow-to-insert-a-csv-file-in-to-mysql-through-mysql-databaseconsole%2F', 'How+to+insert+a+CSV+file+in+to+mysql+database+through+mysql+console')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhow-to-insert-a-csv-file-in-to-mysql-through-mysql-databaseconsole%2F', title: '+How+to+insert+a+CSV+file+in+to+mysql+database+through+mysql+console+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/how-to-insert-a-csv-file-in-to-mysql-through-mysql-databaseconsole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install mod ssl on apache</title>
		<link>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/</link>
		<comments>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/#comments</comments>
		<pubDate>Wed, 19 May 2010 06:15:32 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SSL Certificate]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=443</guid>
		<description><![CDATA[





 
I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.
Download the following packages
1. apache_1.3.14.tar.gz   http://www.apache.org
2. openssl-0.9.6.tar.gz http://www.openssl.org
3.  mod_ssl-2.7.1-1.3.14.tar.gz http://www.modssl.org
 
I have created a folder called  /downloads/src and downloaded all packages here

Go to Apache source files and  compile it as shown below
 # ./configure &#8211;enable-module=so [...]]]></description>
			<content:encoded><![CDATA[<address><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </address>
<address>I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.</address>
<address>Download the following packages</address>
<address>1. apache_1.3.14.tar.gz   <a href="http://www.apache.org/">http://www.apache.org</a></address>
<address>2. openssl-0.9.6.tar.gz<a href="http://www.openssl.org/"> http://www.openssl.org</a></address>
<address>3.  mod_ssl-2.7.1-1.3.14.tar.gz<a href="http://www.modssl.org/"> http://www.modssl.org</a></address>
<address> </address>
<address>I have created a folder called  /downloads/src and downloaded all packages here<br />
</address>
<address>Go to Apache source files and  compile it as shown below</address>
<address> <span style="color: #993300"># </span><span style="color: #993300">./configure &#8211;enable-module=so &#8211;enable-module=ssl &#8211;enable-module=mod_rewrite</span></address>
<address> </address>
<address>Youc an add whatever module you needed</address>
<address>Now go to openssl folder and compile and install ( you can do this same by  using yum or apt-get command)</address>
<address>To compile and install OpenSSL do the following commands</address>
<address> </address>
<address><span style="color: #993300"># </span><em><span style="color: #993300">sh config -fPIC<br />
</span></em><span style="color: #993300"># </span><em><span style="color: #993300">make<br />
</span></em><span style="color: #993300"># </span><em><span style="color: #993300">make install</span></em></address>
<address> </address>
<address>At this time you can compile your PHP also. To do that run following commands</address>
<address><span style="color: #993300"># </span><span style="color: #993300">./configure &#8211;with-apache=../apache_1.3.41  &#8211;with-gd &#8211;with-zlib-dir &#8211;with-jpeg-dir &#8211;with-png-dir &#8211;with-freetype-dir &#8211;enable-gd-native-ttf &#8211;with-freetype-dir=/usr/lib/ &#8211;with-ttf &#8211;with-mysql=/usr/local/mysql &#8211;with-curl &#8211;disable-soap &#8211;with-openssl &#8211;with-xmlrpc &#8211;enable-ftp &#8211;with-xsl &#8211;with-mysqli=/usr/local/mysql/bin/mysql_config</span></address>
<address> </address>
<address><span style="color: #993300"># </span><span style="color: #993300">make</span></address>
<address><span style="color: #993300"># </span><span style="color: #993300">make install</span></address>
<address> </address>
<address><span style="color: #993300"><span style="color: #000000">Compile Apache and install</span></span></address>
<address><span style="color: #993300"><span style="color: #000000">Go to the apache Directory and runn following commands</span></span></address>
<address><span style="color: #993300">#  ./config.status<br />
#  make<br />
#  make certificate <span style="color: #000000"> ( This step will be asked  some inputs  from you for your self signed SSL certificate)</span><br />
# $ make install</span></address>
<address> </address>
<address><span style="color: #993300"><span style="color: #000000">Now you have installed the apache server with a self signed SSL certificate. Now it is the time to add the location of the .CRT file and .KEY file in your apache configuration file.  From the above steps you can see the location of these files. Copy those paths.</span></span></address>
<address> Now open your httpd.conf file and  add the following line </address>
<address><span style="color: #993300">Listen 443</span></address>
<address><span style="color: #000000">Now create a virtual directory which will listen the port 443</span></address>
<address> </address>
<address>&lt;VirtualHost XXX.XXX.XXX.XXX:443&gt;<br />
ServerName  www.example.com<br />
SSLEngine on<br />
SSLCertificateFile  /usr/local/apache/conf/ssl.crt/server.crt<br />
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key<br />
&lt;/VirtualHost&gt;</address>
<address> </address>
<address>Now save the file and restart your Apache server</address>
<address><span style="color: #993300"># apachectl stop</span></address>
<address><span style="color: #993300"># apachectl startssl</span><br />
</address>
<address> </address>
<address>Enjoy <img src='http://hellosystemadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </address>
<address><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></address>
<address> </address>
<address> </address>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-mod-ssl-on-apache%2F', 'install+mod+ssl+on+apache')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-mod-ssl-on-apache%2F', title: '+install+mod+ssl+on+apache+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Job Vacancy Head System for Vectorshades</title>
		<link>http://hellosystemadmin.com/blog/job-vacancy-head-system-for-vectorshades/</link>
		<comments>http://hellosystemadmin.com/blog/job-vacancy-head-system-for-vectorshades/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:53:40 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Job]]></category>
		<category><![CDATA[System Admin]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=427</guid>
		<description><![CDATA[






Job Profile : Head &#8211; Systems. &#8212; Contact at 9895527145 for applying
Salary is negotiable and could be anywhere around 30k
EDUCATION
• MBA–IT  / • Post Graduate Diploma in System Development (PGDSD) ,
CAREER SKILLS
• MIS Solution Development / MIS Reporting skills
• Software Development (PHP/ASP/MYSQL/MSSQL) &#38;  Technical Support
• Systems Management
• Inventory control Systems
• Costing and negotiation skills
• Financial [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h4>Job Profile : Head &#8211; Systems. &#8212; Contact at 9895527145 for applying</h4>
<p><strong>Salary is negotiable and could be anywhere around 30k</strong></p>
<p>EDUCATION</p>
<p>• MBA–IT  / • Post Graduate Diploma in System Development (PGDSD) ,</p>
<p>CAREER SKILLS<br />
• MIS Solution Development / MIS Reporting skills<br />
• Software Development (PHP/ASP/MYSQL/MSSQL) &amp;  Technical Support<br />
• Systems Management<br />
• Inventory control Systems<br />
• Costing and negotiation skills<br />
• Financial / Accounting knowledge<br />
• Strong Programming / Networking / Management Concepts.<br />
• Proficient in Data base concepts and Data Warehousing.<br />
TECHNICAL SKILLS<br />
• Windows NT/2000/2003, Linux (Ubuntu)<br />
• MS SQL Server 7.0/2000/2005, MySQL, MS Access<br />
• ASP.NET # VB, ASP, PHP, VB 6, HTML, DHTML, Java script, MSSQL, MYSQL<br />
• MSOffice, Open Office, Outlook, FTP Applications, Adobe Photoshop, Dream viewer and Search engine optimization etc.<br />
• Strong networking concepts on LAN, WAN, VPN Setups.<br />
• Strong data warehousing and MIS skills.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fjob-vacancy-head-system-for-vectorshades%2F', 'Job+Vacancy+Head+System+for+Vectorshades')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fjob-vacancy-head-system-for-vectorshades%2F', title: '+Job+Vacancy+Head+System+for+Vectorshades+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/job-vacancy-head-system-for-vectorshades/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>configure perl in apache</title>
		<link>http://hellosystemadmin.com/blog/configure-perl-in-apacheache/</link>
		<comments>http://hellosystemadmin.com/blog/configure-perl-in-apacheache/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 12:14:08 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=422</guid>
		<description><![CDATA[In order to browse  perl files (.pl) through apache serer you need to  add few lines in apache configuration file ( httpd.conf)
Add the following in  httpd.conf
AddHandler cgi-script .cgi .pl
Now find the following section
&#60;Directory /&#62;
Options FollowSymLinks
AllowOverride None
&#60;/Directory&#62;
Add   +ExecCGI to the options list. So it  looks like as follows now
Now find the following section
&#60;Directory /&#62;
Options FollowSymLinks +ExecCGI
AllowOverride [...]]]></description>
			<content:encoded><![CDATA[<p>In order to browse  perl files (.pl) through apache serer you need to  add few lines in apache configuration file ( httpd.conf)</p>
<p>Add the following in  httpd.conf</p>
<p><strong>AddHandler cgi-script .cgi .pl</strong></p>
<p>Now find the following section</p>
<p><em>&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
&lt;/Directory&gt;</em></p>
<p>Add   <code>+ExecCGI</code> to the options list. So it  looks like as follows now</p>
<p>Now find the following section</p>
<p>&lt;Directory /&gt;<br />
<strong>Options FollowSymLinks +ExecCGI</strong><br />
AllowOverride None<br />
&lt;/Directory&gt;</p>
<p>Now save httpd.conf and restart Apache server</p>
<p>Create a sample perl file called test.pl and add the following lines  and save it.</p>
<p>#!/usr/bin/perl<br />
print &#8220;content-type: text/html \n\n&#8221;;<br />
print &#8220;Hello, Perl!&#8221;;</p>
<p>Now browse the page</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fconfigure-perl-in-apacheache%2F', 'configure+perl+in+apache')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fconfigure-perl-in-apacheache%2F', title: '+configure+perl+in+apache+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/configure-perl-in-apacheache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Zend frame work on a Linux and test it</title>
		<link>http://hellosystemadmin.com/blog/how-to-install-zend-frame-work-on-a-linux-and-test-it/</link>
		<comments>http://hellosystemadmin.com/blog/how-to-install-zend-frame-work-on-a-linux-and-test-it/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 09:43:43 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=392</guid>
		<description><![CDATA[Note :  This guide is for Admins only , who  is going to install Zend for the first time
Here I simply describe about how to install Zend framework and create a sample project
My server is running on Fedora 9, PHP5
Step 1:
Download the Zend framework (MINIMAL PACKAGE).  I have downloaded http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz
Step2:  Extract the package 
Step3:  Create [...]]]></description>
			<content:encoded><![CDATA[<p>Note :  This guide is for Admins only , who  is going to install Zend for the first time</p>
<p>Here I simply describe about how to install Zend framework and create a sample project</p>
<p><em>My server is running on Fedora 9, PHP5</em></p>
<p><strong>Step 1:</strong></p>
<p>Download the Zend framework (MINIMAL PACKAGE).  I have downloaded <a href="http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz">http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz</a></p>
<p><strong>Step2:  Extract the package </strong></p>
<p><strong>Step3:  Create Sample Project using Zend</strong></p>
<p>Go to the any web directory say, /var/www/html/test</p>
<p>Now call the<strong> zf.sh</strong> file in the bin folder of zend framework to create new project</p>
<p>In my case I extracted the zend framework in /var/ww/html/zend-framework</p>
<p>So I called the zf.sh file as follows</p>
<p><em>/var/www/html/zend-framework/bin/zf.sh create project zendtest</em></p>
<p>Now a project called called “ zendtest “  has been created in the current directory. This project will have four Sub folders.</p>
<p>Now we need to include the Libraries in the zend framework in our new project. To do that, just copy the folder called Zend from the library folder of our zend framework.  (in my case I copied /var/ww/html/zend-framework/library/Zend ).</p>
<p>That’s all, we have created a sample  project in Zend framework. We can test it using browsing the Public folder in the new project</p>
<p>http://localhost/ test/zendtest/public/</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhow-to-install-zend-frame-work-on-a-linux-and-test-it%2F', 'How+to+install+Zend+frame+work+on+a+Linux+and+test+it')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhow-to-install-zend-frame-work-on-a-linux-and-test-it%2F', title: '+How+to+install+Zend+frame+work+on+a+Linux+and+test+it+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/how-to-install-zend-frame-work-on-a-linux-and-test-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install php_mssql on PHP</title>
		<link>http://hellosystemadmin.com/blog/install-php_mssql-on-php/</link>
		<comments>http://hellosystemadmin.com/blog/install-php_mssql-on-php/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 06:04:07 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[install php_mssql]]></category>
		<category><![CDATA[mssql module]]></category>
		<category><![CDATA[ph pmssql]]></category>
		<category><![CDATA[php_mssql]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=372</guid>
		<description><![CDATA[In fact installing the mssql modules in php is easy, we may get  errors sometimes. In phpinfo() it may be shown that the  php mssql module is installed. But when we tried to connect to an SQL server through php script we will get error &#8221; sorry something went wrong&#8221;
IF we need to install php [...]]]></description>
			<content:encoded><![CDATA[<p>In fact installing the mssql modules in php is easy, we may get  errors sometimes. In phpinfo() it may be shown that the  php mssql module is installed. But when we tried to connect to an SQL server through php script we will get error &#8221; sorry something went wrong&#8221;</p>
<p>IF we need to install php mssql module it requires two DLLs <strong>php_mssql.dll</strong> and <strong>ntwdblib.dll. </strong>If these DLLs are not present in your php installation  folder you need to download it.  Copy these DLLs to   php extension folder also copy <strong>ntwdblib.dll </strong>to system32 folder . Once you have done these, simply enable the module in php.ini file by uncommenting the line <em>;extension=php_mssql.dll</em>.  The line should be looked like</p>
<p><strong>extension=php_mssql.dll</strong></p>
<p>If there is no such line in php.ini, just add the above line just below the &#8221; Dynamic Extensions &#8221;</p>
<p>Once you did it, just restart apache server and it will be fine.</p>
<p><strong><span style="color: #ff0000">Common Error:  the module  mssql is shown in phpinfo, but mssql connections are not working</span></strong></p>
<p><strong><span style="color: #008000">Solution :  This is due to the version of ntwdblib.dll. You can download the latest version of this dll </span></strong></p>
<p>(http://www.dlldll.com/ntwdblib.dll_download.html)</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-php_mssql-on-php%2F', 'Install+php_mssql+on+PHP')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-php_mssql-on-php%2F', title: '+Install+php_mssql+on+PHP+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/install-php_mssql-on-php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Mysql takes 100 % CPU</title>
		<link>http://hellosystemadmin.com/blog/mysql-takes-100-cpu/</link>
		<comments>http://hellosystemadmin.com/blog/mysql-takes-100-cpu/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 11:37:30 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=213</guid>
		<description><![CDATA[



I have seen that when executing a mysql query the cpu usage becomes 100 % and it takes a long time to execute the query.  I have executed the same query thorugh phpmyadmin and that time also it took a long time to execute also mysql consumes 100 % cpu .  I have done some [...]]]></description>
			<content:encoded><![CDATA[<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<p>I have seen that when executing a mysql query the cpu usage becomes 100 % and it takes a long time to execute the query.  I have executed the same query thorugh phpmyadmin and that time also it took a long time to execute also mysql consumes 100 % cpu .  I have done some change to my.cnf file and restarted mysql and the problem wentaway.  You can also adjust your my.cnf values as follows.</p>
<p>[mysqld]<br />
max_allowed_packet = 128M<br />
sort_buffer_size = 512M<br />
max_connections=500<br />
query_cache_size = 512M<br />
query_cache_limit = 512M<br />
query-cache-type = 2<br />
table_cache = 80<br />
thread_cache_size=8<br />
key_buffer_size = 512M<br />
read_buffer_size=64M<br />
read_rnd_buffer_size=64M<br />
myisam_sort_buffer_size=64M<br />
innodb_flush_log_at_trx_commit=2<br />
innodb_buffer_pool_size=700M<br />
innodb_additional_mem_pool_size=20M</p>
<p>Once you made the changes in my.cnf do not forget to restart mysql server. Mysql can be restarted in any of the following methods</p>
<p>If you have installed mysql using RPM you can restart mysql using one of the following commands</p>
<p>service mysqld restart  OR /etc/init.d/mysqld restart</p>
<p>If you have installed mysql from source files you  can shutdown mysql and start it as follows</p>
<p>Stop Mysql : mysqladmin -uroot -p shutdown</p>
<p>Start msyql : /usr/local/mysql/bin/mysqld_safe &#8211;user=mysql &amp;   (assume mysql is installed at /usr/local/mysql)</p>
<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fmysql-takes-100-cpu%2F', 'Mysql+takes+100+%25+CPU')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fmysql-takes-100-cpu%2F', title: '+Mysql+takes+100+%25+CPU+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/mysql-takes-100-cpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql database replication</title>
		<link>http://hellosystemadmin.com/blog/mysql-database-replication/</link>
		<comments>http://hellosystemadmin.com/blog/mysql-database-replication/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 07:24:54 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.hellosystemadmin.com/?p=130</guid>
		<description><![CDATA[



Install mysql server on both server and client machine
Settings in Server
Editi My.conf
log-bin = mysql-bin
server-id = 1
binlog-do-db=DBNAME1
binlog-do-db=DBNAME2
# Backing up Master Database
mysqldump -u root -p &#8211;routines &#8211;add-drop-table &#8211;master-data &#8211;databases DBNAME1 DBNAME2 &#62; master.sql
musql -uroot -p
CREATE USER &#8216;repluser&#8217;@'%&#8217; IDENTIFIED BY &#8216;password&#8217;;
GRANT PROCESS , SUPER , REPLICATION SLAVE , REPLICATION CLIENT ON * . * TO &#8216;repluser&#8217;@'%&#8217; IDENTIFIED BY [...]]]></description>
			<content:encoded><![CDATA[<pre><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></pre>
<p>Install mysql server on both server and client machine</p>
<p><strong>Settings in Server</strong></p>
<p>Editi My.conf</p>
<p>log-bin = <span>mysql</span>-bin<br />
server-id = 1<br />
binlog-do-db=DBNAME1<br />
binlog-do-db=DBNAME2<br />
# Backing up Master Database</p>
<p>mysqldump -u root -p &#8211;routines &#8211;add-drop-table &#8211;master-data &#8211;databases DBNAME1 DBNAME2 &gt; master.sql</p>
<p>musql -uroot -p</p>
<p>CREATE USER &#8216;repluser&#8217;@'%&#8217; IDENTIFIED BY &#8216;password&#8217;;<br />
GRANT PROCESS , SUPER , <span>REPLICATION</span> SLAVE , <span>REPLICATION</span> CLIENT ON * . * TO &#8216;repluser&#8217;@'%&#8217; IDENTIFIED BY &#8216;password&#8217; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;</p>
<p>grant <span>replication</span> slave on *.* to <a href="mailto:repluser@63.225.155.244" target="_blank">repluser@SLAVE_SERVER_IP_ADDRESS</a> identified by &#8216;password&#8217;;</p>
<p># Slave configuration</p>
<p>vi /etc/my.cnf</p>
<p>log-bin = <span>mysql</span>-bin<br />
server-id = 2<br />
master-host=MASTER SERVER IP<br />
master-user=repluser<br />
master-password=password;<br />
master-connect-retry=60<br />
replicate-do-db=DBNAME1<br />
replicate-do-db=DBNAME2</p>
<p># Copying the SQL file rom Master</p>
<p>scp root@master IP address : path to the sqlÂ  file</p>
<p># Create Database in SLAVE<br />
# dump database to new dbs</p>
<p># execute following queries in <span>mysql</span></p>
<p>change master to master_host=&#8217;Master IP address&#8217;;</p>
<p>change master to master_user=&#8217;repluser&#8217;;</p>
<p>change master to master_password=&#8217;Master user pass&#8217;;</p>
<p>change master to master_log_file=&#8217;<span>mysql</span>-bin.</p>
<div dir="ltr"><strong><span style="color: #ff0000">(the log file should be same as that displayed in master when executing the command &#8217;show master status;&#8217;</span></strong><br />
change master to MASTER_LOG_POS=98 ;Â  <strong><span style="color: #ff0000">(the NumbeÂ  should be same as that displayed in master when executing the command &#8217;show master status;&#8217;</span></strong></div>
<p>start slave<br />
show slave status</p>
<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<p><strong> </strong><br />
 <script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fmysql-database-replication%2F', 'Mysql+database+replication')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fmysql-database-replication%2F', title: '+Mysql+database+replication+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/mysql-database-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find PID of a PHP script</title>
		<link>http://hellosystemadmin.com/blog/find-pid-of-a-php-script/</link>
		<comments>http://hellosystemadmin.com/blog/find-pid-of-a-php-script/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 06:08:06 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.hellosystemadmin.com/?p=127</guid>
		<description><![CDATA[



I have been trying to find the PID of a php site which is hosted in my apache web server. I did not know that it was very easy until in found the built in php function getmypid(). To find the process ID (PID) of a PHP scriptÂ  use the following code in your php [...]]]></description>
			<content:encoded><![CDATA[<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<p>I have been trying to find the PID of a php site which is hosted in my apache web server. I did not know that it was very easy until in found the built in php function getmypid(). To find the process ID (PID) of a PHP scriptÂ  use the following code in your php file</p>
<p><strong><em>echo getmypid ();</em></strong></p>
<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
 <script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Ffind-pid-of-a-php-script%2F', 'Find+PID+of+a+PHP+script')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Ffind-pid-of-a-php-script%2F', title: '+Find+PID+of+a+PHP+script+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/find-pid-of-a-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
