Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th December 2005, 15: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 www.zlib.net, hence download the tar files, and install zlib.

- clamav is not installed.
get the files from www.clamav.net
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 15:58.
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2005, 15:46
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Hello,

thank you for your howtoI! I've moved the thread to the tips & tricks forum.

Till
Reply With Quote
  #3  
Old 5th January 2006, 14:50
jtowne jtowne is offline
Junior Member
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

After the above is centos ready for a ispconfig install? Or should I try to use the fedora 4 as a rough guide of what needs to be done next?

Thanks
Reply With Quote
  #4  
Old 5th January 2006, 16:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

I think you should try to combine both tutorials as gfts' guide does not cover the installation of Postfix, Apache, quota, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th January 2006, 19:10
jtowne jtowne is offline
Junior Member
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That was my thought and plan when I get a chance. I will let you all know the outcome when I try.
Reply With Quote
  #6  
Old 6th January 2006, 23:39
jtowne jtowne is offline
Junior Member
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running into a problem on page 3
http://www.howtoforge.com/perfect_se...dora_core_4_p3
it says to install apt-get to get some programs from a freshrpms.net but that is specific to fedora 4 I am able to install all but imap from yum. Is this the same as cyrus-imapd that I can get through YUM??

This is probably suposed to be now asked under the install section?
Reply With Quote
  #7  
Old 7th January 2006, 00:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

You can use yum instead of apt-get. I don't know which imap packages are available on CentOS, but you can run
Code:
yum search imap
to find out.
Maybe dovecot is what you're looking for.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 7th January 2006, 02:12
jtowne jtowne is offline
Junior Member
 
Join Date: Jan 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dovecat is installed and cyrus-imapd is available. Is Dovecat only secure imap? In YUM it looks that way but a quick look at the site it doesn't.
Reply With Quote
  #9  
Old 7th January 2006, 12:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Dovecot is a normal imap server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 8th March 2006, 03:42
tobiasly tobiasly is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

For those who would prefer to install an RPM instead of tarball for zlib, you can download zlib 1.2.3 Source RPM from the following (it's the Fedora development page but you will recompile it for CentOS):

http://download.fedora.redhat.com/pu...lopment/SRPMS/

Find the latest "zlib" package. At the time of this writing it is zlib-1.2.3-1.2.1.src.rpm. Then issue "rpmbuild --rebuild" on the SRPM to compile it for CentOS. This will write two RPMs into /usr/src/redhat/RPMS/i386 (the final directory may be different depending on your arch). Simply "rpm -Uvh" the applicable RPM that is created.

So to summarize:

Code:
wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/zlib-1.2.3-1.2.1.src.rpm
rpmbuild --rebuild zlib-1.2.3-1.2.1.src.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/zlib-1.2.3-1.2.1.i386.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/zlib-devel-1.2.3-1.2.1.i386.rpm

Last edited by tobiasly; 8th March 2006 at 04:38.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get PHP to work after ISPConfig Install alvadore Installation/Configuration 22 30th March 2008 15:57
Notes for CentOS 4.1 install felipegeek Installation/Configuration 6 19th December 2005 10:21
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
install successful but no ispconfig site Nu2Linux Installation/Configuration 3 3rd November 2005 23:30
Server Hostname and IPSConfig Lil'Brudder Installation/Configuration 2 14th October 2005 12:46


All times are GMT +2. The time now is 14:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.