<?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; Tips and Tricks</title>
	<atom:link href="http://setupalinuxserver.com/category/tips-and-tricks/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>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>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>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>
	</channel>
</rss>

