FreeVPS Documentation Version 1.2

Building FreeVPS Tools Binaries
(version 1.2)

 

Related Docs:  

FreeVPS Installation FreeVPS Kernel



You can compile FreeVPS tools and build FreeVPS tools binaries on your host server. You need to download and install kernel-freevps-sources-1.2.

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:

  1. 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.

  2. In the directory where you untarred FreeVPS source files (for example, /var/tmp/freevps-tools), run:

    # autoconf

    Required autoconf version 2.13-17 or highter 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.

  3. Compile tools:

    # make

  4. Install tools:

    # su -
    # make install

  5. Build FreeVPS tools package:

    1. Archive compiled sources:
      # cd ..
      # tar cfz freevps-tools.tar.gz
    2. 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
  6. 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



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