Building from Source RPMs
If you are using a Red Hat based Linux distribution (Red Hat Enterprise Linux, CentOS or Fedora), or a SUSE based distribution (SUSE Linux Enterprise or openSUSE), the RPM source package for xvp will allow you to build 3 binary RPMs: for xvp, xvpconsole and xvpweb. On Red Hat based distributions, it will also allow you to build xvpappliance. The binary xvp package you build includes the xvp and xvpviewer executables and manual pages, an init script to stop, start and manage xvp, and a logrotate script.
As a prerequisite, you must first install the curl-devel and libxml2-devel RPMs.
Then you need to build and install libxenserver as an RPM. If you've already installed libxenserver when installing a previous release of xvp, you can skip this step.
-
Download
libxenserver-6.2.0-1-src.tar.bz2from the Citrix Community Web Site. Please note that earlier versions of libxenserver are incompatible with xvp versions 1.14.0 and later. -
Download the Makefile patch and the RPM spec file for libxenserver using the links in the Releases section above.
-
If using a Red Hat based Linux, e.g. CentOS 5, then as root, copy
libxenserver-6.2.0-1-src.tar.bz2and the Makefile patch into/usr/src/redhat/SOURCES, and the RPM spec file into/usr/src/redhat/SPECS. If using a SUSE based Linux, theSOURCESandSPECSsubdirectories are under/usr/src/packagesinstead: substitute this in the instructions below.Note: Recent Red Hat releases, e.g. Fedora 12 and later and RHEL 6 and later, use the directory
/root/buildrootinstead of/usr/src/redhat. If/usr/src/redhatdoesn't exist, type as root:mkdir -p /root/buildroot/SOURCES /root/buildroot/SPECSand substitute
/root/buildrootfor/usr/src/redhatin the instructions below. -
Run as root:
cd /usr/src/redhat/SOURCES tar xjf libxenserver-6.2.0-1-src.tar.bz2 mv libxenserver libxenserver-6.2.0 tar cjf libxenserver-6.2.0-1-src.tar.bz2 libxenserver-6.2.0 rm -rf libxenserver-6.2.0 cd .. rpmbuild -bb SPECS/libxenserver.spec -
This will create 3 RPM files under
/usr/src/redhat/RPMS. Install thelibxenserverandlibxenserver-develones (you can ignore thelibxenserver-debuginfoone), usingrpm -ivh filename filename.
You can now build and install xvp from RPM.
-
Download
xvp-1.16.0-1.src.rpmusing the link in the Releases section above, into a temporary directory. -
As root, in the same directory, run:
rpmbuild --rebuild xvp-1.16.0-1.src.rpm -
This will create several RPM files under
/usr/src/redhat/RPMS. Install thexvpone (you can ignore thexvp-debuginfoone), usingrpm -ivh filename, unless you have a previous version already installed, in which case you should upgrade usingrpm -Uvh filename.If you are upgrading from a version prior to 1.2.0, any previous version of xvp already running will be left running, and in this case you should also run
service xvp restart. This is done automatically if upgrading from 1.2.0 or later. -
To be able to use the web interface, install the
xvpwebRPM on the same computer. The web files are then in the directory/var/www/html/xvpweb(Red Hat) or/srv/www/htdocs/xvpweb(SUSE). -
If you wish to use the supplied Java viewer on Linux, without using the web interface, install the
xvpviewerRPM on the relevant client machines. -
To turn a Red Hat based system into a self-contained appliance, install the
xvpapplianceRPM as well asxvpandxvpweb. There is no need to installxvpviewer.
Now proceed to configure your system.