forked from capensis/canopsis
-
Notifications
You must be signed in to change notification settings - Fork 0
Install from sources
vcandeau edited this page Feb 12, 2014
·
18 revisions
Install requirements with root
user.
apt-get update
apt-get install sudo git-core libcurl4-gnutls-dev libncurses5-dev
Disable some services
## Disable SELinux and Firewall
setenforce 0
chkconfig iptables off
chkconfig ip6tables off
chkconfig qpidd off
service iptables stop
service ip6tables stop
service qpidd stop
Install some packages
yum install wget make redhat-lsb gcc gcc-c++ zlib-devel ncurses-devel git libcurl-devel
Install xorg-x11-server-Xvfb
yum install xorg-x11-server-Xvfb
If package xorg-x11-server-Xvfb 1.10.4-6
not found, you can try:
wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
Clone git repository:
git clone https://github.com/capensis/canopsis.git
cd canopsis
git submodule init
git submodule update
You can switch to development branch:
git checkout develop
cd sources
sudo ./build-install.sh
If build failed, you can see logs in log/
directory.
Log in canopsis
and start it:
sudo su - canopsis
hypcontrol start
You can verify installation: (in canopsis
environment)
python opt/canotools/functional-test.py