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.
I love to use package management as front end tool for managing package.
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
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
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 
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
you’ll see this message :
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!