<?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>botsko &#187; Systems</title>
	<atom:link href="http://www.botsko.net/blog/category/systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.botsko.net/blog</link>
	<description>continuing education</description>
	<lastBuildDate>Sat, 24 Jul 2010 21:42:29 +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>Bugzilla 3.4 localtime issue on CentOS</title>
		<link>http://www.botsko.net/blog/2009/09/24/bugzilla-3-4-localtime-issue-on-centos/</link>
		<comments>http://www.botsko.net/blog/2009/09/24/bugzilla-3-4-localtime-issue-on-centos/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 22:37:43 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=477</guid>
		<description><![CDATA[While recently upgrading and moving Bugzilla to 3.4.2 I ran into an issue on a CentOS 5 server that was giving the following error any time I tried to access a buglist: undef error &#8211; Cannot determine local time zone After some searching I finally discovered that the issue was with Bugzilla looking for the [...]]]></description>
			<content:encoded><![CDATA[<p>While recently upgrading and moving Bugzilla to 3.4.2 I ran into an issue on a CentOS 5 server that was giving the following error any time I tried to access a buglist:</p>
<p><em>undef error &#8211; Cannot determine local time zone</em></p>
<p>After some searching I finally discovered that the issue was with Bugzilla looking for the timezone information in /etc/localtime, while CentOS had not updated that file since it&#8217;s original installation.</p>
<p>The solution is to change /etc/localtime to a symlink that leads to the correct timezone file for you:</p>
<p><code>ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2009/09/24/bugzilla-3-4-localtime-issue-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache VirtualHosts on Internal Network (No DNS)</title>
		<link>http://www.botsko.net/blog/2009/08/18/apache-virtualhosts-on-internal-network-no-dns/</link>
		<comments>http://www.botsko.net/blog/2009/08/18/apache-virtualhosts-on-internal-network-no-dns/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 04:21:12 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=437</guid>
		<description><![CDATA[It&#8217;s quite common for web engineers to develop applications on either a local machine, or a server running on the local network. In many situations one does not have the luxury of a domain name service to base everything off of, and it becomes a matter of using the IP address or an internal host [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s quite common for web engineers to develop applications on either a local machine, or a server running on the local network. In many situations one does not have the luxury of a domain name service to base everything off of, and it becomes a matter of using the IP address or an internal host file.</p>
<p>For example, I have an internal server that we do most of our development on and we&#8217;ve typically placed everything in the default htdocs directory. That tends to be a problem if we&#8217;re working on a pre-existing application that was designed to work only from the root level.</p>
<p>In the following steps I&#8217;ll describe setting up a virtual host and how to trick your computer into simulating the domain service.<br />
<span id="more-437"></span><br />
On your remote machine, edit the apache configuration file (locations may vary). By default, it&#8217;s typically found in /usr/local/apache2/conf/httpd.conf.</p>
<p>Search for and uncomment the following section:</p>
<p><code># Virtual hosts<br />
Include conf/extra/httpd-vhosts.conf</code></p>
<p>Save the file, and then proceed with editing that include file:</p>
<p><code>vi /usr/local/apache2/conf/extra/httpd-vhosts.conf</code></p>
<p>The first step is to create a new virtual host. In the following example, we tell apache that any traffic to this server under the domain name &#8220;myfakedomain&#8221; should be treated as a request for the files under the new DocumentRoot.</p>
<p>The second virtual host describes the original default server configuration. Paths to folders will vary depending on how apache was originally installed and configured.</p>
<p><code>&lt;virtualhost *:80&gt;<br />
DocumentRoot "/usr/local/apache2/virt/myfakedomain.com"<br />
ServerName myfakedomain.com<br />
&lt;/virtualhost&gt;</code></p>
<p><code>&lt;virtualhost *:80&gt;<br />
DocumentRoot "/usr/local/apache2/htdocs"<br />
ServerName localhost<br />
&lt;/virtualhost&gt;<br />
</code></p>
<p>After saving your changes, you need to edit the hosts file on the remote machine so that when apache restarts, it doesn&#8217;t go looking for the real domain name you&#8217;ve provided.</p>
<p>Using either root or a sudo account, edit the hosts file:</p>
<p><code>/etc/hosts</code></p>
<p>Add a new line that follows the pattern of the existing examples:</p>
<p><code>127.0.0.1 myfakedomain.com</code></p>
<p>Then, restart apache:</p>
<p><code>/usr/local/apache2/bin/apachectl restart</code></p>
<p>You also need to edit your local hosts file so that your system redirects any traffic to myfakedomain.com to your network server, rather than trying to search the internet for it.</p>
<p>For Mac OS X 10.5 users, you may do this by using the same method as the remote server:</p>
<p><code>sudo vi /etc/hosts</code><br />
<code>127.0.0.1 myfakedomain.com</code></p>
<p>Save the file and then flush out any cache:</p>
<p><code>dscacheutil -flushcache</code></p>
<p>Open your web browser and try to access myfakedomain.com. You should see whatever was in your apache document root.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2009/08/18/apache-virtualhosts-on-internal-network-no-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Remote Git Repository</title>
		<link>http://www.botsko.net/blog/2009/08/13/creating-remote-git-repository/</link>
		<comments>http://www.botsko.net/blog/2009/08/13/creating-remote-git-repository/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 21:54:10 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Tech-Tidbit]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=412</guid>
		<description><![CDATA[Here is a quick and dirty guide to create your own remote repository. Access is controlled through standard ssh so it&#8217;s as secure as your ssh access is. $ mkdir /git/repos/myapp.git $ cd /git/repos/myapp.git $ git --bare init $ exit On your local machine, find the local git repository that you want to push to [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick and dirty guide to create your own remote repository. Access is controlled through standard ssh so it&#8217;s as secure as your ssh access is.<br />
<span id="more-412"></span><br />
<code>$ mkdir /git/repos/myapp.git<br />
$ cd /git/repos/myapp.git<br />
$ git --bare init<br />
$ exit</code></p>
<p>On your local machine, find the local git repository that you want to push to the remote location.</p>
<p><code>$ git remote add origin ssh://yourdomain.com/git/repos/myapp.git<br />
$ git push origin master</code></p>
<p>Now your local repo will be tracking the remote repository and you may continue pushing/pulling it from anywhere. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2009/08/13/creating-remote-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Git on Cent OS 5</title>
		<link>http://www.botsko.net/blog/2009/08/13/installing-git-on-cent-os-5-mediatemple-dv3-0/</link>
		<comments>http://www.botsko.net/blog/2009/08/13/installing-git-on-cent-os-5-mediatemple-dv3-0/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 21:50:30 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Tech-Tidbit]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=415</guid>
		<description><![CDATA[It&#8217;s pretty straightforward to install Git on a mediatemple DV 3.0 server. If you have later versions of their servers with Yum installed, you may be able to simply install it through yum. To begin you need to download the latest version and run through the standard extraction and configure/make/make install. $ wget http://kernel.org/pub/software/scm/git/git-1.6.4.tar.gz $ [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s pretty straightforward to install Git on a mediatemple DV 3.0 server. If you have later versions of their servers with Yum installed, you may be able to simply install it through yum.</p>
<p>To begin you need to download the latest version and run through the standard extraction and configure/make/make install.</p>
<p><span id="more-415"></span></p>
<p><code>$ wget http://kernel.org/pub/software/scm/git/git-1.6.4.tar.gz<br />
$ tar -zxvf *.gz<br />
$ cd git*<br />
$ ./configure --prefix=/usr/local<br />
$ make<br />
$ make install</code></p>
<p>Try entering <code>git</code> into the command line to ensure that everything installed properly.</p>
<p>Turn on command line coloring, very helpful:<br />
<code><br />
$ git config --global color.branch "auto"<br />
$ git config --global color.status "auto"<br />
$ git config --global color.diff "auto"<br />
</code></p>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2009/08/13/installing-git-on-cent-os-5-mediatemple-dv3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing APC Manually</title>
		<link>http://www.botsko.net/blog/2008/10/09/installing-apc-manually/</link>
		<comments>http://www.botsko.net/blog/2008/10/09/installing-apc-manually/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 00:29:31 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=246</guid>
		<description><![CDATA[Pecl was giving me some problems so I needed to install APC for PHP manually. Pecl was compaining that apxs was not found during the config process, so I had to install it myself so that I could pass it the proper path. wget http://pecl.php.net/get/APC-3.0.19.tgz tar -xzf APC-3.0.19.tgz cd APC* phpize ./configure --enable-apc --enable-apc-mmap --with-apxs=/usr/local/apache2/bin/apxs [...]]]></description>
			<content:encoded><![CDATA[<p>Pecl was giving me some problems so I needed to install APC for PHP manually. Pecl was compaining that apxs was not found during the config process, so I had to install it myself so that I could pass it the proper path.</p>
<p><code><br />
wget http://pecl.php.net/get/APC-3.0.19.tgz<br />
tar -xzf APC-3.0.19.tgz<br />
cd APC*<br />
phpize<br />
./configure --enable-apc --enable-apc-mmap --with-apxs=/usr/local/apache2/bin/apxs<br />
make<br />
make install<br />
</code></p>
<p>Make sure you actually use your correct path to apxs. If apxs isn&#8217;t installed then you need to install the httpd-devel package, which usually works just fine through <code>yum install httpd-devel</code></p>
<p>Then, just add the so path to your php ini and restart.</p>
<p><code><br />
vi /usr/local/lib/php.ini<br />
extension=apc.so<br />
</code></p>
<p>Then restart your server and should be done! Try running phpinfo(); to see if APC reports as installed and enabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2008/10/09/installing-apc-manually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Lighttpd on CentOS 5</title>
		<link>http://www.botsko.net/blog/2008/10/03/installing-lighttpd-on-centos-5/</link>
		<comments>http://www.botsko.net/blog/2008/10/03/installing-lighttpd-on-centos-5/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 04:41:37 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=241</guid>
		<description><![CDATA[After dealing with some weird update issues trying to do this with a manually-download rpm file, I finally figured out that performing the following worked just fine: # rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm # yum -y install lighttpd lighttpd-fastcgi mysql-server # chkconfig --levels 235 lighttpd on # /etc/init.d/lighttpd start I did decide to change the port to [...]]]></description>
			<content:encoded><![CDATA[<p>After dealing with some weird update issues trying to do this with a manually-download rpm file, I finally figured out that performing the following worked just fine:</p>
<p><code># rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
# yum -y install lighttpd lighttpd-fastcgi mysql-server<br />
# chkconfig --levels 235 lighttpd on<br />
# /etc/init.d/lighttpd start</code></p>
<p>I did decide to change the port to 81 so that apache could still run on 80:</p>
<p><code><br />
# vi /etc/lighttpd/lighttpd.conf<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2008/10/03/installing-lighttpd-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Qmail Mailer Domain</title>
		<link>http://www.botsko.net/blog/2008/10/02/change-qmail-mailer-domain/</link>
		<comments>http://www.botsko.net/blog/2008/10/02/change-qmail-mailer-domain/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 22:34:58 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=239</guid>
		<description><![CDATA[I&#8217;m running several dedicated servers from mediatemple and I have dozens of domains that I&#8217;m hosting for clients running on those. The qmail application seemed to have chosen the very first domain on each server as it&#8217;s default return address for all alert and mailer-daemon messages. I wanted to alter the domain it used, so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running several dedicated servers from mediatemple and I have dozens of domains that I&#8217;m hosting for clients running on those. The qmail application seemed to have chosen the very first domain on each server as it&#8217;s default return address for all alert and mailer-daemon messages.</p>
<p>I wanted to alter the domain it used, so I changed it by editing the configuration file:</p>
<p><code><br />
$ vi /var/qmail/control/me<br />
</code></p>
<p>Enter the domain name you want and save the file, then reboot qmail:</p>
<p><code><br />
$ service qmail stop<br />
$ service qmail start<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2008/10/02/change-qmail-mailer-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New System: iMac 20&#8243; 2.4Ghz</title>
		<link>http://www.botsko.net/blog/2007/11/19/new-system-imac-20-24ghz/</link>
		<comments>http://www.botsko.net/blog/2007/11/19/new-system-imac-20-24ghz/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 23:58:16 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/2007/11/19/new-system-imac-20-24ghz/</guid>
		<description><![CDATA[A few weeks back my old primary system suffered some serious boot issues and was out for an entire day. After a lot of time wasted trying to save things with knoppix, etc, I finally went out and bought a new system. I&#8217;ve grown used to developing on windows so things have been a little [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks back my old primary system suffered some serious boot issues and was out for an entire day. After a lot of time wasted trying to save things with knoppix, etc, I finally went out and bought a new system.</p>
<p>I&#8217;ve grown used to developing on windows so things have been a little slow, but I&#8217;m gradually adjusting to using a mac. I&#8217;ve already moved my dev server and my subversion server to this machine so I&#8217;ve brought the old system home for triage. Eventually, it will allow me work from home whenever I need to, and it allows us to play games again.</p>
<p>Two of our other systems are now up for sale on craigslist/ebay.</p>
<p>So far though, I&#8217;m doing just fine and am enjoying the new system. It&#8217;s much cleaner, more intuitive, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2007/11/19/new-system-imac-20-24ghz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New System</title>
		<link>http://www.botsko.net/blog/2007/04/10/new-system/</link>
		<comments>http://www.botsko.net/blog/2007/04/10/new-system/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 22:47:37 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/2007/04/10/new-system/</guid>
		<description><![CDATA[For the last ten months I&#8217;ve been working solely on my Acer Aspire 9500 laptop, which had replaced my Compaq Presario 900US. The wide 17&#8243; screen of my current laptop was excellent for working on all day, as well as when I had to demo projects for clients. However, the 512MB of ram, the limited [...]]]></description>
			<content:encoded><![CDATA[<p>For the last ten months I&#8217;ve been working solely on my Acer Aspire 9500 laptop, which had replaced my Compaq Presario 900US. The wide 17&#8243; screen of my current laptop was excellent for working on all day, as well as when I had to demo projects for clients. However, the 512MB of ram, the limited Celeron processor, and the 80GB drive just isn&#8217;t enough anymore. Working became difficult when I had a ton of apps open at once &#8211; both processor time and screen real estate dwindled.</p>
<p>Playing a video game during lunch was essentially impossible.</p>
<p>So, I&#8217;ve finally got myself an upgrade. After spending a month or so checking out various prices, I finally went with a customized HP Pavilion d4790y. Because I customized it I got an HP 19&#8243; wide LCD monitor for $100. I bought a second 19&#8243; LCD monitor that was <a href="http://www.newegg.com/Product/Product.asp?Item=N82E16824009100&#038;CMP=EMC-IGNELCD032007&#038;ATT=N82E16824009100">on sale at NewEgg.com (Acer AL1917WAbd 19&#8243;)</a>. </p>
<p>Here are the specs of my custom work machine:</p>
<ul>
<li>Intel(R) Core(TM) 2 Duo processor E6400 ( 2.13GHz )</li>
<li>2GB DDR2-667MHz dual channel SDRAM (2&#215;1024)</li>
<li>320GB 7200 rpm SATA hard drive</li>
<li>LightScribe 16X DVD+/-R/RW SuperMulti drive</li>
<li>15-in-1 memory card reader, 3 USB, 1394, audio</li>
<li>256MB NVIDIA GeForce 7600 GT, HD , TV-out, 2 DVI</li>
<li>Integrated 7.1 channel sound w/front audio ports</li>
</ul>
<p>I down-graded the system to Windows XP, SP2 because many of apps have no or little support for Vista. I&#8217;ll have some pics soon .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2007/04/10/new-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PC works again!</title>
		<link>http://www.botsko.net/blog/2006/04/14/pc-works-again/</link>
		<comments>http://www.botsko.net/blog/2006/04/14/pc-works-again/#comments</comments>
		<pubDate>Fri, 14 Apr 2006 05:16:41 +0000</pubDate>
		<dc:creator>Michael Botsko</dc:creator>
				<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.botsko.net/blog/?p=71</guid>
		<description><![CDATA[The replacement power supply from HP showed today, so I performed some PC-surgery and the pc is in recovery now. Now, I need to find a way to sync all of the stuff I temporarily placed on the laptop back with the stuff left on the old PC. Maybe a good time for a reformat? [...]]]></description>
			<content:encoded><![CDATA[<p>The replacement power supply from HP showed today, so I performed some PC-surgery and the pc is in recovery now. Now, I need to find a way to sync all of the stuff I temporarily placed on the laptop back with the stuff left on the old PC. Maybe a good time for a reformat?</p>
<p>Nah, like I have that kind of time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.botsko.net/blog/2006/04/14/pc-works-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
