Add new slave for kloxo control panel

My friend came and bring more problem too. He want to use vps hosting as alternative for his shared account that getting soft suspend for using many cpu resources. His work as internet marketing make uptime and downtime is very crusial.

He want to experiment with kloxo but willing to see more and since he want to give me access to new vps server  (via donate) I agree to set new CentOS vps server for him.

Here’s step by step guide install kloxo slave server :

Get new VPS server

So many vps provider outside and I choose one from vps.net

New account set up quickly and I have root access for CentOS 32 bit.

Update Yum

I love to use package management as front end tool for managing package.

#yum update

Install Editor

I prefer nano

#yum install nano

Disable secure linux (selinux)

# echo ‘selinux=disabled’ >> /etc/sysconfig/selinux

or with this at command line.

# setenforce 0

setenforce: SELinux is disabled

Install kloxo

#cd /home

#mkdir kloxo

#cd kloxo

#wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-slave.sh

#sh ./kloxo-install-slave.sh

The process will continue as many package will be installed automatically by kloxo like php, mysql, pure-ftpd, awstat etc.

This message will be shown when all process working successfully :

Congratulations. Kloxo has been installed succesfully on your server as slave
You should open the port 7779 on this server, since this is used for the communication between master and slave.

To access this slave, to go admin->servers->add server, give the ip/machine name of this server. The password is ‘admin’. The slave will appear in the listof slaves, and you can access it just like you access localhost

Restart Server

#reboot

Wait and try to ping ip address of vps to make sure reboot process already passed.

Checking current process

# ps ax

PID TTY      STAT   TIME COMMAND
1 ?        Ss     0:00 init [3]
5160 ?        Ss     0:00 /usr/sbin/sshd
5226 ?        Ss     0:00 /usr/bin/freshclam -d -p /var/run/clamav/freshclam.pid
5235 ?        S      0:00 sh ../sbin/kloxo-wrapper.sh
5356 ?        S      0:00 /usr/local/lxlabs/ext/lxlighttpd/sbin/kloxo.httpd -f /usr/local/lxlabs/kloxo/file/lighttpd.conf
5703 ?        Ss     0:00 crond
5714 ?        Ss     0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
5718 ?        S      0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
5741 ?        S      0:00 /usr/local/lxlabs/ext/php/php ../sbin/kloxo.php slave
6015 ?        Ss     0:00 sshd: [email protected]/0
7290 ?        Ss     0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
7333 pts/0    Ss     0:00 -bash
7342 ?        Ss     0:00 syslogd -m 0
7387 ?        S      0:00 qmail-send
7389 ?        S      0:00 splogger qmail
7390 ?        S      0:00 qmail-lspawn |preline procmail
7392 ?        S      0:00 qmail-rspawn
7393 ?        S      0:00 qmail-clean
7793 pts/0    R+     0:00 ps ax

Access the web

http://vps-ip-address:7778/

you’ll see this message  :

Slave Server

Add slave server to kloxo master

Login to kloxo master and click Servers.

Click Add Server.

Enter IP or hostname and click Add button.

The server will be listed in servers under admin.

Till this step kloxo slave successfully install at new vps server and also successfully integrated to kloxo master.

Enjoy the server and stay health!

2 Comments

  1. I’m currently setting up Kloxo in a VPS account. I’m new to all of this. What is the benefit of a Slave Server?

    Thank you for this great guide.

    al : you need slave server for performance reason, when your primary server fail you have slave server to count on.

  2. Hi,
    Thanks for this great post.
    I just purchased my second VPS account and had Kloxo – slave installed.

    When added slave to master Kloxo I was able to add it only with IP address. I tried using nameserver (from my hosting VPS control panel) but it did not work.

    Than I tried using domain name and did setup ns and ns1 and also slave.mydomain.com with registrar to point to VPS IP. I tried using that slave.mydomain.com instead of IP for slave but did not work.

    Anyway I want to use this second VPS (slave) as a mysql server but it is listed by IP address in my server list and also I was not able to add mysql admin to it. Even adding a new domain to the system it shows under master VPS so my slave is just sitting there useless.

    Do you know of step by step guide to setup second VPS/server as slave for use with mysql only and how to cofigure it for any other use.

    Thanks.

Comments are closed.