<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Unruly Rambling - linux category</title>
  <link>http://www.shoesobjects.com/blog/categories/linux/</link>
  <description>My thoughts on software, technology, and life in general</description>
  <language>en</language>
  <copyright>Mike Shoemaker</copyright>
  <lastBuildDate>Mon, 04 Aug 2008 02:57:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Spring Cleaning delivers a needed tutorial for OS X users.  </title>
    <link>http://www.shoesobjects.com/blog/2007/04/08/spring_cleaning_delivers_a_needed_tutorial_for_os_x_users.html</link>
    
      
        <description>
          A month or so ago, I got the keen idea that I wanted to replace a 19&amp;quot; boat anchor of a monitor with something flat panel to gain some desk space.&amp;nbsp; This altruistic goal was accomplished after a 20&amp;quot; Samsung wide screen display showed up on my doorstep for less than $200.&amp;nbsp; I was happy since I reclaimed a nice big corner of my desk.&amp;nbsp; Even though I accomplished my original goal, the printer sitting on the end of the desk irked me too.&amp;nbsp; Unlike the monitor, I&#039;m not able to replace my printer with a smaller model.&amp;nbsp; At least not one that would be significantly smaller.&amp;nbsp; The best I could do was find a better location where it wasn&#039;t taking up a square foot of desktop space.&amp;nbsp; My decision was to put it in the desk where two &lt;a href=&#034;http://en.wikipedia.org/wiki/Linux&#034; target=&#034;_blank&#034;&gt;linux&lt;/a&gt; boxes resided.&amp;nbsp; One of the linux boxes runs this site, a personal wiki, and cvs repository.&amp;nbsp; The other sits mostly idle as a large backup file server.&amp;nbsp; In order to maintain my current setup, I would need a new smaller computer to do these lightweight tasks.&amp;nbsp; Mac Mini to the rescue!&amp;nbsp; I picked up a refurbished &lt;a href=&#034;http://www.apple.com/macmini/&#034; target=&#034;_blank&#034;&gt;Mac Mini&lt;/a&gt; from &lt;a href=&#034;http://www.apple.com&#034; target=&#034;_blank&#034;&gt;Apple&lt;/a&gt; for less than $500.&amp;nbsp; It&#039;s a duo core 1.5ghz which is probably 8 times faster than the linux box it replaced.&amp;nbsp; The good news is that it is also 10 times smaller and looks fantastic sitting out in the open.&amp;nbsp; In addition to relocating the printer in the tower compartment, I also moved the spare paper, DSL modem,&amp;nbsp; and various other office items.&amp;nbsp; My desk looks fantastic now.&amp;nbsp; Don&#039;t quit reading yet, there is a point to this entry and it has nothing to do with the neatness of my desk.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Instead of installing &lt;a href=&#034;http://en.wikipedia.org/wiki/Concurrent_Versions_System&#034; target=&#034;_blank&#034;&gt;CVS&lt;/a&gt; on the new &lt;a href=&#034;http://www.apple.com/macmini/&#034; target=&#034;_blank&#034;&gt;Mac Mini&lt;/a&gt;, I decided that I would migrate to &lt;a href=&#034;http://subversion.tigris.org/&#034; target=&#034;_blank&#034;&gt;subversion&lt;/a&gt;.&amp;nbsp; This was not as easy of a task as I thought it would be.&amp;nbsp; As I sought to find a decent tutorial online, I came up short time and time again.&amp;nbsp; I never did end up finding anything that I could follow step by step and get to where I had a subversion repository front ended by &lt;a href=&#034;http://httpd.apache.org/&#034; target=&#034;_blank&#034;&gt;Apache&lt;/a&gt;, using Apache authentication running on &lt;a href=&#034;http://www.apple.com/macosx/tiger/&#034; target=&#034;_blank&#034;&gt;OS X&lt;/a&gt;.&amp;nbsp; Instead I used bits and pieces of&amp;nbsp; content from a half dozen sites to get everything to work.&amp;nbsp; For those of you that are in search of something similar or have run into this same brick wall, the following tutorial is for you.&amp;nbsp; I did my best to document every step along the way.&amp;nbsp; If you run into something that is ambiguous or needs updating, please let me know.&amp;nbsp; I intend to keep this up to date.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href=&#034;./pages/subversion_apache_on_osx.html&#034;&gt;HOWTO: Installing Subversion(1.4.3) and Apache(2.0.59) on OS X(10.4.9)&lt;/a&gt;&lt;/strong&gt;
        </description>
      
      
    
    
    
    <category>java</category>
    
    <category>apple</category>
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2007/04/08/spring_cleaning_delivers_a_needed_tutorial_for_os_x_users.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2007/04/08/spring_cleaning_delivers_a_needed_tutorial_for_os_x_users.html</guid>
    <pubDate>Sun, 08 Apr 2007 20:50:01 GMT</pubDate>
  </item>
  
  <item>
    <title>Shotty uptime for the past week</title>
    <link>http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html</link>
    
      
        <description>
          &lt;p&gt; For the past week, I&#039;ve noticed that my site was going down every couple hours and I&#039;d have to restart &lt;a href=&#034;http://www.jboss.com&#034;&gt;JBoss&lt;/a&gt; in order to get it to come back.  Being in busy mode all week, I didn&#039;t have time to figure out why.  Yesterday, I spent 10 minutes digging around in my logs to find out that some asshat(borrowed from &lt;a href=&#034;http://www.jroller.com/page/fate&#034;&gt;Hani&lt;/a&gt;) was hitting my server every couple milliseconds requesting my blog as an attempt to infect me with tons of referral spam.  My poor server was crashing with out of memory errors at a record pace and it was getting worse and worse by the minute.  His calls were coming in from 2 distinct IP Addresses (217.23.176.2 , 217.23.177.249), both of which originate in Russia.  To get around this, I configured &lt;a href=&#034;http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/ref-guide/ch-iptables.html&#034;&gt;iptables&lt;/a&gt; to DROP packets from these addresses.  All is fine since.  The thing that concerns me is that this is quite the reactive approach and could start again at any moment.  Thanks to the free service provided by &lt;a href=&#034;http://siteuptime.com/&#034;&gt;SiteUptime&lt;/a&gt;,  I get a text message sent to my cell phone when my site goes down.  This will help a bit.  What I&#039;d like to do is write some sort of script to learn what ip addresses might be doing this, add their ip on the fly and restart iptables.  If this becomes a problem, I&#039;ll look into this more.    &lt;/p&gt;
&lt;p&gt; So the moral of the story is that if you are pathetic enough to inject referral spam, I hope you die a long painful death in the dungeons of hell. In the meantime, I will ignore you with the help of iptables.    &lt;/p&gt;
        </description>
      
      
    
    
    
    <category>blogging</category>
    
    <category>java</category>
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html</guid>
    <pubDate>Thu, 30 Jun 2005 13:17:17 GMT</pubDate>
  </item>
  
  <item>
    <title>Preferred OS when running Java Server Apps on Intel hardware</title>
    <link>http://www.shoesobjects.com/blog/2004/11/17/preferred_os_when_running_java_server_apps_on_intel_hardware.html</link>
    
      
        <description>
          &lt;p&gt;
Overwhelmingly Linux is the choice.  &lt;a href=&#034;http://www.javalobby.org/forums/thread.jspa?threadID=15657&amp;tstart=0&#034;&gt;I voted&lt;/a&gt;, did you?
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>java</category>
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/11/17/preferred_os_when_running_java_server_apps_on_intel_hardware.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/11/17/preferred_os_when_running_java_server_apps_on_intel_hardware.html</guid>
    <pubDate>Thu, 18 Nov 2004 00:15:18 GMT</pubDate>
  </item>
  
  <item>
    <title>Man pages displaying funky characters</title>
    <link>http://www.shoesobjects.com/blog/2004/11/12/man_pages_displaying_funky_characters.html</link>
    
      
        <description>
          &lt;p&gt;
Changing LANG in /etc/sysconfig/i18n from
en_US.UTF-8 to en_US did the trick for me.  
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/11/12/man_pages_displaying_funky_characters.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/11/12/man_pages_displaying_funky_characters.html</guid>
    <pubDate>Fri, 12 Nov 2004 15:50:36 GMT</pubDate>
  </item>
  
  <item>
    <title>No More Windoze</title>
    <link>http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html</link>
    
      
        <description>
          &lt;center&gt;&lt;img alt=&#034;Fedora&#034; src=&#034;http://www.shoesobjects.com/blog/images/fedora.png&#034; /&gt;&lt;/center&gt;
&lt;p&gt; Well, the time has come to find a new distribution since Redhat will no longer be providing support for 8.0(current version supporting this site).   Since Im most familiar with Redhat, &lt;a href=&#034;http://fedora.redhat.com&#034;&gt;Fedora&lt;/a&gt; was an obvious choice for my new distro.  To ease into this transition and guarantee zero downtime,  Ive decided to install Fedora onto the only Windoze box that I currently have.  Thats right, my only windoze box will run windoze no more.   I guess one could argue that Im upgrading the OS.  My plan is to install everything on this machine that my current Redhat 8.0 server provides.   My current &amp;quot;can&#039;t live without&amp;quot; installed apps are &lt;a href=&#034;http://www.jboss.org&#034;&gt;JBoss&lt;/a&gt;, &lt;a href=&#034;http://www.mysql.com&#034;&gt;MySQL&lt;/a&gt;,  &lt;a href=&#034;http://james.apache.org&#034;&gt;JAMES&lt;/a&gt;, and &lt;a href=&#034;http://www.cvshome.org&#034;&gt;CVS&lt;/a&gt;.  Once these are all up and running, Ill do the  same to the Redhat 8.0.  This will give me poor mans failover in case of a vaporized hard disk or some other hardware failure.  I say poor mans  failover since redirecting traffic will involve manual reconfiguration of my router.   &lt;/p&gt;
&lt;p&gt; &lt;a href=&#034;http://fedora.redhat.com&#034;&gt;Fedora Core&lt;/a&gt;&lt;br /&gt;
Bootup with Disk 1 in CDROM&lt;br /&gt;
1) Language Selection &lt;br /&gt;
English&lt;br /&gt;
2) Keyboard Configuration&lt;br /&gt;
U.S. English&lt;br /&gt;
3) Mouse Configuration&lt;br /&gt;
Generic Wheel Mouse (PS/2)&lt;br /&gt;
4) Monitor Configuration&lt;br /&gt;
Sony Multiscan 17sf&lt;br /&gt;
5) Installation Type&lt;br /&gt;
Workstation&lt;br /&gt;
6) Disk Partitioning Setup&lt;br /&gt;
Manually partition with Disk Druid&lt;br /&gt;
7) Disk Setup&lt;br /&gt;
/dev/hda1  nfts&lt;br /&gt;
/dev/hda2  /boot&lt;br /&gt;
/dev/hda3  /&lt;br /&gt;
/dev/hda4  swap&lt;br /&gt;
8) Boot Loader Configuration&lt;br /&gt;
WinXP       /dev/hda1  default&lt;br /&gt;
Fedora Core /dev/hda3&lt;br /&gt;
9) Network Configuration&lt;br /&gt;
hostname: pegasus.shoesobjects.com&lt;br /&gt;
manual network settings&lt;br /&gt;
10) Firewall configuration&lt;br /&gt;
No firewall&lt;br /&gt;
11) Additional Language Support&lt;br /&gt;
none&lt;br /&gt;
12) Timezone Selection&lt;br /&gt;
America/Chicago&lt;br /&gt;
13) Set Root Password&lt;br /&gt;
13) Package Installation Defaults&lt;br /&gt;
customize software packages to be installed&lt;br /&gt;
+ KDE Desktop Environment&lt;br /&gt;
+ Server Configuration Tools&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;	&lt;a href=&#034;http://www.fedora.us/wiki/FedoraHOWTO&#034;&gt;Fedora HOWTO apt-get&lt;/a&gt; Download the apt-get RPM for Fedora Core &lt;a href=&#034;http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/apt-0.5.15cnc1-0.fdr.3.1.i386.rpm&#034;&gt;here&lt;/a&gt;.   Once you have installed it, you will need to retrieve an up to date package list using the following command &lt;em&gt;apt-get update&lt;/em&gt;.  Now that we have  the latest package listing for everything installed on the system, we should upgrade the installed packages to the latest and greatest versions.  Upon running &lt;em&gt;apt-get upgrade&lt;/em&gt;, I see that I have 32 packages to upgrade.  By typing a Y at the prompt, I will begin to download all of the upgraded packages, 56.3MB to be specific.  Gee, this kinda feels like windows update except I don&#039;t have to reboot afterwards :) &lt;/p&gt;
&lt;p&gt; Other Packages Installed &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href=&#034;http://java.sun.com/j2se/1.4.2&#034;&gt;J2SDK-1.4.2_03&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#034;http://java.sun.com/j2ee/1.4&#034;&gt;J2SDKEE-1.3.1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#034;http://www.mysql.com&#034;&gt;MySQL 4.0.17&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; More to come......... &lt;/p&gt;
        </description>
      
      
    
    
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html</guid>
    <pubDate>Sun, 01 Feb 2004 04:04:31 GMT</pubDate>
  </item>
  
  </channel>
</rss>
