<?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>UDFI, LLC &#187; linux admin</title>
	<atom:link href="http://www.udfi.biz/category/technology/linux-admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.udfi.biz</link>
	<description>High Tech on the East Coast</description>
	<lastBuildDate>Tue, 23 Aug 2011 18:11:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>centos 4 and php 5.2.11 &#8211; htf do I do this?</title>
		<link>http://www.udfi.biz/2010/02/centos-4-and-php-5-2-11-htf-do-i-do-this/</link>
		<comments>http://www.udfi.biz/2010/02/centos-4-and-php-5-2-11-htf-do-i-do-this/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:45:00 +0000</pubDate>
		<dc:creator>David Wang</dc:creator>
				<category><![CDATA[linux admin]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.udfi.biz/?p=216</guid>
		<description><![CDATA[So I still have a centos 4 box running to host my blog.  However, as most people have probably found out it has a rather outdated php version.  So how do you get around this? To get around this, you &#8230; <a href="http://www.udfi.biz/2010/02/centos-4-and-php-5-2-11-htf-do-i-do-this/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I still have a centos 4 box running to host my blog.  However, as most people have probably found out it has a rather outdated php version.  So how do you get around this?</p>
<p>To get around this, you have several options:</p>
<p>1.  build all the binaries from scratch</p>
<p>2. upgrade to centos 5 (scary)</p>
<p>3.  find a nice person who has a set of repositories</p>
<p>4.  build all the binaries from scratch and make them rpms (im waaaay to lazy for this)</p>
<p>that nice person is jason at www.utterramblings.com who&#8217;s put up a repository and given instructions on his blog:</p>
<p><a href="http://www.jasonlitka.com/yum-repository/">http://www.jasonlitka.com/yum-repository/</a></p>
<p>i should note that if you&#8217;re a little concerned about security or your company is, you should probably do #4, or find a hosting provider that does #4 (i believe rackspace does this for it&#8217;s users).  Jason seems like a pretty trust worthy guy (from his blog postings) and I dont really have any financial info on my servers.</p>
<p><strong>UPDATE:</strong> one thing to note that you will update all your binaries, and not just php if you don&#8217;t configure the repo.  if you upgrade everything, then be aware that the apache conf will most likely need to be edited.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udfi.biz/2010/02/centos-4-and-php-5-2-11-htf-do-i-do-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>my love affair with rsync</title>
		<link>http://www.udfi.biz/2010/02/my-love-affair-with-rsync/</link>
		<comments>http://www.udfi.biz/2010/02/my-love-affair-with-rsync/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 20:53:01 +0000</pubDate>
		<dc:creator>David Wang</dc:creator>
				<category><![CDATA[linux admin]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.udfi.biz/?p=211</guid>
		<description><![CDATA[rsync &#8211;progress -r &#8211;exclude-from=./rsync_exclude.txt &#8211;delete -e ssh -p ./ user@host:path - r= recursive -exclude-from = exclude files txt file &#8211;delete = deletes files that aren&#8217;t on target -e = specify shell to use , ssh in this case -p = &#8230; <a href="http://www.udfi.biz/2010/02/my-love-affair-with-rsync/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>rsync &#8211;progress -r &#8211;exclude-from=./rsync_exclude.txt &#8211;delete -e ssh -p ./ user@host:path</p>
<p>- r= recursive</p>
<p>-exclude-from = exclude files txt file</p>
<p>&#8211;delete = deletes files that aren&#8217;t on target</p>
<p>-e = specify shell to use , ssh in this case</p>
<p>-p = preserve the permissions</p>
<p>a really easy way to deploy code to your web servers.  my rsync_exclude.txt usually includes my eclipse settings files and .svn</p>
<p>a really easy shell script would be to have this loop through your production servers to do an update.</p>
<p>try it out tell me what you think</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udfi.biz/2010/02/my-love-affair-with-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You is the closer!</title>
		<link>http://www.udfi.biz/2009/08/you-is-the-closer/</link>
		<comments>http://www.udfi.biz/2009/08/you-is-the-closer/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 15:29:37 +0000</pubDate>
		<dc:creator>David Wang</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[linux admin]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.udfi.biz/?p=165</guid>
		<description><![CDATA[So I worked on a quick one pager site (http://www.isthecloser.com) with a co-worker (Jason) from Tribal that merged two wav files to create a funny short wav clip.  Check it out. To build the site, I used two technologies: 1) &#8230; <a href="http://www.udfi.biz/2009/08/you-is-the-closer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I worked on a quick one pager site (<a href="http://www.isthecloser.com">http://www.isthecloser.com</a>) with a co-worker (<a href="http://www.jasonpickar.com">Jason</a>) from Tribal that merged two wav files to create a funny short wav clip.  <a href="http://www.isthecloser.com">Check it out.</a></p>
<p>To build the site, I used two technologies:</p>
<p>1) <a href="http://www.speech.cs.cmu.edu/flite/">Flite</a> &#8211; an open source text-to-speech system developed by CMU.  It was a low quality wav, but did the job well.  I also used <a href="http://espeak.sourceforge.net/">Espeak</a>, but the code looked like it required the server to a sound card installed, which mine does not.  So I switched over to flite instead.</p>
<p>2)  <a href="http://sox.sourceforge.net/">SOX</a> &#8211; an open source sound exchange application.  I originally used the default one that came with CentOS 5, but it lacked the feature of sequencing the sounds together instead of merging them on top of each other.  So I uninstalled the default rpm and downloaded the code base and recompiled the latest version.</p>
<p>The code wasn&#8217;t too complicated, it was just figuring out how to get all the stuff to work together.  First get flite to spit out a wav:</p>
<p>/usr/local/bin/flite -t &#8220;&#8216; . $name . &#8216;&#8221; -o /tmp/closertemp/&#8217; . $rand . &#8216;.wav&#8217;</p>
<p>the -t option is to use the text that&#8217;s passed in instead of a file</p>
<p>then I push it to sox:</p>
<p>/usr/local/bin/sox &#8211;combine concatenate /tmp/closertemp/&#8217; . $rand . &#8216;.wav /tmp/TheCloser_1.wav /tmp/&#8217; . $rand . &#8216;.wav&#8217;</p>
<p>the rand # is to make sure i always produce a unique file name for every request.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udfi.biz/2009/08/you-is-the-closer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setting up centos 5 test repository</title>
		<link>http://www.udfi.biz/2009/08/setting-up-centos-5-test-repository/</link>
		<comments>http://www.udfi.biz/2009/08/setting-up-centos-5-test-repository/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 11:03:16 +0000</pubDate>
		<dc:creator>David Wang</dc:creator>
				<category><![CDATA[linux admin]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.udfi.biz/?p=131</guid>
		<description><![CDATA[yum install yum-priorities rpm -import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing cd /etc/yum.repos.d wget http://dev.centos.org/centos/5/CentOS-Testing.repo edit CentOS-Testing.repo, and set enabled=1 edit CentOS-Base.repo and exclude=php* yum update]]></description>
			<content:encoded><![CDATA[<p>yum install yum-priorities<br />
rpm -import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
cd /etc/yum.repos.d<br />
wget http://dev.centos.org/centos/5/CentOS-Testing.repo<br />
edit CentOS-Testing.repo, and set enabled=1<br />
edit CentOS-Base.repo and exclude=php*<br />
yum update</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udfi.biz/2009/08/setting-up-centos-5-test-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>INIT: Id &quot;x&quot; respawning too fast : disabled for 5 minutes.</title>
		<link>http://www.udfi.biz/2009/07/init-id-x-respawning-too-fast-disabled-for-5-minutes/</link>
		<comments>http://www.udfi.biz/2009/07/init-id-x-respawning-too-fast-disabled-for-5-minutes/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 14:34:53 +0000</pubDate>
		<dc:creator>David Wang</dc:creator>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[linux admin]]></category>

		<guid isPermaLink="false">http://www.udfi.biz/?p=83</guid>
		<description><![CDATA[Ok, some of you might be experience this issue when you create an image.  I&#8217;m not exactly sure why these errors happen.  I think they may have something to do with actual console screens? (someone correct me if im wrong, &#8230; <a href="http://www.udfi.biz/2009/07/init-id-x-respawning-too-fast-disabled-for-5-minutes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, some of you might be experience this issue when you create an image.  I&#8217;m not exactly sure why these errors happen.  I think they may have something to do with actual console screens? (someone correct me if im wrong, please!)</p>
<p>Anyway, what i did in my /etc/inittab is just shut them off intead of respawning them:</p>
<blockquote><p># Run gettys in standard runlevels<br />
1:2345:respawn:/sbin/mingetty tty1<br />
2:2345:off:/sbin/mingetty tty2<br />
3:2345:off:/sbin/mingetty tty3<br />
4:2345:off:/sbin/mingetty tty4<br />
5:2345:off:/sbin/mingetty tty5<br />
6:2345:off:/sbin/mingetty tty6</p></blockquote>
<p>I&#8217;d like to note that I&#8217;m not linux admin guru by any means and i have no idea wtf this will do later on.  It&#8217;s just helped me remove these annoying messages from my /var/log/messages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udfi.biz/2009/07/init-id-x-respawning-too-fast-disabled-for-5-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

