core-extra/wiki/LinuxInstall.wiki
ahrenholz 8e467e59ef change CentOS 5.3 to 5.4
change CORE 3.4 to 3.5
2009-10-27 21:45:15 +00:00

45 lines
No EOL
2 KiB
Text

#summary How to install CORE for Linux
= Prerequisites =
# First install [http://www.centos.org CentOS] 5.4.
# Install the [http://www.openvz.org OpenVZ] kernel and utilities (these instructions are straight from the [http://wiki.openvz.org/Quick_installation#yum_pre-setup OpenVZ wiki]
{{{
cd /etc/yum.repos.d
wget http://download.openvz.org/openvz.repo
wget http://download.openvz.org/RPM-GPG-Key-OpenVZ
rpm --import RPM-GPG-Key-OpenVZ
yum install ovzkernel vzctl
}}}
# Install other prerequisite packages. Enable the [http://fedoraproject.org/wiki/EPEL EPEL repo] in order to get `ebtables`.
{{{
yum install bridge-utils iproute
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
yum install ebtables
}}}
You should follow the other instructions from the [http://wiki.openvz.org/Quick_installation#yum_pre-setup OpenVZ wiki Quick Installation], with the sections *Configuring the bootloader*, *sysctl*, and *SELinux*.
= Installing from RPMs =
Download the CORE RPM packages from here:
http://downloads.pf.itd.nrl.navy.mil/core/installer-packages/
CORE releases for Linux consist of two RPM files. The `core-n.n...rpm` package contains the CORE GUI, API library, and daemons necessary for running on Linux. The `core-root-n.n....rpm` package is quite a bit larger, as it contains a default [http://wiki.openvz.org/OS_template OS template cache] for CORE that is installed to `/vz/private/core-root`. Individual CORE nodes will symlink to share this root filesystem.
{{{
rpm -ivh core-3.5-1.i386.rpm
rpm -ivh core-root-3.5-1.i386.rpm
}}}
= Installing from source =
Download the source tarball from here:
http://downloads.pf.itd.nrl.navy.mil/core/source/
To build and configure it, you should have the autotools suite installed (autoconf, automake, libtool), an easy way to get these is using `yum groupinstall "Development Tools"`.
{{{
tar xzf core-3.5.tar.gz
cd core-3.5
./bootstrap.sh
./configure
make
sudo make install
}}}