<?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>Sat, 04 Sep 2010 00:04:56 +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>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>
		<item>
		<title>Switching to WordPress</title>
		<link>http://setupalinuxserver.com/switching-to-wordpress</link>
		<comments>http://setupalinuxserver.com/switching-to-wordpress#comments</comments>
		<pubDate>Fri, 23 Jul 2010 23:14:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://setupalinuxserver.com/?p=5</guid>
		<description><![CDATA[Good Evening, We are switching our site over to WordPress as our Joomla was very outdated, and our content was stale. Please check back over the next few days as we add fresh new and updated content.]]></description>
			<content:encoded><![CDATA[<p>Good Evening,</p>
<p>We are switching our site over to WordPress as our Joomla was very outdated, and our content was stale. Please check back over the next few days as we add fresh new and updated content.</p>
]]></content:encoded>
			<wfw:commentRss>http://setupalinuxserver.com/switching-to-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
