Install Kloxo-MR on a Linux VPS

Install Kloxo-MR on a Linux VPS

Kloxo-MR is free and open source hosting control panel. It can be easily installed and it is pretty simple to use. Today we will show you how to install it on a Linux VPS.

To install Kloxo-MR you need to have Redhat/CentOS 5 or 6 (32bit or 64bit) installed on your Linux VPS. Our recommendation is to select CentOS 6 64bit. For this tutorial we are going to use CentOS VPS with CentOS 6 64bit installed.

Kloxo-MR Features

  • OS: Redhat/CentOS 5 and 6 (32bit and 64bit) or their variants; also Redhat/Centos 7 *)
  • Billing: AWBS, WHMCS, HostBill, TheHostingTool, AccountLab Plus, Blesta and BoxBilling (note: claim by billing’s author)
  • Web server: Nginx, Nginx-Proxy and Lighttpd-proxy, Hiawatha, Hiawatha-proxy and Httpd 24, beside Httpd and Lighttpd; also Dual and Multiple Web server *)
  • Webcache server: Squid, Varnish and ATS *)
  • Php: Dual-php with php 5.3/5.4 as primary and php 5.2 as secondary; multiple-php *)
  • PHP-type for Apache: php-fpm_worker/_event and fcgid_worker/_event; beside mod_php/_ruid2/_itk and suphp/_worker/_event
  • Mail server: qmail-toaster instead special qmail (in progress: change from courier-imap to dovecot as imap/pop3) *)
  • Database: MySQL or MariaDB *)
  • Database Manager: PHPMyAdmin; Adminer, MyWebSql and SqlBuddy as additional **)
  • Webmail: Afterlogic Webmail Lite, Telaen, Squirrelmail, Roundcube and Rainloop; Horde and T-Dah dropped
  • FTP server: Pure-ftpd
  • DNS Server: Bind and Djbdns; add Powerdns, MaraDNS, NSD, myDNS and Yadifa *)
  • Addons: ClamAV, Spamassassin/Bogofilter/Spamdyke, RKHunter and MalDetect
  • Free SSL: Let’s Encrypt (via letsencrypt/certbot-auto and acme.sh) and StartAPI *)
  • Fixed many bugs of Kloxo Official (including security issues)
  • And many more!
Read Also  tutorial install cyberpanel free control panel centos

 

How To Install

A. pre-install — better for fresh install
cd /
# update centos to latest version
yum update -y
# install some packages like package-cleanup, etc
yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y
yum install telnet wget -y
cd /
B. Install Kloxo-MR
– Install/reinstall/upgrade — data not destroyed with this fork
for existing Kloxo (6.1.x), run ‘sh /script/update’ first.
B.1. Fresh Install
B.1.1. for version 6.5.0 (rpm naming as kloxomr-6.5.0-*.rpm)
# move to /tmp
cd /tmp
# remove old rpm
rm -f mratwork*
# install rpm (read Warning)
rpm -ivh https://github.com/mustafaramadhan/rpms/raw/master/mratwork/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm
# move to /
cd /
# update
yum clean all
yum update mratwork-* -y
yum install kloxomr -y
sh /script/upcp
B.1.2. for version 7.0.0 (rpm naming as kloxomr7-7.0.0-*.rpm)
# move to /tmp
cd /tmp
# remove old rpm
rm -f mratwork*
# install rpm (read Warning)
rpm -ivh https://github.com/mustafaramadhan/rpms/raw/master/mratwork/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm
# move to /
cd /
# update
yum clean all
yum update mratwork-* -y
yum install kloxomr7 -y
sh /script/upcp
B.2. update from 6.5.0 to 7.0.0
yum replace kloxomr –replace-with=kloxomr7 -y
# ‘-y’ mean force
sh /script/upcp -y
sh /script/mysql-optimize –select=upgrade
B.3. update from Kloxo Official 6.1.19
## follow step B.1.1 or B.1.2 and read ‘WARNING’ below before next step
# ‘-y’ mean force
sh /script/upcp -y
sh /script/mysql-optimize –select=upgrade
WARNING:
1. Need running ‘sh /script/backup-patch’ in Kloxo Official (6.1.12) before backup data.
– In Kloxo offical run:
cd /script
wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo/pscript/backup-patch –no-check-certificate
sh ./backup-patch
2. Need remove certain rpms in Kloxo Official after 6.1.12 (testing in 6.1.19)
# remove packages from Kloxo Official
yum remove kloxo* -y
3. Since 6.5.0.f-20130701, Kloxo-MR using MySQLi API instead MySQL API. Need update mysql 5.0.x to 5.1.x or above for Centos 5.
Check mysql version with:
mysql -V|awk ‘{print $5}’
Update with:
yum replace mysql –replace-with=mysql55′ (ask to forum for update to MariaDB)
4. Make sure all MySQL databases in MyISAM storage-engine (especially upgrade to version 6.5.0) with execute:
## convert to MyISAM storage-engine
sh /script/mysql-convert –engine=myisam
5. Trouble with ‘rpm -Uvh’:
In CentOS 32bit may trouble with:
# install rpm (read Warning)
rpm -Uvh https://github.com/mustafaramadhan/rpms/raw/master/mratwork/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm
and then use:
cd /tmp
# remove old rpm
rm -f mratwork*
# get rpm file
wget https://github.com/mustafaramadhan/rpms/raw/master/mratwork/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm
rpm -ivh mratwork-release-0.0.1-1.noarch.rpm
Read Also  Automated installation on Ubuntu 18.04 LTS