-
Notifications
You must be signed in to change notification settings - Fork 0
Install from packages
Debian 6, Ubuntu 12.04 LTS and CentOS 6 64 bits only.
apt-get update
apt-get install sudo uuid-runtime curl xvfb bzip2 libbz2-dev bc libevent-dev libxrender1 libfontconfig1 libltdl7 python-pip git-core python-gevent
*/!\ Debian 6 and Ubuntu 10.04 Only, upgrade Pip /!*
easy_install pip
rm /usr/bin/pip
ln -sv /usr/local/bin/pip-2.6 /usr/bin/pip
pip install pip --upgrade
Disable some services
## Disable SELinux and Firewall
sed -i "s#enforcing#disabled#" /etc/selinux/config
setenforce 0
chkconfig iptables off
chkconfig ip6tables off
chkconfig qpidd off
service iptables stop
service ip6tables stop
service qpidd stop
Install some packages
/!\ It looks like pip > 1.3 is broken with some ubik's requirements... Tests are running right now to fix that. A workaround is to install the package python-pip from the yum repository
yum install wget make redhat-lsb gcc gcc-c++ zlib-devel ncurses-devel git python-setuptools libevent
easy_install pip
Install xorg-x11-server-Xvfb
yum install xorg-x11-server-Xvfb
If package xorg-x11-server-Xvfb 1.10.4-6
is not found, you may 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
pip install --upgrade git+https://github.com/socketubs/ubik.git@0.1
useradd -m -d /opt/canopsis -s /bin/bash canopsis
sudo su - canopsis
# You can export your HTTP proxy configuration
export http_proxy="http://<USER>:<PASS>@<SERVER>:<PORT>"
export https_proxy=$http_proxy
Download and install the installer (as canopsis
user):
mkdir tmp && cd tmp
wget http://repo.canopsis.org/stable/canopsis_installer.tgz
tar xfz canopsis_installer.tgz
cd canopsis_installer
If you have a Proxy, you must edit ubik.conf
before installation.
After installation ubik.conf
is copied into ~/etc/ubik.conf
.
./install.sh
exit
Download and install the installer (as canopsis
user):
mkdir tmp && cd tmp
wget http://repo.canopsis.org/daily/canopsis_installer.tgz
tar xfz canopsis_installer.tgz
cd canopsis_installer
If you have a Proxy, you must edit ubik.conf
before installation.
After installation ubik.conf
is copied into ~/etc/ubik.conf
.
./install.sh daily
exit
Install package cmaster
(as canopsis
user):
sudo su - canopsis
ubik update
ubik list
ubik install cmaster
hypcontrol start
Now you can login on WebUI: http://Your_IP:8082
(Login: root
, Password: root
)
Enjoy ;)