<?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>Coding With Cody &#187; Servers</title>
	<atom:link href="http://www.codingwithcody.com/category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingwithcody.com</link>
	<description>write compile run repeat</description>
	<lastBuildDate>Tue, 10 Jan 2012 21:52:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Python 2.7 on CentOS 5.6</title>
		<link>http://www.codingwithcody.com/2012/01/python-2-7-on-centos-5-6/</link>
		<comments>http://www.codingwithcody.com/2012/01/python-2-7-on-centos-5-6/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 03:55:28 +0000</pubDate>
		<dc:creator>Cody Snider</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.codingwithcody.com/?p=151</guid>
		<description><![CDATA[Here you have it, folks. A shell script that will handle all the ugliness associated with installing Python 2.7 on CentOS 5.6 (and probably CentOS 5.7, too). Use the following command in your shell (the easy way): wget -q -O http://codingwithcody.com/downloads/python_27_on_centos_56/install.sh &#124; sh Alternately, you can download and run it manually: Download install.sh Here are [...]]]></description>
			<content:encoded><![CDATA[<p>Here you have it, folks. A shell script that will handle all the ugliness associated with installing Python 2.7 on CentOS 5.6 (and probably CentOS 5.7, too).</p>
<p>Use the following command in your shell (the easy way):</p>
<blockquote><p>wget -q -O http://codingwithcody.com/downloads/python_27_on_centos_56/install.sh | sh</p></blockquote>
<p>Alternately, you can download and run it manually: <a title="Installation shell script for Python 2.7 on CentOS 5.6" href="http://www.codingwithcody.com/downloads/python_27_on_centos_56/install.sh">Download install.sh</a></p>
<p>Here are the tarballs used just in case the servers hosting them go down and you&#8217;re eager to get Python 2.7 working:</p>
<ul>
<li><a href="http://www.codingwithcody.com/downloads/python_27_on_centos_56/sqlite-amalgamation-3.7.3.tar.gz">sqlite-amalgamation-3.7.3.tar.gz</a></li>
<li><a href="http://www.codingwithcody.com/downloads/python_27_on_centos_56/Python-2.7.1.tgz">Python-2.7.1.tgz</a></li>
<li><a href="http://www.codingwithcody.com/downloads/python_27_on_centos_56/setuptools-0.6c11-py2.7.egg">setuptools-0.6c11-py2.7.egg</a></li>
</ul>
<p>And, just FYI, here&#8217;s the contents of install.sh:</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p151code2'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1512"><td class="code" id="p151code2"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> gdbm-devel readline-devel ncurses-devel zlib-devel bzip2-devel sqlite-devel db4-devel openssl-devel tk-devel bluez-libs-devel <span style="color: #c20cb9; font-weight: bold;">make</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>sqlite.org<span style="color: #000000; font-weight: bold;">/</span>sqlite-amalgamation-3.7.3.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfz sqlite-amalgamation-3.7.3.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> sqlite-3.7.3<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.python.org<span style="color: #000000; font-weight: bold;">/</span>ftp<span style="color: #000000; font-weight: bold;">/</span>python<span style="color: #000000; font-weight: bold;">/</span>2.7.1<span style="color: #000000; font-weight: bold;">/</span>Python-2.7.1.tgz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz Python-2.7.1.tgz
<span style="color: #7a0874; font-weight: bold;">cd</span> Python-2.7.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1 <span style="color: #660033;">--with-threads</span> <span style="color: #660033;">--enable-shared</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ld.so.conf.d<span style="color: #000000; font-weight: bold;">/</span>opt-python2.7.1.conf
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;/opt/python2.7.1/lib/&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ld.so.conf.d<span style="color: #000000; font-weight: bold;">/</span>opt-python2.7.1.conf
ldconfig
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python2.7
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>pypi.python.org<span style="color: #000000; font-weight: bold;">/</span>packages<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2.7</span><span style="color: #000000; font-weight: bold;">/</span>s<span style="color: #000000; font-weight: bold;">/</span>setuptools<span style="color: #000000; font-weight: bold;">/</span>setuptools-0.6c11-py2.7.egg
<span style="color: #c20cb9; font-weight: bold;">sh</span> setuptools-0.6c11-py2.7.egg <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>easy_install pip
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>pip <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>pip
&nbsp;
pip <span style="color: #c20cb9; font-weight: bold;">install</span> virtualenv
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>python2.7.1<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>virtualenv <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>virtualenv
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python-backup
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python2.7 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>python</pre></td></tr></table></div>

<p>Any improvements are more than welcome. Enjoy and happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingwithcody.com/2012/01/python-2-7-on-centos-5-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Stopping Non-Essential Services on CentOS</title>
		<link>http://www.codingwithcody.com/2010/07/stopping-non-essential-services-on-centos/</link>
		<comments>http://www.codingwithcody.com/2010/07/stopping-non-essential-services-on-centos/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 04:55:23 +0000</pubDate>
		<dc:creator>Cody Snider</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://codingwithcody.com/?p=68</guid>
		<description><![CDATA[Under an out-of-the-box installation of CentOS, many services are running that are non-essential for a LAMP stack to run effectively. Running the following (either individually or as a script) will remove these services from the boot. Original post from VPS.net View Code BASH#Shut down non essential services: &#160; # 1. sendmail # Purpose: sending mail, [...]]]></description>
			<content:encoded><![CDATA[<p>Under an out-of-the-box installation of CentOS, many services are running that are non-essential for a LAMP stack to run effectively. Running the following (either individually or as a script) will remove these services from the boot.</p>
<p><a href="http://www.vps.net/forum/public-forums/general-discussion/850-removing-unnecessary-servies-on-centos-lamp-config" target="_blank">Original post from VPS.net</a></p>
<blockquote>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p68code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p684"><td class="code" id="p68code4"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#Shut down non essential services:</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># 1. sendmail</span>
<span style="color: #666666; font-style: italic;"># Purpose: sending mail, most use another</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sendmail</span> stop
chkconfig <span style="color: #c20cb9; font-weight: bold;">sendmail</span> off
&nbsp;
<span style="color: #666666; font-style: italic;"># 2. nfs</span>
<span style="color: #666666; font-style: italic;"># Purpose: mount a disk from another machine</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>portmap stop
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>nfs stop
chkconfig portmap off
chkconfig nfs off
&nbsp;
<span style="color: #666666; font-style: italic;"># 3. chargen</span>
<span style="color: #666666; font-style: italic;"># Purpose: testing char generation</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>chargen stop
chkconfig chargen off
&nbsp;
<span style="color: #666666; font-style: italic;"># 4. ypbind</span>
<span style="color: #666666; font-style: italic;"># Purpose: stores info on NIS domains</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>ypbind stop
chkconfig ypbind off
&nbsp;
<span style="color: #666666; font-style: italic;"># 5. anacron</span>
<span style="color: #666666; font-style: italic;"># Purpose: cron for systems that shut down a lot</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>anacron stop
chkconfig anacron off
&nbsp;
<span style="color: #666666; font-style: italic;"># 6. atd</span>
<span style="color: #666666; font-style: italic;"># Purpose: at cmd daemon</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>atd stop
chkconfig atd off
&nbsp;
<span style="color: #666666; font-style: italic;"># 7. routed</span>
<span style="color: #666666; font-style: italic;"># Purpose: Route packets, log tables</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>routed stop
chkconfig routed off
&nbsp;
<span style="color: #666666; font-style: italic;"># 8. snmpd</span>
<span style="color: #666666; font-style: italic;"># Purpose: network monitoring</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>snmpd stop
chkconfig snmpd off
&nbsp;
<span style="color: #666666; font-style: italic;"># 9. gpm</span>
<span style="color: #666666; font-style: italic;"># Purpose: mouse</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gpm stop
chkconfig gpm off
&nbsp;
<span style="color: #666666; font-style: italic;"># 10. smartd</span>
<span style="color: #666666; font-style: italic;"># Purpose: disk health monitor</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>smartd stop
chkconfig smartd stop
&nbsp;
<span style="color: #666666; font-style: italic;"># 11. hidd</span>
<span style="color: #666666; font-style: italic;"># Purpose: bluetooth</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>hidd stop
chkconfig hidd off
&nbsp;
<span style="color: #666666; font-style: italic;"># 12. pcscf</span>
<span style="color: #666666; font-style: italic;"># Purpose: smart card reader</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>pcscd stop
chkconfig pcscf off
&nbsp;
<span style="color: #666666; font-style: italic;"># 13. isdn</span>
<span style="color: #666666; font-style: italic;"># Purpose: digital network</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>isdn stop
chkconfig isdn off
&nbsp;
<span style="color: #666666; font-style: italic;"># 14. kudzu</span>
<span style="color: #666666; font-style: italic;"># Purpose: watches for new hardware</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>kudzu stop
chkconfig kudzu off
&nbsp;
<span style="color: #666666; font-style: italic;"># 15. cups</span>
<span style="color: #666666; font-style: italic;"># Purpose: printing</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cups stop
chkconfig cups off
&nbsp;
<span style="color: #666666; font-style: italic;"># 16. xfs</span>
<span style="color: #666666; font-style: italic;"># Purpose: serves x# 1# 1 fonts</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>xfs stop
chkconfig xfs off
&nbsp;
<span style="color: #666666; font-style: italic;"># 17. nfslock</span>
<span style="color: #666666; font-style: italic;"># Purpose: file sys lock</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>nfslock stop
chkconfig nfslock off
&nbsp;
<span style="color: #666666; font-style: italic;"># 18. canna</span>
<span style="color: #666666; font-style: italic;"># Purpose: Chinese chars</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>canna stop
chkconfig canna off
&nbsp;
<span style="color: #666666; font-style: italic;"># 19. freeWnn</span>
<span style="color: #666666; font-style: italic;"># Purpose: Japanese chars</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>FreeWnn stop
chkconfig FreeWnn off
&nbsp;
<span style="color: #666666; font-style: italic;"># 20. cups-config-daemon</span>
<span style="color: #666666; font-style: italic;"># Purpose: print config</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>cups-config-daemon stop
chkconfig cups-config-daemon off
&nbsp;
<span style="color: #666666; font-style: italic;"># 21. iiim</span>
<span style="color: #666666; font-style: italic;"># Purpose: internet language input</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>iiim stop
chkconfig iiim off
&nbsp;
<span style="color: #666666; font-style: italic;"># 22. mDNSResponder</span>
<span style="color: #666666; font-style: italic;"># Purpose: dns service discovery</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mDNSResponder stop
chkconfig mDNSResponder off
&nbsp;
<span style="color: #666666; font-style: italic;"># 23. nifd</span>
<span style="color: #666666; font-style: italic;"># Purpose: monitors net interfaces</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>nifd stop
chkconfig nifd off
&nbsp;
<span style="color: #666666; font-style: italic;"># 24. rpcimpad</span>
<span style="color: #666666; font-style: italic;"># Purpose: used for nfs server</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>rpcimpad stop
chkconfig rpcimpad off
&nbsp;
<span style="color: #666666; font-style: italic;"># 25. bluetooth</span>
<span style="color: #666666; font-style: italic;"># Purpose: bluetooth devices</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>bluetooth stop
chkconfig bluetooth off
&nbsp;
<span style="color: #666666; font-style: italic;"># 26. saslauthd</span>
<span style="color: #666666; font-style: italic;"># Purpose: handles plaintext authentication requests</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>saslauthd stop
chkconfig saslauthd off
Notes: some systems use this <span style="color: #000000; font-weight: bold;">for</span> email auth<span style="color: #000000; font-weight: bold;">!</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># 27. avahi-daemon</span>
<span style="color: #666666; font-style: italic;"># Purpose: instant network recognition</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>avahi-daemon stop
chkconfig avahi-daemon off
&nbsp;
<span style="color: #666666; font-style: italic;"># 28. avahi-dnsconfd</span>
<span style="color: #666666; font-style: italic;"># Purpose: instant network recognition</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>avahi-dnsconfd stop
chkconfig avahi-dnsconfd off
&nbsp;
<span style="color: #666666; font-style: italic;"># 29. sbadm</span>
<span style="color: #666666; font-style: italic;"># Purpose: rapid reboot</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>sbadm stop
chkconfig sbadm off
&nbsp;
<span style="color: #666666; font-style: italic;"># 30. haldaemon</span>
<span style="color: #666666; font-style: italic;"># Purpose: monitors for hardware changes</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>haldaemon stop
chkconfig haldaemon off
&nbsp;
<span style="color: #666666; font-style: italic;"># 31. acpi</span>
<span style="color: #666666; font-style: italic;"># Purpose: sleep/hibernate control</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>acpi stop
chkconfig acpi off
&nbsp;
<span style="color: #666666; font-style: italic;"># 99. gamin</span>
<span style="color: #666666; font-style: italic;"># Purpose: monitors file/dir changes</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gamin stop
yum <span style="color: #660033;">-y</span> remove gamin</pre></td></tr></table></div>

</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.codingwithcody.com/2010/07/stopping-non-essential-services-on-centos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Symbolic Links</title>
		<link>http://www.codingwithcody.com/2010/07/using-symbolic-links/</link>
		<comments>http://www.codingwithcody.com/2010/07/using-symbolic-links/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 22:41:59 +0000</pubDate>
		<dc:creator>Cody Snider</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://codingwithcody.com/?p=60</guid>
		<description><![CDATA[Symbolic links (symlinks) are an extremely useful tool to every system admin and web application developer. They work a lot like a shortcut in Windows. Let&#8217;s say you were working with a web application that used a framework that held all Javascript, CSS and image files in a tucked-away location (for the sake of this [...]]]></description>
			<content:encoded><![CDATA[<p>Symbolic links (symlinks) are an extremely useful tool to every system admin and web application developer. They work a lot like a shortcut in Windows. Let&#8217;s say you were working with a web application that used a framework that held all Javascript, CSS and image files in a tucked-away location (for the sake of this example, that location is /var/www/html/production/clientside/, making /var/www/html/production/clientside/js/ the location of the Javascript files). And you, the developer working on creating these Javascript, CSS and image files, wanted to use /js/somefile.js instead of a longer name like /production/clientside/js/somefile.js in your public-facing code. To do this, use the following commands:</p>
<p><code>ln -s /var/www/html/production/clientside/js/ /var/www/html/js/</code></p>
<p><code>ln -s /var/www/html/production/clientside/css/ /var/www/html/css/</code></p>
<p><code>ln -s /var/www/html/production/clientside/images/ /var/www/html/images/</code></p>
<p>Bear in mind that if you are using a framework that has pretty URL rules in the .htaccess file, you will have to make exclusions (below is the basic /var/www/html/.htaccess in our example framework):</p>
<p><code>RewriteEngine on<br />
RewriteCond $1 !^(index\.php|images|robots\.txt|css|js)<br />
RewriteRule ^(.*)$ /index.php/$1 [L]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingwithcody.com/2010/07/using-symbolic-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable yum-updatesd for better performance</title>
		<link>http://www.codingwithcody.com/2009/08/disable-yum-updatesd-for-better-performance/</link>
		<comments>http://www.codingwithcody.com/2009/08/disable-yum-updatesd-for-better-performance/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 05:54:10 +0000</pubDate>
		<dc:creator>Cody Snider</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://codingwithcody.com/?p=39</guid>
		<description><![CDATA[On a base server install for Centos 5.2, yum-updatesd is included and it seems like a fairly good idea to keep that running (keeps you updated). Not so and it&#8217;s safe to disable this (kill the process and disable it from starting up in the first place. Here&#8217;s the process, I noticed an immediate speed [...]]]></description>
			<content:encoded><![CDATA[<p>On a base server install for Centos 5.2, yum-updatesd is included and it seems like a fairly good idea to keep that running (keeps you updated). Not so and it&#8217;s safe to disable this (kill the process and disable it from starting up in the first place.</p>
<p>Here&#8217;s the process, I noticed an immediate speed increase in my VPS when I disabled it (among a few other thing like avahi):</p>
<blockquote><p>/usr/bin/python -tt /usr/sbin/yum-updatesd</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.codingwithcody.com/2009/08/disable-yum-updatesd-for-better-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2003 Enterprise Edition R2</title>
		<link>http://www.codingwithcody.com/2008/11/windows-server-2003-enterprise-edition-r2/</link>
		<comments>http://www.codingwithcody.com/2008/11/windows-server-2003-enterprise-edition-r2/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 07:17:44 +0000</pubDate>
		<dc:creator>Cody Snider</dc:creator>
				<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://codingwithcody.com/?p=8</guid>
		<description><![CDATA[I&#8217;m taking the plunge and moving my home server from Linux to Windows. Usually people move the other direction, but after years of configuring every other distribution of Linux (which, in the end, Centos takes the cake), I&#8217;ve opted for compatibility and easy-of-use. All the Linux fanboys are probaby shouting something to the effect of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m taking the plunge and moving my home server from Linux to Windows. Usually people move the other direction, but after years of configuring every other distribution of Linux (which, in the end, Centos takes the cake), I&#8217;ve opted for compatibility and easy-of-use.</p>
<p>All the Linux fanboys are probaby shouting something to the effect of &#8220;You moron! You weren&#8217;t using Linux right if you think Windows is better!&#8221; Tell me this: Which OS of the three major players has DirectX? Compatibility with 95% of your hardware right out of the box? Every major software package from Adobe, Sony, Microsoft, ActiveState, Intuit and AutoDesk? When it comes down to itWindows is still number one.</p>
<p>What has yet to be seen is whether I stick with Server 2003 or go running back to Centos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codingwithcody.com/2008/11/windows-server-2003-enterprise-edition-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

