<?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; VPS</title>
	<atom:link href="http://setupalinuxserver.com/category/vps/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>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>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>

