8806 paging

Posted by scottk on September 4, 2007 in Extreme, Sysadmin |

extreme 8806That damn paging on the Extreme 8806 switch is annoying, so to turn it off:

disable clipaging

This makes for much easier config reading.

svn mac

Posted by scottk on August 30, 2007 in Programming, Sysadmin |

SVN*Slaps Forehead* Using fink on OSX and installing svn ( fink install svn ) does not actually install svn, you need to install svn-client (fink install svn-client) in order to get the actual svn program.  It makes sense in some ways but seems totally illogical in others.

Worries

Posted by scottk on August 30, 2007 in Ramblings |

Stick ShiftI’ve got a whole network of sites and servers riding on me day to day.  What is my big worry when I wake up this morning and head off to work?  I worry about the fact that I’ll be driving the stick to take Gabe to school and I’ll then be driving it through town rather than on the interstate.

1

RHEL5 and RoR

Posted by scottk on August 27, 2007 in Ruby on Rails, Sysadmin |

Ruby on RailsBig function of the day was reinstalling Ruby on Rails on another RHEL5 Xen server. My beta xen servers tanked this weekend as I was trying to reuse the G3s that were running the backup servers before. So fresh install on the Stage server and some time to document the whole process. My rpm list is quite long as I took a snapshot of my base install and a rpm output of everything I’d installed in order to get RoR running with a full fledged RMagick, there are probably a few packages I can go in there and clean out later. I’ve also got a MySQL server install going on in there too, but I’m not going to jump into that any more than adding the rpms.

Yum in Ruby Packages

There are a lot of packages that are needed
to support the full fledged Ruby on Rails install
If this was sans RMagick and ImageMagick
this list would be much shorter
yum install apr apr-util atk-devel audiofile
 avahi avahi-glib bzip2-devel cairo-devel
 chkfontpath cpp e2fsprogs-devel esound
 fontconfig-devel freetype-devel gamin gcc
 gd gd-devel ghostscript ghostscript-devel
 ghostscript-fonts glib2-devel glibc-devel glibc-headers
 gnome-keyring gnome-mime-data gnome-mount gnome-vfs2
 gtk2-devel ImageMagick ImageMagick-devel
 krb5-devel lcms lcms-devel libbonobo libbonoboui
 libcroco libdaemon libexif libexif-devel
 libfontenc libFS libglade2 libgnome
 libgnomecanvas libgnomeui libgomp libgsf
 libICE-devel libjpeg-devel libpng-devel librsvg2
 libSM-devel libtiff-devel libwmf libwmf-devel
 libX11-devel libXau-devel libXcursor-devel libXdmcp-devel
 libXext-devel libXfixes-devel libXfont libXft-devel
 libXi-devel libXinerama-devel libxml2-devel libXpm
 libXpm-devel libXrandr-devel libXrender-devel libxslt
 libXt-devel lynx mesa-libGL-devel mysql
 mysql-devel mysql-server openssl-devel pango-devel
 perl-DBD-MySQL perl-DBI pkgconfig postgresql-libs
 ruby ruby-devel ruby-irb ruby-libs
 ruby-rdoc ruby-ri shared-mime-info subversion
 subversion-ruby tar ttmkfdir urw-fonts
 xorg-x11-fonts-base xorg-x11-fonts-truetype xorg-x11-font-utils
 xorg-x11-proto-devel xorg-x11-xfs zlib-devel

Install Gems

wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar -zxvf rubygems-0.9.4.tgz
cd rubygems-0.9.4
ruby setup.rb
cd ..
rm -rf rubygems*

Install Rails

[root@StageRails01 ~]# gem install rails --include-dependencies --no-rdoc --no-ri
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.2.3
Successfully installed rake-0.7.3
Successfully installed activesupport-1.4.2
Successfully installed activerecord-1.15.3
Successfully installed actionpack-1.13.3
Successfully installed actionmailer-1.3.3
Successfully installed actionwebservice-1.2.3

Install Mongrel

[root@StageRails01 ~]# gem install mongrel --include-dependencies --no-rdoc --no-ri
Select which gem to install for your platform (i386-linux)
 1. mongrel 1.0.1 (mswin32)
 2. mongrel 1.0.1 (ruby)
 3. mongrel 1.0 (mswin32)
 4. mongrel 1.0 (ruby)
 5. Skip this gem
 6. Cancel installation
> 2
Select which gem to install for your platform (i386-linux)
 1. fastthread 1.0 (ruby)
 2. fastthread 1.0 (mswin32)
 3. fastthread 0.6.4.1 (mswin32)
 4. fastthread 0.6.4.1 (ruby)
 5. Skip this gem
 6. Cancel installation
> 1
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Successfully installed mongrel-1.0.1
Successfully installed daemons-1.0.7
Successfully installed fastthread-1.0
Successfully installed gem_plugin-0.2.2
Successfully installed cgi_multipart_eof_fix-2.3

Install Ruby MySQL Interface

[root@StageRails01 ~]# gem install mysql -- --with-mysql-include=/usr/include/mysql/ --with-mysql-lib=/usr/lib/mysql/
Select which gem to install for your platform (i386-linux)
 1. mysql 2.7.3 (mswin32)
 2. mysql 2.7.1 (mswin32)
 3. mysql 2.7 (ruby)
 4. mysql 2.6 (ruby)
 5. Skip this gem
 6. Cancel installation
> 3
Building native extensions.  This could take a while...
Successfully installed mysql-2.7

Install Capistrano

[root@StageRails01 ~]# gem install Capistrano --include-dependencies --no-rdoc --no-ri
Successfully installed capistrano-2.0.0
Successfully installed net-ssh-1.1.2
Successfully installed needle-1.3.0
Successfully installed net-sftp-1.1.0
Successfully installed highline-1.4.0

Install RMagick

[root@StageRails01 ~]# gem install RMagick --include-dependencies --no-rdoc --no-ri
Building native extensions.  This could take a while...
Successfully installed rmagick-1.15.9

She’s a Card

Posted by scottk on August 24, 2007 in Ramblings |

I’m a big fan of those books so this hit me as extremely funny.

Backups my person daemon

Posted by scottk on July 30, 2007 in Technology |

Tech War JournalI swear that backups are the bane of my existence. There are about 900 other projects on the board to get done but the backup system just keeps deciding to throw something new at me every week.  Right now I’ve got a new DL380 G4 chassis running with BackupExec and a Spectra T50 Tape Library attached to it.  At the end of last week a drive went bad in the backup server and this weekend the robotics in the T50 decided to lock up and decide I need to call support in order to get it fixed.  Oh yeah I didn’t happen to mention that our support notification papers were getting sent to our old hosting facility so apparently support has expired on the library a few months before I took over the position.  It doesn’t look like it will be very hard to get that back in order, but it yet another things to add to the fun I’ve had with backups.

Documentation on the other hand is starting to come along, it’s a slow process and I’m finding some old things that were documented here and there and working up some new documents to put on the wiki we’ve established.  I cleaned up our wiki a bit and tried to add some organization but it needs a lot more time, I’m thinking that is another thing that will be on my list is to do once things calm down a little bit aren’t quite so hectic.

The proxy servers are working out better than I had hoped at this point, and with three of them pushing out 10Mb of traffic this past afternoon it’s really obvious why we needed them.  They could use some more fine tuning but I don’t think anything is going to help the 150 million gadget requests for bad images we get per day (grrrrr).

mixing mods

Posted by scottk on July 26, 2007 in Sysadmin, Technology |

deflateNote to self.

When setting up an apache mod_cache proxy make sure the backend is not using mod_deflate unless it show a huge performance gain with the deflation.  mod_deflate likes to pass a Varies header of agent so that in the cache you end up with a separate cached item for every user-agent that comes in and there’s a whole lot of browser/platform combinations out there ( in one case I see 300 different sets ).

filters

Posted by scottk on July 26, 2007 in Ramblings |

No InternetWhile I can understand the want to keep our kids from seeing porn I really dislike calls like this for internet wide filtering and monitoring activities by the government.  The government should not be involved there, I want them there as much as I want them filtering every TV show and deciding what is okay to make it to my TV set.  In my childhood days if you wanted to see naked women you had to go to the school library and look at biology books or National Geographic, my point being that if kids are looking for something they will find a way.  Sure the internet may make this easier but it’s our roles as parents to show our kids what’s right and wrong so they can make those decisions for themselves, not the governments to try remove the ability to choose from us and coddle us as though we were unable to think for ourselves.

procrastination

Posted by scottk on July 6, 2007 in Ramblings |

procrastination.jpg

mac hosts

Posted by scottk on July 2, 2007 in Sysadmin |

For future reference, I am not insane when when editing /etc/hosts and the changes don’t show up immediately on OSX.  Mac uses lookupd so I need to send a /usr/sbin/lookupd -flushcache.

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.