View Single Post
Old 12th December 2005, 16:25
gfts gfts is offline
Junior Member
Join Date: Dec 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Install ISPConfig on CentOS Server, in brief

Hello users,

This is for users, who have downloaded, or is using Centos 4.2 Final Server edition as their os.

It has took me lots of pains, to install ispconfig on the Centos server. Here are the things that i had to do, in order to get ispconfig working on my server.

In order to help other users, trying ispconfig on centos, i would suggest the following.

- gcc is not installed by default, on centos server iso.

yum install gcc bison flex byacc

zlib is older, ispconfig recommends to update the zlib from, hence download the tar files, and install zlib.

- clamav is not installed.
get the files from
do the following.

# groupadd clamav
# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

mysql-server is not installed by default on centos

i installed mysql-server from the Centos cd.

You need to know mysql username and password, which is required while installing ispconfig, else the setup will fail (

I didn't know, so i had to start all over again.

In the meantime, i, from a bit of books, n sources, secured my mysql server more better.

delete all uesrs from mysql server.
mysql> connect mysql;

Connection id: 2
Current database: mysql

mysql delete from user;

(At this point, we have no users in MYSQL, hence if we disconnect from MYSQL, we will not be able to login again, and have to reinstall MYSQL again.)

mysql> select password('test123');

|password('test123') |
| 234ew1rl334erg31 |
1 row in set (0.00sec)

we now create admin user(sqladmin) with full privilidges and an encrypted password.

mysql> grant all privileges on *.* to sqladmin@localhost identified by password '234ew1rl334erg31' with grant option;
Query OK, 0 rows affected(0.00sec)

mysql> select host,user,password from user;
|host | user | password |
|localhost | sqladmin | 234ew1rl334erg31 |
1 row in set (0.00 sec)

In short, we deleted all default mysql users, and created a new admin account

restart mysql

#/etc/init.d/mysqld restart

Only then, try installing ISP Config on a CentOS Server

Thanks and regards

Last edited by gfts; 12th December 2005 at 16:58.
Reply With Quote
Sponsored Links