<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.booservers.com/styles/rss.css" type="text/css"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns="http://my.netscape.com/rdf/simple/0.9/"
>

 <channel>
  <title>Booservers - All about dedicated servers</title>
  <link>http://www.booservers.com</link>
  <description></description>
 </channel>
    <item>
   <title>Set up Tripwire on RedHat</title>
   <description>&lt;p&gt;Install tripwire&lt;/p&gt;&lt;p&gt;It&#039;s installed by default, but if it isn&#039;t, grab your RedHat disks, and install it:&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;# rpm -ihv /mnt/cdrom/RedHat/RPMS/tripwire-2.3.1-5.i386.rpm&lt;br /&gt;# /etc/tripwire/twinstall.sh&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;Clean the policy file&lt;br /&gt;Go over to /etc/tripwire, and clean out the policy file with this handy script:&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;# cat &amp;gt; ./cleantw.pl&lt;br /&gt;#!/usr/bin/perl&lt;/p&gt;&lt;p&gt;while (&amp;lt;&amp;gt;){&lt;br /&gt;#look at the line, and check for a line that can be&lt;br /&gt;    # Construed as a file name&lt;br /&gt;  CASE:{&lt;br /&gt;      ( m|(^s*)(/[/w._-]+)(s+-&amp;gt;.*)| ) and do {&lt;br /&gt;          print $1;&lt;br /&gt;          print &amp;quot;#&amp;quot; unless (-e $2);&lt;br /&gt;          print &amp;quot;$2$3n&amp;quot;;&lt;br /&gt;          last;&lt;br /&gt;      };&lt;/p&gt;&lt;p&gt;      print $_;&lt;br /&gt;  }&lt;br /&gt;};&lt;br /&gt;^D&lt;br /&gt;#&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p /&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Now clean out the crap in the sample policy file they have.&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt; # perl cleantw.pl &amp;lt; twpol.txt &amp;gt; cleanedpol.txt&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;Edit the file. You&#039;ll need to change the hostname that is defined somewhere around the 65th line to match what comes out of the &#039;hostname&#039; command. You&#039;ll also need to change some of the parameters for things that are monitored (Log rotating changes inodes for a given filename).&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt; /var/run -&amp;gt; $(SEC_INVARIANT)&lt;br /&gt; /var/log -&amp;gt; $(SEC_INVARIANT)&lt;br /&gt; /var/tty[1-8] -&amp;gt; $(SEC_INVARIANT)&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;Finishing up&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;# /usr/sbin/twadmin -m P cleanedpol.txt&lt;br /&gt;# /usr/sbin/tripwire --init&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;Credits: &lt;a href=&quot;http://www.afonsoconsulting.com/&quot;&gt;http://www.afonsoconsulting.com/&lt;/a&gt;&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/39_set_up_tripwire_on_redhat.html</link>
      <pubDate>Thu, 15 Dec 2005 21:45:38 +0000</pubDate>   
  </item>
    <item>
   <title>Easy CURL 7.10.4 w/SSL </title>
   <description>&lt;p&gt;We&#039;ve put together these RPM&#039;s for libcurl 7.10.2 with SSL support. They upgrade over the stock RH ones. Installation is via rpm -Uvh&lt;/p&gt;&lt;p&gt;Applicability (RH 7.2 / 7.3 required) :&lt;/p&gt;&lt;p&gt;Webppliance 3.1&lt;br /&gt;Webppliance Pro 3.5&lt;br /&gt;cPanel 6&lt;br /&gt;Plesk 5.0 &lt;/p&gt;&lt;p&gt;These are also Modernbill compatible on all above panel types.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Downloadables:&lt;/p&gt;&lt;p&gt;curl-7.10.4-1.i386.rpm&lt;br /&gt;curl-devel-7.10.4-1.i386.rpm&lt;/p&gt;&lt;p&gt;MD5 Checksums&lt;/p&gt;&lt;p&gt;37a04f7db8c34fddbb309d067d16a453 curl-7.10.4-1.i386.rpm&lt;br /&gt;e09253b7c227573f4e5b10d3987f433b curl-devel-7.10.4-1.i386.rpm&lt;/p&gt;&lt;p&gt;Credits: &lt;a href=&quot;http://www.cheetaweb.com/&quot;&gt;http://www.cheetaweb.com/&lt;/a&gt;&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/35_easy_curl_7104_wssl_.html</link>
      <pubDate>Thu, 15 Dec 2005 21:35:04 +0000</pubDate>   
  </item>
    <item>
   <title>Check server hardware</title>
   <description>There are a lot of things that may cause a server to crash, this guide is going to primarily look at the hardware side of crashing. There are many things that might be causing the server to crash from a software standpoint such a process that runs out of control or uses too many resources. There are a fwe things that might be going wrong with a server. Normally the component that goes wrong is the hard drive, simply because it is use so much and is a moving part. The RAM on a server will occasionally go but this is more common when the server is moved around or the RAM moved because it has a chance of being statically shocked. On the less common side of things you could have the CPU, powersupply, ethernet card, or motherboard going out.&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;A few important things first:&lt;/p&gt;&lt;p&gt;Does the server crash on a regular basis at the same time? If so look at the cronjobs on the server. If you are running RHEL and cPanel you should disable the auditd because it may be causing the crashes. &lt;/p&gt;&lt;p&gt;Check your /var/log/messages file for the time before the crash and when the server boots up because you will sometimes be able to see an error. If something like the ethernet card goes down you should also see it because the log files will still be writing, you just will not be able to access the server physically. &lt;/p&gt;&lt;p&gt;Make sure your kernel and other software is at the latest version. There have been a few kernel versions with bad drivers that can cause stability problems.&lt;/p&gt;&lt;p /&gt;&lt;p&gt;The easiest thing to look at it smartctl which is a command line tool that reads the status information from the drive directly. Almost modern drive will have the SMART capability which can be probed. &lt;/p&gt;&lt;p&gt;# smartctl -H /dev/sda&lt;/p&gt;&lt;p&gt;If that shows nothing bad take a look at &lt;/p&gt;&lt;p&gt;# smartctl -a /dev/sda&lt;/p&gt;&lt;p&gt;which will show any errors that the disk has encountered. A few errors are ok and normal but if you have more then just a few then it is definatly something to check out. Now since smartctl is a computer program there is a chance that the diagnostics are not correct. Because of this the next best thing to do is to run a disk check. Badblocks is a common tool used to check the disk for errors. To run it go ahead and run badblocks:&lt;/p&gt;&lt;p&gt;#badblocks -v -v /dev/sda&lt;/p&gt;&lt;p&gt;This disk check is going to take a few minutes and will also be constantly using your drive during this time. If your server is very busy you may have trouble with other services running in the background that need to access the disks. If you still think that the disk is bad i would suggest running badblocks 3-5 times. It is possible that the disk drive is just starting to go bad and it might not detect any problems on the first run. If smartctl and badblocks both show nothing chances are the disk driver is just fine.&lt;/p&gt;&lt;p /&gt;&lt;p&gt;The next thing to check out on the server is the RAM. To do this we will use memtester which is a very simple program that simply uses the RAM continously and runs it though a series of tests in order to detect any problems with it. First download and install memtester:&lt;/p&gt;&lt;p&gt;cd /usr/local/src &lt;br /&gt;wget &lt;a href=&quot;http://pyropus.ca/software/memteste...er-4.0.5.tar.gz&quot;&gt;http://pyropus.ca/software/memteste...er-4.0.5.tar.gz&lt;/a&gt;&lt;br /&gt;tar -zxf memtester-4.0.5.tar.gz&lt;br /&gt;cd memtester-4.0.5&lt;br /&gt;make&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now that it has been compiled we are going to have to run it. NOTE when you run memtester it is going to use all of the RAM and your server load will probably jump pretty high. First make sure of how much RAM you have in the system via&lt;/p&gt;&lt;p&gt;free -m&lt;/p&gt;&lt;p&gt;If for some reason this amount is not what you expect the RAM may in fact be bad. It would be in your best interest to have it checked out to make sure why the correct amount is not present, it might simply be because of an error at the datacenter. Below is what you would run if you have 1024 or 1Gb of ram and have it run 5 seperate times to hopefully catch and problems. &lt;/p&gt;&lt;p&gt;./memtester 1024 5&lt;/p&gt;&lt;p&gt;Since the server is using some of the RAM you are going to get an error like the below:&lt;br /&gt;got 460MB (483188736 bytes), trying mlock ...too many pages, reducing...&lt;/p&gt;&lt;p&gt;Though it is best to close as much as possible before the test it is usually not required. Chances are if the server is using the RAM then it is probably good, of course if nothing else can be found it might be worth closing everything and going back and running memtester again. If all 5 tests come back with no problems chances are that the RAM is ok.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Ok that covers most of the stuff that normally goes wrong. The next thing we can try is simply to try to overload the server and see what happens. The program that we will use is simply called stress. It attempt to overload the cpu and hard drive all at once. First go ahead and download and compile the program to run the tests:&lt;/p&gt;&lt;p&gt;cd /usr/local/src&lt;br /&gt;wget &lt;a href=&quot;http://weather.ou.edu/~apw/projects...s-0.18.4.tar.gz&quot;&gt;http://weather.ou.edu/~apw/projects...s-0.18.4.tar.gz&lt;/a&gt;&lt;br /&gt;tar -zxf stress-0.18.4.tar.gz&lt;br /&gt;cd stress-0.18.4&lt;br /&gt;./configure &lt;br /&gt;make; make install&lt;/p&gt;&lt;p&gt;Now we are going to actually run it. Try using the following command to see what happens. This is more or less going to be a last ditch effort to try and get the server to crash by simulating it being very busy. Since this test is relatively short you may try running it a few times to see if you can get it to crash. If the server does crash it does not necessarily mean that there is a hardware problem but it says something is wrong. It is probably best to switch out the hardware if possible if it crashes running the test assuming as I put above you are running the latest drivers and kernels. Here is the command:&lt;/p&gt;&lt;p&gt;stress --cpu 8 --io 4 --vm 2 --vm-bytes 256M --timeout 60s&lt;/p&gt;&lt;p&gt;Credits: &lt;a href=&quot;http://www.eth0.us/&quot; target=&quot;_blank&quot;&gt;John W&lt;/a&gt;&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/18_check_server_hardware.html</link>
      <pubDate>Thu, 15 Dec 2005 20:41:09 +0000</pubDate>   
  </item>
    <item>
   <title>setup remote serial console to display grub menu and boot process</title>
   <description>&lt;p&gt;this HOWTO will show you how to setup your redhat linux server (and probably a few others) to do the following:&lt;/p&gt;&lt;p&gt;* send the grub menu to the remote serial console (so you can select the kernel to boot from)&lt;/p&gt;&lt;p&gt;* send boot process info to the remote serial console (like what you see on your monitor when you boot up at home... you use linux at home, right?)&lt;/p&gt;&lt;p&gt;why does this matter? for me, this all equates to less stress during kernel upgrades (being able to see any problems, choose different kernels, change kernel boot parameters from the grub menu), and less stress when things go awry somewhere on a box and i have to use the master reboot switch and sit around twiddling my thumbs wondering if the system really is rebooting.&lt;/p&gt;&lt;p&gt;WARNING: if you aren&#039;t 100% sure of what you&#039;re doing, DO NOT do any of the following on a live/production server. in other words, if you are new to this stuff, only try this on your brand new box you just ordered just in case you mess it up so bad you have to get it re-imaged.&lt;/p&gt;&lt;p&gt;if you aren&#039;t sure what the remote console is or how to use it, please see this HOWTO: &lt;a href=&quot;http://forum.ev1servers.net/showthread.php?t=52961&quot;&gt;http://forum.ev1servers.net/showthread.php?t=52961&lt;/a&gt;&lt;/p&gt;&lt;p&gt;a thread discussing some uses for the remote console (and the people there probably could have made use of this tutorial) can be found here: &lt;a href=&quot;http://forum.ev1servers.net/showthread.php?t=51199&quot;&gt;http://forum.ev1servers.net/showthread.php?t=51199&lt;/a&gt;&lt;/p&gt;&lt;p&gt;using this tutorial requires grub to be installed as your server&#039;s bootloader (some basic instructions below). it&#039;s probably very possible to get the boot process info sent to the serial console even if you&#039;re using lilo, but i don&#039;t know how to do it with lilo and have no desire to google that info as i don&#039;t like or use lilo (maybe someone else will post info on how to do this with lilo).&lt;/p&gt;&lt;p&gt;this tutorial also makes a few extra assumptions, like that the serial port to use is ttyS0, but i doubt that won&#039;t be the case for anyone.&lt;/p&gt;&lt;p&gt;enjoy and let me know if you have any comments/additions/complaints.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;on to the tutorial:&lt;/p&gt;&lt;p&gt;MAKE SURE GRUB IS YOUR BOOTLOADER&lt;/p&gt;&lt;p&gt;please note that what i have here does not replace outside knowledge of grub/bootloaders. again, if you aren&#039;t sure what you are doing, don&#039;t try any of this on a production server. i am far from a guru. don&#039;t put to much trust in my geek advice (my political views, however, should be taken very seriously =).&lt;/p&gt;&lt;p&gt;if you aren&#039;t sure if grub is your bootloader (default ev1 images at the time of writing have both grub and lilo installed [that is, the programs are present] but lilo is the bootloader installed on the MBR and so is the one in action). if you aren&#039;t sure which is on the MBR and you have grub installed, you can use this command (the # denotes the shell. don&#039;t type the #):&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;div dir=&quot;ltr&quot; style=&quot;TEXT-ALIGN: left&quot;&gt;# grubby --bootloader-probe&lt;/div&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;that will output either &amp;quot;lilo&amp;quot; or &amp;quot;grub&amp;quot;, telling you which is on the MBR.&lt;/p&gt;&lt;p&gt;so, this isn&#039;t a tutorial for installing grub, but i have found with fresh ev1 RHEL servers you can just run:&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;# grub-install /dev/device_name_of_first_disk&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;where device_name_of_first_disk is likely either hda or sda, depending on the type of drives you have. this will (hopefully) install grub on the MBR (and so lilo won&#039;t be there anymore). if you have just installed grub on the MBR and haven&#039;t rebooted yet, you should do that now just so you know that is working before you proceed with other changes (that is, so if there are problems you know at what point things got messed up).&lt;/p&gt;&lt;p&gt;SETUP GRUB AND THE BOOT PROCESS TO GO TO THE SERIAL CONSOLE&lt;/p&gt;&lt;p&gt;now, assuming you have grub installed, it&#039;s time to proceed with setting up the grub menu and the boot process to be sent to the serial console (i believe it will also still allow someone at the terminal to view the grub menu).&lt;/p&gt;&lt;p&gt;1) edit /etc/sysconfig/kudzu and make sure the value for SAFE is yes (change it if needed):&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;SAFE=yes&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;if you do not do this then the serial connection will be reset by kudzu during the boot process.&lt;/p&gt;&lt;p&gt;2) backup /boot/grub/grub.conf&lt;/p&gt;&lt;p&gt;3) edit /boot/grub/grub.conf and add the following two lines to the general config (not to any specific kernel):&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1&lt;br /&gt;terminal --timeout=5 console serial&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;now append this to any kernel lines who you want to see the output of in the console when you boot with those kernels:&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;console=ttyS0,9600n8 console=tty0&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;your resulting grub.conf might look something like this:&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;# grub.conf generated by anaconda&lt;br /&gt;#&lt;br /&gt;# Note that you do not have to rerun grub after making changes to this file&lt;br /&gt;# NOTICE:  You have a /boot partition.  This means that&lt;br /&gt;#          all kernel and initrd paths are relative to /boot/, eg.&lt;br /&gt;#          root (hd0,0)&lt;br /&gt;#          kernel /vmlinuz-version ro root=/dev/hda3&lt;br /&gt;#          initrd /initrd-version.img&lt;br /&gt;#boot=/dev/hda&lt;br /&gt;default=0&lt;br /&gt;timeout=10&lt;br /&gt;fallback=2&lt;br /&gt;splashimage=(hd0,0)/grub/splash.xpm.gz&lt;br /&gt;serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1&lt;br /&gt;terminal --timeout=5 console serial&lt;/p&gt;&lt;p&gt;title Red Hat Enterprise Linux ES (2.4.21-32.0.1.ELsmp)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.4.21-32.0.1.ELsmp ro root=LABEL=/ console=ttyS0,9600n8 console=tty0&lt;br /&gt;        initrd /initrd-2.4.21-32.0.1.ELsmp.img&lt;br /&gt;title Red Hat Enterprise Linux ES (2.4.21-32.0.1.EL)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.4.21-32.0.1.EL ro root=LABEL=/&lt;br /&gt;        initrd /initrd-2.4.21-32.0.1.EL.img&lt;br /&gt;title Red Hat Enterprise Linux ES (2.4.21-27.ELsmp)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.4.21-27.ELsmp ro root=LABEL=/&lt;br /&gt;        initrd /initrd-2.4.21-27.ELsmp.img&lt;br /&gt;title Red Hat Enterprise Linux ES-up (2.4.21-27.EL)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.4.21-27.EL ro root=LABEL=/&lt;br /&gt;        initrd /initrd-2.4.21-27.EL.img&lt;/p&gt;&lt;p&gt;---------------------&lt;/p&gt;&lt;p&gt;if you aren&#039;t sure about editing the grub.conf file, just note that if your system already booted fine from grub and you are just trying to get the serial console to show boot info, then you don&#039;t want to make any changes whatsoever to any of the vmlinuz or initrd filenames that are referenced. the only change you&#039;ll make to any of those kernels lines is to append the string i mentioned above to the end of the kernel line, as you can see in the above example.&lt;/p&gt;&lt;p&gt;note that in my example i&#039;ve only changed one kernel to send boot info to the console. there&#039;s no reason for that other than a) i was lazy, b) i wanted to leave some untouched in case i messed things up adding this bit to the kernel line, and c) i don&#039;t boot from the other kernels. also, as you should be able to see the grub boot menu from the console now, you could likely boot your system fine even if you messed up the individual kernel configurations in grub.conf by using grub&#039;s handy ability to let you declare kernel boot parameters from the grub menu (for info on how to do that, seek out some grub tutorials).&lt;/p&gt;&lt;p&gt;that&#039;s it. now save your grub.conf, open a connection to the serial console (in a new window, if you want) and reboot. if all is goes well, you shouldn&#039;t be disconnected even because of a reboot. when the box starts back up you will see &amp;quot;press any key to continue&amp;quot; a few times. if you press a key right then you will get the grub menu. if you don&#039;t, a few seconds later (possibly after grub has shown the menu to the terminal?) your server will boot from the default kernel and you will start to see the boot info.&lt;/p&gt;&lt;p&gt;CREDITS&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.commondreams.org&quot;&gt;http://www.commondreams.org&lt;/a&gt; &lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/17_setup_remote_serial_console_to_display_grub_menu_and_boot_process.html</link>
      <pubDate>Thu, 15 Dec 2005 20:32:59 +0000</pubDate>   
  </item>
    <item>
   <title>yum upgrade; redhat 9 -&gt; CentOS 3.1 </title>
   <description>&lt;p&gt;Here are the steps i took to update a Redhat 9 box running on a minimal install ( no X, etc ) as suitable for a server to CentOS 3.1 ( which is a fork of RedHat Enterprise Linux v3 )..&lt;/p&gt;&lt;p&gt;I took a fresh install of redhat 9, slapped it on a test box then updated it with up2date. I then installed yum for redhat 9 which can be found here:&lt;br /&gt;Yum Download&lt;/p&gt;&lt;p&gt;Now, you might want to rebuild the rpm database, just incase, thats up to you:&lt;br /&gt;# rpm -vv --rebuilddb&lt;/p&gt;&lt;p&gt;I then modified /etc/yum.conf to look like this:&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Code&lt;/p&gt;&lt;p&gt;---------------------------------&lt;/p&gt;&lt;p&gt;[main]&lt;br /&gt;exclude=httpd* mysql* php* perl*&lt;br /&gt;cachedir=/var/cache/yum&lt;br /&gt;debuglevel=2&lt;br /&gt;logfile=/var/log/yum.log&lt;br /&gt;pkgpolicy=newest&lt;br /&gt;distroverpkg=redhat-release&lt;br /&gt;installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported&lt;br /&gt;tolerant=1&lt;br /&gt;exactarch=1&lt;/p&gt;&lt;p&gt;[base]&lt;br /&gt;name=CentOS-$releasever - Base&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/os/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#released updates&lt;br /&gt;[update]&lt;br /&gt;name=CentOS-$releasever - Updates&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/updates/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#packages used/produced in the build but not released&lt;br /&gt;[addons]&lt;br /&gt;name=CentOS-$releasever - Addons&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/addons/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#additional packages that may be useful&lt;br /&gt;[extras]&lt;br /&gt;name=CentOS-$releasever - Extras&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/extras/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;---------------------------------&lt;/p&gt;&lt;p&gt;Change &amp;quot;&lt;a href=&quot;http://mirror.pacific.net.au&quot;&gt;http://mirror.pacific.net.au&lt;/a&gt;&amp;quot; to a mirror near you, a list can be found here:&lt;br /&gt;CentOS Mirrors&lt;/p&gt;&lt;p&gt;After that you need to import the GPG key for the centos RPMs. Issue the following command:&lt;br /&gt;# rpm --import &lt;a href=&quot;http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3&quot;&gt;http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Nows the time you want to check you have made appropriate backups, etc ( i hope you all test this out before rolling production servers! ).&lt;/p&gt;&lt;p&gt;Next step is to run the following command:&lt;br /&gt;# yum upgrade&lt;/p&gt;&lt;p&gt;This will download the rpm headers and determine what needs to be done, play carefull attention of course here and in all parts if this process for errors. Yum will then ask you if you are sure you want to go ahead, if no errors are present, press &amp;quot;y&amp;quot; then &amp;quot;enter&amp;quot;.&lt;/p&gt;&lt;p&gt;This process will take a while, depending on your connection and the gear your installing it on of course. Go brew a fresh pot of coffee, order a pizza, grab a movie or GET BACK TO WORK YOU!!!!&lt;/p&gt;&lt;p&gt;After thats done, check for errors, make sure the new kernel is installed by issueing:&lt;br /&gt;# rpm -qa|grep kernel&lt;/p&gt;&lt;p&gt;You should be presented with a kernel versioned like this: 2.4.21-15.EL.c0 as well as your other kernels previously installed. Check your boot loader to make sure the new kernel is default.&lt;/p&gt;&lt;p&gt;Finally run:&lt;br /&gt;# yum update&lt;/p&gt;&lt;p&gt;Just to ensure you have everything you need.&lt;/p&gt;&lt;p&gt;Now your set to reboot ( hopefully ):&lt;br /&gt;shutdown -rf now&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/11_yum_upgrade_redhat_9_-_centos_31_.html</link>
      <pubDate>Thu, 15 Dec 2005 20:02:35 +0000</pubDate>   
  </item>
  </rdf:RDF>
