Web Hosting Talk







View Full Version : How to set up a VPS/Dedi with Kloxo (Lxadmin) Under 100MB CentOS


zwebx
07-27-2011, 05:25 AM
NOTE:
If you are running off a OpenVZ Machine you may run into yum memory errors if so run these commands:

echo "exclude=filesystem* tzdata*" >> /etc/yum.conf
mv /etc/yum/pluginconf.d/fastestmirror.conf /etc/yum/pluginconf.d/fastestmirror.disabled
touch /etc/yum/pluginconf.d/fastestmirror.conf


Step One (installing and configuring mysql):
run the following command:
yum install mysql-server
and before starting mysql edit the /etc/my.cnf file (in this instance i will be using the text editor called nano)
nano /etc/my.cnf
and i deleted every thing else and put this in there:

[mysqld]
default-storage-engine = myisam
key_buffer = 8M
query_cache_size = 8M
query_cache_limit = 4M
max_connections=25
thread_cache=1
skip-innodb
query_cache_min_res_unit=0
tmp_table_size = 4M
max_heap_table_size = 4M
table_cache=256
concurrent_insert=2

then i went ahead and ran:
service mysql start

then i set the password with:
mysqladmin -u root password NEWPASSWORD

Step Two (installing and configuring kloxo)
Install Kloxo with:
setenforce 0
wget http://download.lxcenter.org/download/kloxo/production/kloxo-install-master.sh
sh ./kloxo-install-master.sh --db-rootpassword=PASSWORD
After kloxo has been installed
go to yourdomain:7778 pr youripadress:7778 and the default logins will be:
user:admin
pass:admin

change them to your desired logins

then go on the left had side to the tab servers
then go to localhost
then go to switch programs
then change
Web (drop down box) apache ==> Web (drop down box) lighttpd
Dns (drop down box) bind ==> Dns (drop down box) djbdns
Spam (drop down box) spamassasin ==> Spam (drop down box) bojofilter

at least that is what spam program i selected, i close the process later because i can clarify what is spam and what is not.

OscarS
07-27-2011, 08:36 PM
Great info, I take some info from here... but you are wrong

its "service mysqld start" and I also I think its "mysqladmin -u root password 'PASSWORD'" also here "sh ./kloxo-install-master.sh --db-rootpassword=PASSWORD" you need to change "PASSWORD" for yours.

btw Great tutorial.

zwebx
07-28-2011, 09:12 AM
sorry, i was rushed when i wrote it i will fix that now, thanks for alerting me.
EDIT: i cannot because of the silly edit timer.

kpmedia
07-28-2011, 09:20 AM
Kloxo is almost idiot-proof to install.
That's really one of the awesome aspects of it (vs ISPConfig, for example).

PHP may need to be installed separately.

OscarS
07-31-2011, 02:26 PM
Kloxo is almost idiot-proof to install.
That's really one of the awesome aspects of it (vs ISPConfig, for example).

PHP may need to be installed separately.

Kloxo is very good, friendly, easy install, free, auto-install.

ISPConfig maybe can be good, but is too hard to install, with kloxo 3 or 5 ssh commands and done.

Also you can waste like 115max ram with kloxo (dns, gui, mail, etc) php and mysql running...

You maybe want to post a tutorial about install ispconfig

ptimo3
07-31-2011, 03:57 PM
User friendly unless your installing on 64bit OS .
Then you need to mod a little. But their is a tutorial on the wiki for 64bit os.