<?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>Setup a Linux Server or VPS &#187; CentOS</title>
	<atom:link href="http://setupalinuxserver.com/category/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://setupalinuxserver.com</link>
	<description>Tips, Tricks, and Howto&#039;s</description>
	<lastBuildDate>Thu, 27 Jan 2011 18:36:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>CentOS 5 cPanel OpenVZ Template</title>
		<link>http://setupalinuxserver.com/centos-5-cpanel-openvz-template</link>
		<comments>http://setupalinuxserver.com/centos-5-cpanel-openvz-template#comments</comments>
		<pubDate>Thu, 27 Jan 2011 18:08:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=44</guid>
		<description><![CDATA[I am proud to announce the completion of a new OpenVZ VPS template. This template has been setup with the following. CentOS 5 64bit cPanel Template. Built with 512MB&#8217;s RAM for easy scale up. root@domain [/]# free -m total       used       &#8230; <a href="http://setupalinuxserver.com/centos-5-cpanel-openvz-template">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am proud to announce the completion of a new OpenVZ VPS template. This template has been setup with the following.</p>
<p>CentOS 5 64bit cPanel Template.<br />
Built with 512MB&#8217;s RAM for easy scale up.</p>
<p><span id="more-44"></span></p>
<p>root@domain [/]# free -m<br />
total       used       free     shared    buffers     cached<br />
Mem:           768        285        482          0          0          0<br />
-/+ buffers/cache:        285        482<br />
Swap:            0          0          0<br />
root@domain [/]# df -h<br />
Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/simfs             25G  4.1G   21G  17% /<br />
none                  384M  4.0K  384M   1% /dev<br />
root@domain [~]# uname -a<br />
Linux domain.com 2.6.18-194.26.1.el5.028stab070.14 #1 SMP Thu Nov 18 16:34:01 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux<br />
root@domain [~]#</p>
<p>Things ToDo:<br />
Set Host Name<br />
Set Contact Information<br />
Setup Name Servers / Cluster DNS<br />
Setup Packages<br />
Configure Backups<br />
Set TimeZone<br />
/usr/local/cpanel/cpkeyclt</p>
<p>Notes:<br />
File System Quotas are enabled.</p>
<p>Installed Software / Setup.</p>
<p>Apache 2.2.17<br />
mod_flvx &#8211; FLV Streaming Support.<br />
Ruby on Rails<br />
Ruby Gems<br />
flvtool2<br />
mplayer<br />
mencoder<br />
PHP 5.2.9<br />
MySQL 5.0.91</p>
<p>ConfigServer Firewall<br />
ConfigServer Mail Manage<br />
ConfigServer Mail Queues<br />
Account DNS Check<br />
Clean Backups<br />
Softaculous Free</p>
<p>Please post any problems, hints, tricks, or updates you think should be added to this.</p>
<p>This install has been tweaked up, decked out, hopped up, and ready to go.</p>
<p>I have tested this template install from 512MB &#8211; 8GB&#8217;s and it loads up each time.</p>
<p>Download size 1.3GB&#8217;s</p>
<p>http://mirrors.rubyringtech.com/openvz/</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/centos-5-cpanel-openvz-template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Server Setup</title>
		<link>http://setupalinuxserver.com/basic-server-setup</link>
		<comments>http://setupalinuxserver.com/basic-server-setup#comments</comments>
		<pubDate>Sun, 25 Jul 2010 04:05:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=18</guid>
		<description><![CDATA[No matter how new your server or vps is, it is outdated and running old software.  While I am not the best, nor do I know everything this is a base of what I do when I get a new &#8230; <a href="http://setupalinuxserver.com/basic-server-setup">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>No matter how new your server or vps is, it is outdated and running old software.  While I am not the best, nor do I know everything this is a base of what I do when I get a new box online.</p>
<p>Again assuming you can SSH into the box.</p>
<p>yum -y install nano<br />
yum -y install yum-priorities<br />
wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
rpm &#8211;import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt<br />
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm<br />
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm<br />
wget http://dag.linux.iastate.edu/dag/RPM-GPG-KEY.dag.txt<br />
rpm &#8211;import RPM-GPG-KEY.dag.txt</p>
<p>nano /etc/yum.repos.d/dag.repo</p>
<p>[dag]<br />
name=Dag RPM Repository for Red Hat Enterprise Linux<br />
baseurl=http://dag.linux.iastate.edu/dag/redhat/el5/en/$basearch/dag<br />
gpgcheck=1<br />
enabled=1</p>
<p>Save and Exit</p>
<p>yum -y install perl-libwww-perl<br />
yum -y update</p>
<p>chkconfig cups off<br />
chkconfig pcmcia off<br />
chkconfig kudzu off<br />
chkconfig isdn off<br />
chkconfig xfs off<br />
chkconfig atd off<br />
chkconfig nfslock off<br />
chkconfig canna off<br />
chkconfig FreeWnn off<br />
chkconfig cups-config-daemon off<br />
chkconfig iiim off<br />
chkconfig mDNSResponder off<br />
chkconfig nifd off<br />
chkconfig rpcidmapd off<br />
chkconfig bluetooth off<br />
chkconfig anacron off<br />
chkconfig gpm off<br />
chkconfig saslauthd off<br />
chkconfig avahi-daemon off<br />
chkconfig avahi-dnsconfd off<br />
chkconfig hidd off<br />
chkconfig pcscd off<br />
chkconfig sbadm off<br />
chkconfig ossec off<br />
chkconfig acpid off<br />
chkconfig dhcpd off<br />
chkconfig firstboot off</p>
<p>mkdir /root/source<br />
cd /root/source<br />
wget http://www.configserver.com/free/csf.tgz<br />
tar -xzf csf.tgz<br />
cd csf<br />
sh install.sh</p>
<p>nano /etc/csf/csf.conf</p>
<p>Change TESTING=&#8221;1&#8243; to TESTING=&#8221;0&#8243;<br />
AUTO_UPDATES=&#8221;0&#8243; to AUTO_UPDATES=&#8221;1&#8243;</p>
<p>TCP_IN = &#8220;20,21,22,25,26,37,43,53,80,106,110,113,143,443,465,587,873,990,993,995,1129,2077,2078,2082,2083,2086,2087,2095,2096,3306,5224,5432,7777,7778,8443,8880,8888,8889,9080,10000,30000:35000&#8243;<br />
TCP_OUT = &#8220;20,21,22,25,26,37,43,53,80,106,110,113,143,443,465,587,873,990,993,995,1129,2077,2078,2082,2083,2086,2087,2095,2096,3306,5224,5432,7777,7778,8443,8880,8888,8889,9080,10000&#8243;<br />
UDP_IN = &#8220;20,21,53,953&#8243;<br />
UDP_OUT = &#8220;20,21,53,113,123,953,33434:33523&#8243;</p>
<p>service csf restart<br />
service lfd restart</p>
<p>reboot</p>
<p>. Add Passive Port range 30000-350000 to your Pureftp or Proftp configuration file<br />
(i) Pureftpd<br />
open /etc/pure-ftpd.conf, and this line<br />
PassivePortRange    30000 35000<br />
(ii) ProFTP<br />
Open /etc/proftpd.conf, and add this line<br />
PassivePorts    30000 35000</p>
<p>Now there are many other things you can do, root kit hunters and log rotators and more. However depending on your needs this alone will get you off to a good start.</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/basic-server-setup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

