<?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>Linux Servers cPanel webhosting blog &#187; Install server side software / script</title>
	<atom:link href="http://www.theperfectarts.com/category/install-server-side-software-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:05:11 +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>Install clamAV?</title>
		<link>http://www.theperfectarts.com/2010/05/install-clamav/</link>
		<comments>http://www.theperfectarts.com/2010/05/install-clamav/#comments</comments>
		<pubDate>Thu, 13 May 2010 18:24:45 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[calmv antivirus]]></category>
		<category><![CDATA[clamAV]]></category>
		<category><![CDATA[clamv scanner]]></category>
		<category><![CDATA[Install clamAV on cPanel server]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1030</guid>
		<description><![CDATA[We can install clamAV by using following three options. First Download ClamAV from www.clamav.net in default locations under /usr/local/[bin,man,share] Run following from shell. root@server[]perl -MCPAN -e shell root@server[]install Parse::RecDescent root@server[]install Inline root@server[]install Mail::ClamAV Second option run /scripts/perlinstaller from shell root@server[]/scripts/perlinstaller Net::CIDR Archive::Zip Compress::Zlib Convert::BinHex Inline::C or root@server[]/scripts/perlinstaller Mail::ClamAV Third you can install ClamAV from WHM [...]]]></description>
			<content:encoded><![CDATA[<p>We can install clamAV by using following three options.</p>
<p>First Download ClamAV from www.clamav.net in default locations under /usr/local/[bin,man,share]<br />
Run following from shell.</p>
<blockquote><p>root@server[]perl -MCPAN -e shell<br />
root@server[]install Parse::RecDescent<br />
root@server[]install Inline<br />
root@server[]install Mail::ClamAV</p></blockquote>
<p>Second option run /scripts/perlinstaller from shell</p>
<blockquote><p>root@server[]/scripts/perlinstaller Net::CIDR Archive::Zip Compress::Zlib Convert::BinHex Inline::C<br />
or</p>
<p>root@server[]/scripts/perlinstaller Mail::ClamAV</p></blockquote>
<p>Third you can install ClamAV from WHM</p>
<blockquote><p>Select Main &gt;&gt; Software &gt;&gt; Install a Perl Module from WHM .</p>
<p>install perl module:-<br />
search for Mail::clamAV<br />
install it</p></blockquote>
<p>We can also enabled virus scanner feature to cPanel user from WHM &gt;&gt; Main &gt;&gt; cPanel <a href="http://92.48.124.6:2086/scripts/command?PFILE=cPanel"></a> &gt;&gt; Manage Plugins<a href="http://92.48.124.6:2086/scripts2/getthemes?modules=1"></a></p>
<p>Select  &#8220;Name: clamavconnector&#8221; from list and install it.</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/05/install-clamav/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to upgrade kernel version?</title>
		<link>http://www.theperfectarts.com/2010/05/how-to-upgrade-kernel-version/</link>
		<comments>http://www.theperfectarts.com/2010/05/how-to-upgrade-kernel-version/#comments</comments>
		<pubDate>Tue, 11 May 2010 11:24:08 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Few good queries and suggestions]]></category>
		<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[kerenel]]></category>
		<category><![CDATA[linux server kernel]]></category>
		<category><![CDATA[upgrade kernel on linux server]]></category>
		<category><![CDATA[upgrade kernel version]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1015</guid>
		<description><![CDATA[First you need to download the latest stable kernel. You can check it at http://kernel.org/. Download it : root@server [~]# cd /usr/local/src/ root@server [~]# wget http://www.kernel.org/pub/linux/kernel/v2.6/ Select latest Kernel and download it root@server [~]# tar –zxvf linux-2.6.28.tar.gz root@server [~]#cd linux-2.6.28 root@server [~]# make clean root@server [~]# make mrproper root@server [~]# uname -r root@server [~] # [...]]]></description>
			<content:encoded><![CDATA[<p>First you need to download the latest stable kernel.<br />
You can check it at <a href="http://kernel.org/" target="_blank">http://kernel.org/</a>.<br />
Download  it :<br />
root@server [~]# cd /usr/local/src/</p>
<p>root@server [~]# wget http://www.kernel.org/pub/linux/kernel/v2.6/<br />
Select latest Kernel and download it</p>
<p>root@server [~]# tar –zxvf linux-2.6.28.tar.gz<br />
root@server [~]#cd linux-2.6.28<br />
root@server [~]# make clean<br />
root@server [~]# make mrproper<br />
root@server [~]# uname -r<br />
root@server [~] # cp /boot/config-&#8217;uname -r&#8217; .config<br />
root@server [~] # make oldconfig<br />
root@server [~] # make menuconfig<br />
root@server [~] # make<br />
root@server [~] # make modules_install<br />
root@server [~] # make install<br />
root@server [~] # grubby &#8211;bootloader-probe<br />
root@server [~] # pico /etc/grub.conf</p>
<p>Change the default as per the entry for your new kernel.<br />
root@server [~]#  reboot</p>
<p>Some time after reboot server it won&#8217;t up and running with the new kennel due to that before rebooting server, make following</p>
<p>changes.</p>
<p>root@server [~]#grub</p>
<p>Above command will give you grub prompt.</p>
<p>grub &gt; savedefault &#8211;default=0 &#8211;once</p>
<p>grub&gt;quit</p>
<p>root@server [~]#reboot</p>
<p>If server is up and running after reboot you can set new kernel as default server in grub.conf file.</p>
<p>root@server [~]#pico /boot/grub/grub.conf</p>
<p>Set</p>
<p>default=1</p>
<p>to</p>
<p>default=0</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/05/how-to-upgrade-kernel-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Webmin?</title>
		<link>http://www.theperfectarts.com/2009/12/how-to-install-webmin/</link>
		<comments>http://www.theperfectarts.com/2009/12/how-to-install-webmin/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 09:07:59 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[download Webmin]]></category>
		<category><![CDATA[install Webmin]]></category>
		<category><![CDATA[rpm for Webmin]]></category>
		<category><![CDATA[Webmin]]></category>
		<category><![CDATA[Webmin url]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=825</guid>
		<description><![CDATA[You can install webmin by using following steps. root@gunjan[~]#cd /usr/local/src root@gunjan[~]#wget http://sourceforge.net/projects/webadmin/files/webmin/1.500/webmin-1.500-1.noarch.rpm/download root@gunjan[~]#rpm -Uvh webmin-1.500-1.noarch.rpm warning: webmin-1.500-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID xxxxx Preparing&#8230; ########################################### [100%] Operating system is CentOS Linux 1:webmin ########################################### [100%] Webmin install complete. You can now login to http://server.domain.com:10000/ as root with your root password. &#169;2010 Linux Servers cPanel [...]]]></description>
			<content:encoded><![CDATA[<p>You can install webmin by using following steps.</p>
<p><span style="color: #800000;">root@gunjan[~]#cd /usr/local/src</span></p>
<p><span style="color: #800000;">root@gunjan[~]#wget http://sourceforge.net/projects/webadmin/files/webmin/1.500/webmin-1.500-1.noarch.rpm/download</span></p>
<p><span style="color: #800000;">root@gunjan[~]#rpm -Uvh webmin-1.500-1.noarch.rpm</span></p>
<p>warning: webmin-1.500-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID xxxxx<br />
Preparing&#8230;                ########################################### [100%]<br />
Operating system is CentOS Linux<br />
1:webmin                 ########################################### [100%]<br />
Webmin install complete. You can now login to http://server.domain.com:10000/<br />
as root with your root password.</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/how-to-install-webmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install YUM on plain Server?</title>
		<link>http://www.theperfectarts.com/2009/12/how-to-install-yum-on-plain-server/</link>
		<comments>http://www.theperfectarts.com/2009/12/how-to-install-yum-on-plain-server/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 10:13:44 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[.libxml2-python-2.6.26-2.1.2.8.i386.rpm]]></category>
		<category><![CDATA[DSA signature: NOKEY]]></category>
		<category><![CDATA[elfutils-0.137-3.el5.i386.rpm]]></category>
		<category><![CDATA[expat-1.95.8-8.2.1.i386.rpm]]></category>
		<category><![CDATA[install YUM]]></category>
		<category><![CDATA[install yum on centos server]]></category>
		<category><![CDATA[libxml2-2.6.26-2.1.2.8.i386.rpm]]></category>
		<category><![CDATA[m2crypto-0.16-6.el5.6.i386.rpm]]></category>
		<category><![CDATA[mirror.centos.org]]></category>
		<category><![CDATA[python-elementtree-1.2.6-5.i386.rpm]]></category>
		<category><![CDATA[python-sqlite-1.1.7-1.2.1.i386.rpm]]></category>
		<category><![CDATA[python-urlgrabber-3.1.0-5.el5.noarch.rpm]]></category>
		<category><![CDATA[readline-5.1-3.el5.i386.rpm.python-2.4.3-27.el5.i386.rpm]]></category>
		<category><![CDATA[rpm -Uvh gmp-4.1.4-10.el5.i386.rpm]]></category>
		<category><![CDATA[rpm for yum]]></category>
		<category><![CDATA[sqlite-3.3.6-5.i386.rpm]]></category>
		<category><![CDATA[yum install on plain server]]></category>
		<category><![CDATA[yum-3.2.22-20.el5.centos]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=802</guid>
		<description><![CDATA[First you need to login into shell as root user than follow the steps one by one. [root@gunjan]#mkdir /root/support  &#38;&#38; cd /root/support [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm [root@gunjan]#rpm -Uvh gmp-4.1.4-10.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm [root@gunjan]#rpm -Uvh readline-5.1-3.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-2.4.3-27.el5.i386.rpm [root@gunjan]#rpm -Uvh python-2.4.3-27.el5.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#rpm -Uvh libxml2-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#rpm -Uvh libxml2-python-2.6.26-2.1.2.8.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm [root@gunjan]#rpm -Uvh expat-1.95.8-8.2.1.i386.rpm [root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm [root@gunjan]#rpm [...]]]></description>
			<content:encoded><![CDATA[<p>First you need to login into shell as root user than follow the steps one by one.</p>
<p><span style="color: #800000;">[root@gunjan]#mkdir /root/support  &amp;&amp; cd /root/support</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh gmp-4.1.4-10.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh readline-5.1-3.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-2.4.3-27.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh python-2.4.3-27.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-2.6.26-2.1.2.8.i386.rpm<br />
</span><br />
<span style="color: #800000;">[</span><span style="color: #800000;"><span style="color: #800000;">ro</span>ot@gunjan]#rpm -Uvh libxml2-2.6.26-2.1.2.8.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-python<span style="color: #800000;">-2.6.26-2.1.2.8.i386.rp</span></span><span style="color: #800000;">m</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh libxml2-python-2.6.26-2.1.2.8.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh expat-1.95.8-8.2.1.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh python-elementtree-1.2.6-5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh sqlite-3.3.6-5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh elfutils-0.137-3.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/rpm-python-4.4.2.3-18.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh rpm-python-4.4.2.3-18.el5.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#It will throw following error.</span></p>
<p><span style="color: #800000;">[root@gunjan]# rpm -Uvh rpm-python-4.4.2.3-18.el5.i386.rpm</span></p>
<p>warning: rpm-python-4.4.2.3-18.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897<br />
error: Failed dependencies:<br />
popt = 1.10.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386<br />
rpm = 4.4.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386<br />
rpm-libs = 4.4.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386</p>
<p>In that case search dependencies in following URL</p>
<p>http://rpm.pbone.net/</p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/m2crypto-0.16-6.el5.6.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh m2crypto-0.16-6.el5.6.i386.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh python-urlgrabber-3.1.0-5.el5.noarch.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm</span></p>
<p><span style="color: #800000;">[root@gunjan]#rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm</span></p>
<p>It will throw following error.</p>
<p><span style="color: #800000;">[root@gunjan]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm</span><br />
warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897<br />
error: Failed dependencies:<br />
python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch<br />
rpm-python is needed by yum-3.2.22-20.el5.centos.noarch<br />
yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch<br />
yum-metadata-parser &gt;= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch</p>
<p>In that case search dependencies in following URL</p>
<p>http://rpm.pbone.net/</p>
<p>Once you complete all dependencies you can update yum by using following command</p>
<p><span style="color: #800000;">[root@gunjan]#yum -y update</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/how-to-install-yum-on-plain-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install install Eaccelerator?</title>
		<link>http://www.theperfectarts.com/2009/12/how-to-install-install-eaccelerator/</link>
		<comments>http://www.theperfectarts.com/2009/12/how-to-install-install-eaccelerator/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 05:15:16 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[install Eaccelerator]]></category>
		<category><![CDATA[what is Eaccelerator]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=731</guid>
		<description><![CDATA[To install Eaccelerator manually refer following steps one by one carefully. 1. First you need to login into shell as root user 2. Now we’ll make the eaccelerator directory: root@gunjan[]#cd ~ root@gunjan[~]#mkdir /eaccelerator/ root@gunjan[~]#cd /eaccelerator/ 2. Now download the source file root@gunjan[~]#wget http://heanet.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2 root@gunjan[~]#bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2 root@gunjan[~]#tar xvf eaccelerator-0.9.4-rc1.tar 3. Now install Eaccelerator: root@gunjan[~]#cd eaccelerator-0.9.4-rc1/ [...]]]></description>
			<content:encoded><![CDATA[<p>To install Eaccelerator manually refer following steps one by one carefully.</p>
<p>1. First you need to login into shell as root user</p>
<p>2. Now we’ll make the eaccelerator directory:</p>
<p><span style="color: #800000;">root@gunjan[]#cd ~</span></p>
<p><span style="color: #800000;">root@gunjan[~]#mkdir /eaccelerator/</span></p>
<p><span style="color: #800000;">root@gunjan[~]#cd /eaccelerator/</span></p>
<p>2. Now download the source file</p>
<p><span style="color: #800000;">root@gunjan[~]#wget http://heanet.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2</span></p>
<p><span style="color: #800000;">root@gunjan[~]#bzip2 -d eaccelerator-0.9.4-rc1.tar.bz2</span></p>
<p><span style="color: #800000;">root@gunjan[~]#tar xvf eaccelerator-0.9.4-rc1.tar</span></p>
<p>3. Now install Eaccelerator:</p>
<p><span style="color: #800000;">root@gunjan[~]#cd eaccelerator-0.9.4-rc1/</span></p>
<p><span style="color: #800000;">root@gunjan[~]#export PHP_PREFIX=”/usr”</span></p>
<p><span style="color: #800000;">root@gunjan[~]#$PHP_PREFIX/bin/phpize</span></p>
<p><span style="color: #800000;">root@gunjan[~]#./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config</span></p>
<p><span style="color: #800000;">root@gunjan[~]#make</span></p>
<p><span style="color: #800000;">root@gunjan[~]#make install</span></p>
<p>4. Now basically eaccelerator installed, now we need to edit the php.ini files to<br />
include Eaccelerator extension.</p>
<p><span style="color: #800000;">root@gunjan[~]#php -i | grep php.ini<br />
Configuration File (php.ini) Path =&gt; /usr/local/lib<br />
Loaded Configuration File =&gt; /usr/local/lib/php.ini</span></p>
<p><span style="color: #800000;">root@gunjan[~]#pico /usr/local/lib/php.ini</span></p>
<p>copy and paste following lines php.ini carefully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
extension=”eaccelerator.so”<br />
eaccelerator.shm_size=”16?<br />
eaccelerator.cache_dir=”/tmp/eaccelerator”<br />
eaccelerator.enable=”1?<br />
eaccelerator.optimizer=”1?<br />
eaccelerator.check_mtime=”1?<br />
eaccelerator.debug=”0?<br />
eaccelerator.filter=”&#8221;<br />
eaccelerator.shm_max=”0?<br />
eaccelerator.shm_ttl=”0?<br />
eaccelerator.shm_prune_period=”0?<br />
eaccelerator.shm_only=”0?<br />
eaccelerator.compress=”1?<br />
eaccelerator.compress_level=”9?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>For a Zend extension install server (only if you have Zend installed on your server, or<br />
if you’re going to install it)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
zend_extension=”/usr/lib/php4/eaccelerator.so”<br />
eaccelerator.shm_size=”16?<br />
eaccelerator.cache_dir=”/tmp/eaccelerator”<br />
eaccelerator.enable=”1?<br />
eaccelerator.optimizer=”1?<br />
eaccelerator.check_mtime=”1?<br />
eaccelerator.debug=”0?<br />
eaccelerator.filter=”&#8221;<br />
eaccelerator.shm_max=”0?<br />
eaccelerator.shm_ttl=”0?<br />
eaccelerator.shm_prune_period=”0?<br />
eaccelerator.shm_only=”0?<br />
eaccelerator.compress=”1?<br />
eaccelerator.compress_level=”9?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>5. Now you need to make the cache directory on your server, where the cache files will be<br />
stored for eaccelerator<br />
r<span style="color: #800000;">oot@gunjan[]#cd ~</span></p>
<p><span style="color: #800000;">root@gunjan[~]#mkdir /tmp/eaccelerator/</span></p>
<p><span style="color: #800000;">root@gunjan[~]#chmod 0777 /tmp/eaccelerator/</span></p>
<p>6. Now restart Apache so that Eaccelerator will start working:</p>
<p><span style="color: #800000;">service httpd restart</span></p>
<p>Now check eAccelerator by using following command</p>
<p><span style="color: #800000;">root@gunjan[~]#php -v</span><br />
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 20 2009 14:28:34)<br />
Copyright (c) 1997-2009 The PHP Group<br />
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies<br />
<strong>with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator</strong><br />
with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd., and<br />
with SourceGuardian v8.0, Copyright (c) 2000-2009, by Inovica Ltd.<br />
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies<br />
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH</p>
<p>You done it enjoy <img src='http://www.theperfectarts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/how-to-install-install-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to patch openssl version?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 04:51:34 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[check openssl version]]></category>
		<category><![CDATA[install openssl version]]></category>
		<category><![CDATA[openssl version]]></category>
		<category><![CDATA[patch openssl version]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=372</guid>
		<description><![CDATA[You can patch openssl version by using following steps but make sure that you are able to SSH server as root user user. root@gunjan[/usr/local/src]#cd /usr/local/src root@gunjan[/usr/local/src]#wget http://www.openssl.org/source/openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#tar -zxf openssl-0.9.8h.tar.gz root@gunjan[/usr/local/src]#cd openssl-0.9.8h root@gunjan[/usr/local/src]#./Configure &#8211;prefix=/usr debug-linux-pentium (or choose right os) root@gunjan[/usr/local/src]#make root@gunjan[/usr/local/src]#make install To check openssl version simply run openssl version root@gunjan[/usr/local/src]#openssl version &#169;2010 Linux Servers [...]]]></description>
			<content:encoded><![CDATA[<p>You can patch openssl version by using following steps but make sure that you are able to SSH server as root user user.</p>
<p><span style="color: #800000;">root@gunjan[/usr/local/src]#cd /usr/local/src<br />
root@gunjan[/usr/local/src]#wget http://www.openssl.org/source/openssl-0.9.8h.tar.gz<br />
root@gunjan[/usr/local/src]#tar -zxf openssl-0.9.8h.tar.gz<br />
root@gunjan[/usr/local/src]#cd openssl-0.9.8h<br />
root@gunjan[/usr/local/src]#./Configure &#8211;prefix=/usr debug-linux-pentium (or choose right os)<br />
root@gunjan[/usr/local/src]#make<br />
root@gunjan[/usr/local/src]#make install</span></p>
<p>To check openssl version simply run openssl version</p>
<p><span style="color: #800000;">root@gunjan[/usr/local/src]#openssl version</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-patch-openssl-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by step instructions to install VNC</title>
		<link>http://www.theperfectarts.com/2009/09/step-by-step-instructions-to-install-vnc/</link>
		<comments>http://www.theperfectarts.com/2009/09/step-by-step-instructions-to-install-vnc/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:57:36 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[configure VNC]]></category>
		<category><![CDATA[instructions to install VNC]]></category>
		<category><![CDATA[Step by step instructions to install VNC]]></category>
		<category><![CDATA[what is VNC.install vns]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=227</guid>
		<description><![CDATA[Refer following step by step instructions to install VNC 1) As root user fire the commands yum install vnc-server xorg-x11-xauth xorg-x11 twm xterm 2) if yum is not working, download the rpm using &#8220;wget http://mirror.pacific.net.au/linux/CentOS/4.2/os/i386/CentOS/RPMS/vnc-server-4.0-8.1.i386.rpm&#8221; 2.1) install vncserver by the command &#8220;rpm -Uvh vnc-server-4.0-8.1.i386.rpm&#8221; 3) start vncserver by &#8220;vncserver :0&#8220;. You will be asked for [...]]]></description>
			<content:encoded><![CDATA[<p>Refer following step by step instructions to install VNC<br />
1) As root user fire the commands</p>
<p><span style="color: #800000;">yum install vnc-server xorg-x11-xauth xorg-x11 twm xterm</span></p>
<p>2) if yum is not working, download the rpm using &#8220;<span style="color: #800000;">wget http://mirror.pacific.net.au/linux/CentOS/4.2/os/i386/CentOS/RPMS/vnc-server-4.0-8.1.i386.rpm</span>&#8221;<br />
2.1) install vncserver by the command &#8220;<span style="color: #800000;">rpm -Uvh vnc-server-4.0-8.1.i386.rpm</span>&#8221;</p>
<p>3) start vncserver by &#8220;<span style="color: #800000;">vncserver :0</span>&#8220;. You will be asked for password, set the password you require.</p>
<p>4) try to vnc into your Linux box from Windows to your Linux box using server_ip:5900 eg. <span style="color: #800000;">192.168.0.21:5900</span><br />
4.1) if it doesn&#8217;t work, bring down your firewall by doing &#8220;service iptables stop&#8221; and vnc from your Windows again.</p>
<p>5) you can stop the vncserver by using command &#8220;<span style="color: #800000;">vncserver -kill :0</span>&#8221;</p>
<p>6) remember to bring your firewall back up &#8220;service iptables start&#8221;</p>
<p>7) you might want to have gnome, kde running.. in that case look into your ~/.vnc/xstartup file, uncomment two lines (<span style="color: #800000;"># unset SESSION_MANAGER and # exec /etc/X11/xinit/xinitrc</span>)</p>
<p> <img src='http://www.theperfectarts.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> If gnome is not install, Install Gnome using &#8220;<span style="color: #800000;">yum install gnome-*</span> &#8221; and set the server to use gnome desktop using &#8220;switchdesk gnome&#8221; and restart VNC.</p>
<p>9) you might want to start vncserver when the system reboots, use &#8220;chkconfig &#8211;level 345 vncserver on&#8221;</p>
<p>10) You can change the VNC server password using &#8220;<span style="color: #800000;">vncpasswd</span>&#8221;</p>
<p>Note : If getting error while starting VNC<br />
&#8212;&#8212;<br />
[root@202 conf]# vncserver :0<br />
<span style="color: #800000;">vncserver: couldn&#8217;t find &#8220;xauth&#8221; on your PATH.</span><br />
&#8212;&#8212;<br />
do:<br />
check if xauth is installed</p>
<p><span style="color: #800000;">which xauth<br />
yum install xorg-x11-xauth<br />
yum install xorg-x11<br />
yum install twm<br />
yum install xterm</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/09/step-by-step-instructions-to-install-vnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install shoutcast</title>
		<link>http://www.theperfectarts.com/2009/08/how-to-install-shoutcast/</link>
		<comments>http://www.theperfectarts.com/2009/08/how-to-install-shoutcast/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 02:38:02 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[install shoutcast]]></category>
		<category><![CDATA[shoutcast]]></category>
		<category><![CDATA[what is shoutcast]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=200</guid>
		<description><![CDATA[Basically most of the people don&#8217;t like to run shoutcast as root as that can be really harmful due to that its better if we create shoutcast user and then run shoutcast on server. Following are the basic steps to install shoutcast on server 1.) Login to root 2.) adduser shoutcast 3.) passwd shoutcast Once [...]]]></description>
			<content:encoded><![CDATA[<p>Basically most of the people don&#8217;t like to run shoutcast as root as that can be really harmful due to that its better if we create shoutcast user and then run shoutcast on server.<br />
Following are the basic steps to install shoutcast on server</p>
<p>1.) <span style="color: #800000;">Login to root</span></p>
<p>2.) <span style="color: #800000;">adduser shoutcast</span></p>
<p>3.) <span style="color: #800000;">passwd shoutcast</span></p>
<p>Once you add user &#8220;shoutcast&#8221; login as the new user &#8220;shoutcast&#8221;.</p>
<p>Lets wget shoutcast from the shoutcast.com provider</p>
<p><span style="color: #800000;">wget ftp://ftp.skynet.be/mirror1/tucows.skynet.be/linux/files/shoutcast-1-9-2-linux-glibc6.tar.gz</span></p>
<p>The extract shoutcast:</p>
<p><span style="color: #800000;">tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz</span></p>
<p>rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz<br />
mv shoutcast-1-9-2-linux-glibc6 shoutcast<br />
cd shoutcast</p>
<p>Now you can configure shoutcast?</p>
<p>You need to edit the shoutcast configuration.</p>
<p><span style="color: #800000;">pico sc_serv.conf<br />
or<br />
nano sc_serv.conf</span></p>
<p><span style="color: #800000;">MaxUser<br />
Password<br />
PortBase</span></p>
<p>uncomment AdminPassword and set an admin password as per your requirement.</p>
<p>Now you can save and start shoutcast and it will work perfectly for you without any problem.</p>
<p>to save <span style="color: #800000;">crtl+x</span></p>
<p>Steps to start shoutcast?</p>
<p><span style="color: #800000;">./sc_serv sc_serv.conf</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/how-to-install-shoutcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install mod proxy</title>
		<link>http://www.theperfectarts.com/2009/08/install-mod-proxy/</link>
		<comments>http://www.theperfectarts.com/2009/08/install-mod-proxy/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 01:51:35 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[cpanel with port 80]]></category>
		<category><![CDATA[Install mod proxy]]></category>
		<category><![CDATA[what is mod proxy]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/2008/08/install-mod-proxy/</guid>
		<description><![CDATA[First login into your server with the root login details cd /home/cpapachebuild/buildapache/apache_1.3.31/src/modules/proxy/ or cd /home/cpeasyapache/src/httpd-2.0.63/modules/proxy Then run command: /usr/local/apache/bin/apxs -i -c *.c Add the following module to the httpd.conf to load proxy module with the httpd configuration file: LoadModule proxy_module libexec/mod_proxy.so And then restart the Apache service: service httpd restart or /etc/init.d/httpd restart You can [...]]]></description>
			<content:encoded><![CDATA[<p>First login into your server with the root login details</p>
<p>cd /home/cpapachebuild/buildapache/apache_1.3.31/src/modules/proxy/</p>
<p>or</p>
<p>cd /home/cpeasyapache/src/httpd-2.0.63/modules/proxy</p>
<p>Then run command:</p>
<p>/usr/local/apache/bin/apxs -i -c *.c</p>
<p>Add the following module to the httpd.conf to load proxy module with the httpd configuration file:</p>
<p>LoadModule proxy_module libexec/mod_proxy.so</p>
<p>And then restart the Apache service:<br />
service httpd restart<br />
or<br />
/etc/init.d/httpd restart</p>
<p>You can check proxy installed or not on your server by using following command.</p>
<p>/usr/local/apache/bin/httpd -l | grep proxy</p>
<div class="blogger-post-footer">http://www.host.co.in/forums/f37/how-check-if-server-suexec-not-821/</div>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/install-mod-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simply check server is SuExec or not?</title>
		<link>http://www.theperfectarts.com/2009/08/simply-check-server-is-suexec-or-not/</link>
		<comments>http://www.theperfectarts.com/2009/08/simply-check-server-is-suexec-or-not/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 22:17:33 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Install server side software / script]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[suexec]]></category>
		<category><![CDATA[SuExec configuration]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/2008/08/simply-check-server-is-suexec-or-not/</guid>
		<description><![CDATA[From your shell run following command [root@xx.xx.xx.xx ~]#/usr/local/cpanel/bin/rebuild_phpconf &#8211;current DEFAULT PHP: 5 PHP4 SAPI: suphp PHP5 SAPI: suphp SUEXEC: enabled or make a php file under any account and change the permissions on that file to 777 and open it in a browser. If it gives 500 Internal Server Error, your most probably running suPHP. [...]]]></description>
			<content:encoded><![CDATA[<p>From your shell run following command</p>
<p>[root@xx.xx.xx.xx ~]#/usr/local/cpanel/bin/rebuild_phpconf &#8211;current</p>
<p>DEFAULT PHP: 5<br />
PHP4 SAPI: suphp<br />
PHP5 SAPI: suphp<br />
SUEXEC: enabled</p>
<p>or make a php file under any account and change the permissions on that file to 777 and open it in a browser. If it gives 500 Internal Server Error, your most probably running suPHP.</p>
<p>Alternatively,<br />
If you have access to WHM &#8211; login, in the menu find Configure PHP and SuExec<br />
Check the drop down box for &#8220;PHP 4/5 Handler&#8221; &#8211; and if beside that it says &#8220;suPHP&#8221; &#8211; then your server is running it.</p>
<p>SuPHP activity is logged in /usr/local/apache/logs/suexec_log. If you tail it, you will see if there is any current activity:<br />
Code:<br />
tail -f /usr/local/apache/logs/suexec_log</p>
<p>you can also get this information from PHP INFO page:</p>
<p>IF</p>
<p>Server API = Apache then server is not running PHP in SuExec mode</p>
<p>And if</p>
<p>Server API = CGI the server is running PHP in SuExec mode</p>
<p>That’s all now you are sure about your server is SuExec or not</p>
<div class="blogger-post-footer">http://www.host.co.in/forums/f37/how-check-if-server-suexec-not-821/</div>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/simply-check-server-is-suexec-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
