|
You can compile FreeVPS tools
and build FreeVPS tools binaries on your host server.
You need to download and install kernel-freevps-sources-1.3.
RedHat 7.3: http://www.freevps.com/download/rpms/RH_73
RedHat EL 3: http://www.freevps.com/download/rpms/RH_EL
Please follow this step-by-step instruction to install, make and build FreeVPS tools:
Download the latest stable Free VPS tools sources from our site:
# wget http://www.freevps.com/download/releases/freevps-tools.tar.gz
Instead, you may wish to download the latest
snapshot or
CVS build.
In the directory where you untarred FreeVPS source files
(for example, /var/tmp/freevps-tools), run:
# autoconf
Required autoconf version 2.13-17 or higher installed.
# ./configure
Most useful options of the script are:
--with-freevps_cfg - path to VPS configuration files VPS_NAME.conf
--with-freevps_home - path to the directory where all VPS servers VPS_NAME will be located.
Run ./configure --help for more options.
Compile tools:
# make
Install tools:
# su -
# make install
Build FreeVPS tools package:
- Archive compiled sources:
# cd ..
# tar cfz freevps-tools.tar.gz
- Copy the tarball with compiled sources
and the .spec file to the RedHat's src directory:
# cp ./freevps-tools.tar.gz /usr/src/redhat/SOURCES
# cp freevps-tools/freevps-tools.spec /usr/src/redhat/SPECS
Build freevps-tools package:
# rpmbuild -ba /usr/src/redhat/SPECS/freevps-tools.spec
New package will be located in your RedHat package directory:
/usr/src/redhat/RPMS
|