|
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.
Rebuild kernel-freevps sources locally on your VPS host server:
- 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,...
- Rebuild kernel-freevps on your host:
# rpmbuild --rebuild kernel-freevps-1.3-x.src.rpm
- 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
Build FreeVPS kernel binary packages using available kernel
freevps patches or snapshots:
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
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
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
Then you need to download kernel configs to the kernel-freevps/configs directory from:
http://www.freevps.com/download/make_rpm/configs
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
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
Run the make_kernel_rpm utility:
# ./make_kernel_rpm
- Newly built FreeVPS kernel packages will be located in your src directory, by default, in:
/usr/src/redhat/RPMS
/usr/src/redhat/SRPMS
- Get the latest FreeVPS kernel sources from CVS
and build kernel binaries according to the standard procedure of building kernels.
|