Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

Openstatus installation guide.

$
0
0

This is for a Debian Master;

deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb http://deb.nickmoeck.com/debian/ stable main

is the content of /etc/apt/sources.list

server {

        listen 80;

        access_log /var/log/nginx/openstatus.access.log;
        error_log /var/log/nginx/openstatus.error.log;

        root /usr/share/openstatus-server/public_html;
        index index.php;

        location ~ \.php$ {
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                include /etc/nginx/fastcgi_params;
        }
}

is the content of /etc/nginx/sites-enabled/default

apt-get purge apache2*
nano /etc/apt/sources.list
apt-get install nano
apt-get update
apt-get install nano
nano /etc/apt/sources.list
wget -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
wget -O - http://deb.nickmoeck.com/debian/packages.gpg.key | apt-key add -
apt-get update
apt-get install openstatus-server
apt-get update
nano /etc/apt/sources.list
apt-get update
apt-get install php5-fpm nginx php5-sqlite3
apt-get install php5-fpm nginx php5-sqlite
apt-get install php5
apt-get install openstatus-server
nano /etc/nginx/sites-enabled/default
service nginx restart
service php5-fpm restart
ifconfig
apt-get install openstatus-client
nano /etc/openstatus/config.php
service openstatus-client restart
nano /etc/openstatus/openstatus-client.conf
service openstatus-client restart
apt-cache policy openstatus-server

--
Done for master

Now;

CentOS Slave;

wget http://pkgs.repoforge.org/python-configobj/python-configobj-4.6.0-1.el5.rf.noarch.rpm
wget http://pkgs.repoforge.org/python-simplejson/python-simplejson-2.0.9-1.el5.rf.i386.rpm
rpm -i python-configobj-4.6.0-1.el5.rf.noarch.rpm
rpm -i python-simplejson-2.0.9-1.el5.rf.i386.rpm
mkdir /etc/openstatus/
cd /usr/local/bin
wget http://openstatus.nickmoeck.com/export/ecb2b9b83ecc488b5534d7d355b9fe4d7c476280/openstatus-client
chmod +x openstatus-client
cd /etc/openstatus
wget http://openstatus.nickmoeck.com/export/ecb2b9b83ecc488b5534d7d355b9fe4d7c476280/openstatus-client.conf
nano open*
ifconfig
openstatus-client

--

Debian/ubuntu Slave:

mkdir /etc/openstatus/
cd /usr/local/bin
wget http://openstatus.nickmoeck.com/export/ecb2b9b83ecc488b5534d7d355b9fe4d7c476280/openstatus-client
chmod +x openstatus-client
cd /etc/openstatus
wget http://openstatus.nickmoeck.com/export/ecb2b9b83ecc488b5534d7d355b9fe4d7c476280/openstatus-client.conf
apt-get update -y
apt-get install python-configobj -y
apt-get install python-simplejson -y
openstatus-client
cd /etc/openstatus
nano *
openstatus-client


Post you're master's below :)


Viewing all articles
Browse latest Browse all 39981

Trending Articles