FreeVPS Documentation

Building FreeVPS Kernel Binaries

 

Related Docs:  

FreeVPS Installation FreeVPS Kernel FreeVPS Bug Tracker



FreeVPS kernel is a generic Linux kernel release 2.4.21-15.0.4.EL patched with the FreeVPS 1.3 patch.
We support only Red Hat Linux release 7.3, Red Hat Enterprise Linux release 3, and CentOS 3.x, but you can try to build FreeVPS kernel for any other Linux Red Hat's.

There are different ways to build your own FreeVPS kernel.

  1. Rebuild kernel-freevps sources locally on your VPS host server:

    1. Download latest FreeVPS kernel sources package from our site:
      # wget http://www.freevps.com/download/rpms/kernel-freevps-1.3-x.src.rpm
      where x=1,2,...
    2. Rebuild kernel-freevps on your host:
      # rpmbuild --rebuild kernel-freevps-1.3-x.src.rpm
    3. Newly built FreeVPS kernel packages will be located in your RedHat source src directory:
      Default for RedHat 7.3: /usr/src/redhat/RPMS
      Default for RedHat EL 3: /usr/src/redhat/SRPMS
  2. Build FreeVPS kernel binary packages using available kernel freevps patches or snapshots:

    1. Create temporary directory with the following structure. Example:

      # cd /var/tmp
      # mkdir -p kernel-freevps/configs kernel-freevps/patches kernel-freevps/src.rpm
      # cd kernel-freevps
    2. Download RedHat Enterprise Linux kernel 2.4.21-15.0.4.EL sources:

      # wget http://updates.redhat.com/enterprise/3ES/en/os/SRPMS/kernel-2.4.21-15.0.4.EL.src.rpm -P kernel-freevps/src.rpm
    3. Download the latest patch or snapshot from our site:

      The latest stable patch you will find in:
      http://www.freevps.com/download/releases

      The latest snapshot is available at:
      http://www.freevps.com/download/snapshots

      Copy patch or snapshot to the created kernel-freevps/patches directory

    4. Then you need to download kernel configs to the kernel-freevps/configs directory from:

      http://www.freevps.com/download/make_rpm/configs
    5. Download the kernel's .spec file and the make_kernel_rpm script:

      # wget http://www.freevps.com/download/make_rpm/freevps-kernel-1.3.spec -P kernel-freevps
      # wget http://www.freevps.com/download/make_rpm/make_kernel_rpm -P kernel-freevps
    6. Check the kernel's .spec file and make_kernel_rpm script for build versions, used patch/snapshot file, and if it is required, fix that information

    7. Run the make_kernel_rpm utility:
      # ./make_kernel_rpm

    8. Newly built FreeVPS kernel packages will be located in your src directory, by default, in:
      /usr/src/redhat/RPMS
      /usr/src/redhat/SRPMS
  3. Get the latest FreeVPS kernel sources from CVS and build kernel binaries according to the standard procedure of building kernels.


Home   Downloads   Docs   FAQ   News  Partners   Contact
© Copyright 1998-2006. Positive Software Corporation.
All rights reserved.