<?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</title>
	<atom:link href="http://setupalinuxserver.com/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>New Server or VPS Install Tweaks</title>
		<link>http://setupalinuxserver.com/new-server-or-vps-install-tweaks</link>
		<comments>http://setupalinuxserver.com/new-server-or-vps-install-tweaks#comments</comments>
		<pubDate>Wed, 26 Jan 2011 01:50:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=40</guid>
		<description><![CDATA[As many of you know setting up a new vps or dedicated server can be a time consuming process, where you copy and paste the same commands and updates over and over again. If this sounds like something you do, &#8230; <a href="http://setupalinuxserver.com/new-server-or-vps-install-tweaks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As many of you know setting up a new vps or dedicated server can be a time consuming process, where you copy and paste the same commands and updates over and over again. If this sounds like something you do, I have created two scripts for you that fully automates this process.</p>
<p><span id="more-40"></span></p>
<p>The scripts are a txt file so make sure you take a look at it in a browser just to make sure.</p>
<p>** These two scripts are designed for CentOS 5.x 32 or 64bit.</p>
<p>From the SSH prompt run either of the following depending if you are on a dedicated server or vps.</p>
<p>If Dedicated Server:</p>
<p>cd /root<br />
wget http://scripts.rubyringtech.com/setupserver.txt<br />
mv setupserver.txt setupserver.sh<br />
chmod 777 setupserver.sh<br />
./setupserver.sh<br />
reboot</p>
<p>or for a VPS</p>
<p>cd /root<br />
wget http://scripts.rubyringtech.com/setupvps.txt<br />
mv setupvps.txt setupvps.sh<br />
chmod 777 setupvps.sh<br />
./setupvps.sh</p>
<p>reboot</p>
<p>Hope this helps make basic setup much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/new-server-or-vps-install-tweaks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blueonyx OpenVZ OS Template</title>
		<link>http://setupalinuxserver.com/blueonyx-openvz-os-template</link>
		<comments>http://setupalinuxserver.com/blueonyx-openvz-os-template#comments</comments>
		<pubDate>Wed, 26 Jan 2011 01:41:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=37</guid>
		<description><![CDATA[We are proud to announce our completion of a Blueonyx OpenVZ Template. BlueOnyx is a Linux distribution (based on CentOS v5.5) which aims at delivering a turnkey server appliance for webhosting. It comes with a web based GUI interface which &#8230; <a href="http://setupalinuxserver.com/blueonyx-openvz-os-template">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We are proud to announce our completion of a Blueonyx OpenVZ Template.</p>
<p>BlueOnyx is a Linux distribution (based on CentOS v5.5) which aims at  delivering a turnkey server appliance for webhosting. It comes with a  web based GUI interface which allows you (and your email, FTP and  webhosting clients!) to manage most aspects of the server, its sites and  accounts through a browser based interface. It is open source software,  released under a Sun modified BSD license.<br />
<span id="more-37"></span><br />
BlueOnyx is a modernized fork of BlueQuartz and has been developed by  Solarspeed.net and NuOnce Networks, Inc. and A lot of improvements and  enhancements (compared to a regular BlueQuartz) went into BlueOnyx.  Including support for Java Servlet Pages, built in web based email,  phpMyAdmin for you and your webhosting clients and provisions to  automatically create MySQL databases and users for each virtual site.</p>
<p>Our template is already on all our VPS Servers ready to deploy in a matter of minutes!</p>
<p>This template takes all the benefits of the Blueonyx control panel, and has it setup and ready to go on a VPS.<br />
We have made sure to test and test and test if you find any bugs please  let us know. This template is a base install with the following  tweaks/updates.</p>
<ul>
<li>All updates applied and installed as of Oct 13, 2010</li>
<li>MySQL my.cnf file tweaked for amazing performance</li>
<li>CSF and LFD Firewalls installed and running</li>
<li>2038 SSL Bug fixed</li>
<li>Optimized for 512MB – 1024MB VPS</li>
<li>307 MB’s of RAM used on clean boot</li>
<li>1.2GB’s Disk Space fresh install</li>
</ul>
<p>Please feel free to use this template on your vps systems.<br />
** admin and root Passwords set to: blueonyx **</p>
<p>You can get the image from our download mirror at <a href="http://mirrors.rubyringtech.com/openvz/">http://mirrors.rubyringtech.com/openvz/</a> or <a href="http://rubyringtech.com/vps-solutions">order a VPS from us today!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/blueonyx-openvz-os-template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better Network Performance</title>
		<link>http://setupalinuxserver.com/better-network-performance</link>
		<comments>http://setupalinuxserver.com/better-network-performance#comments</comments>
		<pubDate>Tue, 12 Oct 2010 16:10:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=33</guid>
		<description><![CDATA[As we all know a basic install of any OS is never tweaked out for performance but setup for general use.  One of the biggest problems in the Linux (CentOS, Ubuntu, Fedora, I have not tested other OS&#8217;s) is the &#8230; <a href="http://setupalinuxserver.com/better-network-performance">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As we all know a basic install of any OS is never tweaked out for performance but setup for general use.  One of the biggest problems in the Linux (CentOS, Ubuntu, Fedora, I have not tested other OS&#8217;s) is the network is never really tweaked up.<span id="more-33"></span></p>
<p>However running a few simple commands and updating a single file can produce a massive increase in performance.</p>
<p>** Please note that there are other issues that can cause poor performance **</p>
<p>Example Bad Network Cable, Cheap Switch, Overloaded Router, and others.</p>
<p>Run the following commands from the prompt.</p>
<p>mv /etc/sysctl.conf sysctl.bak<br />
cd /etc<br />
wget <a href="http://www.setupalinuxserver.com/files/sysctl.conf.txt" target="_blank">http://www.setupalinuxserver.com/files/sysctl.conf.txt</a><br />
mv sysctl.conf.txt sysctl.conf<br />
/sbin/sysctl -p<br />
/sbin/sysctl -w net.ipv4.route.flush=1</p>
<p>You should see a performance increase right away.  Please let me know if this helps you out or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/better-network-performance/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS Sale</title>
		<link>http://setupalinuxserver.com/vps-sale</link>
		<comments>http://setupalinuxserver.com/vps-sale#comments</comments>
		<pubDate>Mon, 13 Sep 2010 21:54:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=30</guid>
		<description><![CDATA[Over at Ruby Ring Technologies they have reduced there VPS prices to an almost insane level.  Check out the prices. All the VPS&#8217;s include 1IP Address, at least 2GHz of CPU Power, and 10Mbps Unmettered Bandwidth ! http://rubyringtech.com/vps_solutions.html VPS256 OpenVZ &#8230; <a href="http://setupalinuxserver.com/vps-sale">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over at <a href="http://rubyringtech.com">Ruby Ring Technologies</a> they have reduced there VPS prices to an almost insane level.  Check out the prices.</p>
<p>All the VPS&#8217;s include 1IP Address, at least 2GHz of CPU Power, and 10Mbps Unmettered Bandwidth ! <a href="http://rubyringtech.com/vps_solutions.html">http://rubyringtech.com/vps_solutions.html</a></p>
<p>VPS256</p>
<ul>
<li>OpenVZ</li>
<li>10 GB&#8217;s Disk Space</li>
<li>256 MB&#8217;s RAM</li>
<li>512 MB&#8217;s Burstable</li>
<li>$4.49/Month</li>
</ul>
<p>VPS512</p>
<ul>
<li>OpenVZ</li>
<li>25 GB&#8217;s Disk Space</li>
<li>512 MB&#8217;s RAM</li>
<li>768 MB&#8217;s Burstable</li>
<li>$7.49/Month</li>
</ul>
<p>VPS1024</p>
<ul>
<li>OpenVZ</li>
<li>50 GB&#8217;s Disk Space</li>
<li>1024 MB&#8217;s RAM</li>
<li>1280 MB&#8217;s Burstable</li>
<li>$9.49/Month</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/vps-sale/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing The Launch Of Backup Smart</title>
		<link>http://setupalinuxserver.com/announcing-the-launch-of-backup-smart</link>
		<comments>http://setupalinuxserver.com/announcing-the-launch-of-backup-smart#comments</comments>
		<pubDate>Sat, 04 Sep 2010 00:04:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=26</guid>
		<description><![CDATA[Well it&#8217;s good news for website owners because someone has finally made it easy to backup your website files and databases without needing to log into your cPanel control panel every single time. Gone are the days when you forget &#8230; <a href="http://setupalinuxserver.com/announcing-the-launch-of-backup-smart">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well it&#8217;s good news for website owners because someone has finally made it easy to backup your website files and databases without needing to log into your cPanel control panel every single time.<br />
<span id="more-26"></span><br />
Gone are the days when you forget to backup or run out of time to backup your precious data.</p>
<p>Think about this for a moment&#8230;</p>
<p>What happens when your web host has a failure and your account get&#8217;s damaged or worse case scenario, the web host loses everything.?</p>
<p>Do you rely on your web host to take backups for you? Check the fine print of most web hosts terms of service and they will state that they are not responsible for your data, even if it&#8217;s their fault. Great isn&#8217;t it.</p>
<p>So what&#8217;s the solution. Simple. Backup your data regularly.</p>
<p>Let me tell you how to do it on cPanel web servers, it&#8217;s quite labour intensive.</p>
<p>a) Go to your http://yourwebsite.com:2082 and enter in your login credentials.<br />
b) Go to the Backup icon (will look different depending on your cPanel theme)<br />
c) Click on the link to download the home directory backup (this will take all your files)<br />
d) Click on the links to download your databases<br />
e) Click on the links to download your email filters or email aliases</p>
<p>Now do that once a week or month for your home directory (files) and everyday for your databases like WordPress, Forums, Shopping Carts, Email Lists.</p>
<p>No thanks I have better things to do with my time.</p>
<p>That&#8217;s where Backup Smart comes in. It&#8217;s a desktop software application that runs on Windows and MAC OSX. It automates the whole backup process I&#8217;ve just outlined for you.</p>
<p>You just set it and forget it. Backups are done on a schedule set by you, it&#8217;s just so easy.</p>
<p>If you even have just one website with a database then you need this software to protect your assests. But if you have more than one website on different servers with multiple databases then this software is a huge time saver and you&#8217;ll wonder how you ever did without it.</p>
<p>Check out all the details at&#8230;<br />
<a href="http://atorreso.backup-smart.com">http://atorreso.backup-smart.com</a></p>
<p>To Your Success,</p>
<p>Anthony Torreso</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/announcing-the-launch-of-backup-smart/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete Files Older Than x Days</title>
		<link>http://setupalinuxserver.com/delete-files-older-than-x-days</link>
		<comments>http://setupalinuxserver.com/delete-files-older-than-x-days#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:47:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=23</guid>
		<description><![CDATA[The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number &#8230; <a href="http://setupalinuxserver.com/delete-files-older-than-x-days">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The find utility on linux allows you to pass in a bunch of  interesting arguments, including one to execute another command on each  file. We’ll use this in order to figure out what files are older than a  certain number of days, and then use the rm command to delete them.</p>
<p><strong>Command Syntax</strong></p>
<blockquote><p>find /path/to/files* -mtime +5 -exec rm {} \;</p></blockquote>
<p>Note that there are spaces between rm, {}, and \;</p>
<p><strong>Explanation</strong></p>
<ul>
<li>The first argument is the path to the files. This can be a path, a  directory, or a wildcard as in the example above. I would recommend  using the full path, and make sure that you run the command without the  exec rm to make sure you are getting the right results.</li>
<li>The second argument, -mtime, is used to specify the number of days  old that the file is. If you enter +5, it will find files older than 5  days.</li>
<li>The third argument, -exec, allows you to pass in a command such as rm. The {} \; at the end is required to end the command.</li>
</ul>
<p>This should work on Ubuntu, Suse, Redhat, or pretty much any version of linux.</p>
<p><em>Source: http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/</em></p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/delete-files-older-than-x-days/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocked at AOL</title>
		<link>http://setupalinuxserver.com/blocked-at-aol</link>
		<comments>http://setupalinuxserver.com/blocked-at-aol#comments</comments>
		<pubDate>Sun, 25 Jul 2010 04:10:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=20</guid>
		<description><![CDATA[AOL as we know is still a large ISP, but a massive pain in the butt to hosting providers because one piece of spam and bang your IP is blocked. This is a simple test to tell if AOL has &#8230; <a href="http://setupalinuxserver.com/blocked-at-aol">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>AOL as we know is still a large ISP, but a massive pain in the butt to hosting providers because one piece of spam and bang your IP is blocked.</p>
<p>This is a simple test to tell if AOL has you blocked. First SSH into your server or vps the run this following command.</p>
<p>telnet mailin-01.mx.aol.com 25</p>
<p>If you get a response your not blocked, if no response well you are. Then you have to go down the fun path of fixing this.</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/blocked-at-aol/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>
		<item>
		<title>Switching from Apache to Lighttpd</title>
		<link>http://setupalinuxserver.com/switching-from-apache-to-lighttpd</link>
		<comments>http://setupalinuxserver.com/switching-from-apache-to-lighttpd#comments</comments>
		<pubDate>Sat, 24 Jul 2010 00:26:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=13</guid>
		<description><![CDATA[One of my side projects is running a free image hosting site.  FreeImageHostingOn.US with this site I have been pushing out millions of hits a day and as you can imagine it puts a load on many shared hosting providers.  &#8230; <a href="http://setupalinuxserver.com/switching-from-apache-to-lighttpd">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of my side projects is running a free image hosting site.  <a href="http://freeimagehostingon.us">FreeImageHostingOn.US</a> with this site I have been pushing out millions of hits a day and as you can imagine it puts a load on many shared hosting providers.  So the other day I grabbed a VPS from <a href="http://rubyringtech.com">Ruby Ring Technologies</a> and I installed the CentOS/LXAdmin image.  Out of the box this VPS screamed.  However I know I could get more performance out of it.  The following six lines of code did more then double the thruput and halved the ram usage.</p>
<p>Add the following lines to the lighttpd.conf file.</p>
<p>server.max-keep-alive-requests = 4<br />
server.max-keep-alive-idle = 4<br />
server.event-handler = “linux-sysepoll”<br />
server.network-backend = “linux-sendfile”<br />
server.max-fds = 8192<br />
server.stat-cache-engine = “simple”</p>
<p>As you can see from the following image, things are moving along nicely.</p>
<p><img class="alignnone" title="Traffic" src="http://freeimagehostingon.us/files/uwfp5oll9g7kyr35l6ea.png" alt="Bandwidth Traffic" width="697" height="282" /></p>
<p>The current load on the server is 0.0 and the ram used it 66MB&#8217;s for live stats check out this link.  <a href="http://freeimagehostingon.us/traffic.php">System Usage.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/switching-from-apache-to-lighttpd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

