Configuring range of ips in Linux,Centos,fedora core, red hat

Thats pretty simple

Just configure on ips in

/etc/sysconfig/network-scripts/ifcfg-eth0

Then Make a new file named ifcfg-eth0-range0

emacs /etc/sysconfig/network-scripts/ifcfg-eth0-range0

More »

How to remove drweb from plesk ?

April 1st, 2010 1 Comment   Posted in Centos, Fedora Core, Plesk

One simple command do this

For Centos/Fredora

yum remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater  psa-drweb-configurator
 

For Debian/Ubuntu
More »

Upgrading from Fedora 9 to Fedora 10 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

Fedora 10 is out and once again it is time to upgrade. The upgrade from Fedora 9 to Fedora 10 is almost exactly like the upgrade from Fedora 8 to Fedora 9. Here are the steps you need to do the upgrade from Fedora 9 to Fedora 10.

 

Before I go on about doing this by hand you should know that you can use PreUpdate once it populates with the latest update. More »


Upgrading from Fedora 8 to Fedora 9 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

A new release of Fedora is out again so it is time to check out the upgrade. This time it is the Fedora 9 release. The upgrade from Fedora 8 to Fedora 9 is almost exactly like the upgrade to Fedora 8. Here are the steps you need to do the upgrade from Fedora 8 to Fedora 9:

 

As someone points out in the comments there is a new facility to do upgrades that you can install. See the following wiki entry about the PreUpgrade. I tried to use PreUpgrade but it didn’t install the update boot option for some reason but maybe others will have better luck. More »


Upgrading from Fedora 7 to Fedora 8 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

Fedora 8 has been released so it is time to upgrade once again. First you should go back and upgrade to Fedora 7 if you haven’t already. From there it is even easier this time to upgrade. Here are the steps you need to do the upgrade from Fedora 7 to Fedora 8:

  1. yum update
  2. yum clean all
  3. I like to repeated update and clean all a second time to make sure everything got updated
  4. Run the following command to update the yum repo on your box:

Upgrading from FC6 to Fedora 7 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

Now that Fedora 7 has been release it is time to upgrade from that crusty old Fedora Core 6. Note that they have removed the “Core” from the name so a few things have changed with the paths used in yum. Last year I did a post on how to upgrade from FC5 to FC6 and this upgrade happened on the first box I used for that.

  1. Before you start see the note after these steps about checking for disk labels
  2. yum update
  3. yum clean all
  4. I repeated update and clean all a second time to make sure everything got updated
  5. I then ran the command:

Upgrade FC5 to FC6 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

Now that Fedora Core 6 is available it is time to upgrade those old crusty FC5 installs. To upgrade from FC5 you can follow these steps:

  1. You may be able to skip this step but I did a yum update on FC5 first to make sure everything there was up to date and worked before moving to FC6.
  2. Do a “yum clean all” to remove all the old yum cruft.
  3. Install the fedora-release for Fedora Core 6. Use the rpm command:

Upgrade Fedora Core 4 to Fedora Core 5 with yum

January 13th, 2009 No Comments   Posted in Fedora Core

I recently upgraded a bunch of FC4 (a few FC3) installs to FC5 using yum. It has been a long time since I’ve tried doing an OS upgrade like this because it used to be pretty painful. I was surprised at how easy it is to do now. There are a few issues to get past but for the most part for fedora core 4 to fedora core 5 you just have to follow a few simple steps:

  1. Remove any kernels before 2.6.14. There are packages that will not allow you to upgrade unless you do this step. Use the yum command: yum remove kernel-2.6.14* or the rpm command rpm -e kernel-2.6.14*
  2. Even though it isn’t in the documentation I have had trouble in the past with some dependancies not working out correctly so I like to run “yum clean all” before starting the true upgrade.
  3. Install the fedora-release for Fedora Core 5. Use the rpm command:
    rpm  -Uhv 
    http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm

    More »