#1  
Old 4th September 2005, 05:00
felipegeek felipegeek is offline
Junior Member
 
Join Date: Aug 2005
Location: Miami, FL
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Notes for CentOS 4.1 install

Hello to all,

I have just started using ISPConfig and first tried a Debian Sarge install following Falko's Perfect Setup docs. It worked great! I figured I would give it a shot on CentOS 4.1 since I had an interest in running other software that was qualified for RHEL4. I found out that CentOS was not currently supported but if somebody forwarded information on how to get it to work that it would be considered useful. So here I go. Please keep in mind that this install information has NOT been followed up with extensive testing of ISPConfig afterwards so YMMV.

----------------------------------------------------------------------
CentOS 4.1 Perfect Setup install mods from Fedora 4 notes. Follow the Fedora 4 notes if its not mentioned in here.

After installing the base OS as described in the Perfect Setup doc and it boots.

--import GPG key for Yum/RPM
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4

--Update Centos--
yum update
Yes <-- to install updates

--remove software
yum remove ppp
Yes <-- will remove pppoe and wvdial

yum remove portmap
Yes <-- will remove NFS and ypbind services as well

yum remove pcmcia-cs
Yes <--

--install some software, everything else in the fedora doc is installed by default and 'apt' can be installed via yum direct from Centos repo --
yum install lynx apt

--Add Dag Wieers RPM repository for APT--
vi /etc/apt/sources.list.d/dag.list
### Dag RPM Repository for Red Hat Enterprise Linux
rpm http://apt.sw.be redhat/el4/en/i386 dag

Save then run..
apt-get update

--ncftp as described for fedora doc is not in CentOS repo. Can be installed with instructions below. Info obtained from VHCS website.--

wget ftp://ftp.ncftp.com/ncftp/binaries/n...-export.tar.gz
tar xvfz ncftp-3.1.9-linux-x86-export.tar.gz
cd ncftp-3.1.9
make install

--DNS-Server--
bind-chroot is already installed, do everything else.

--MySQL 4.1--
mysql and mysql-devel already installed.

yum install mysql-server

chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

--These packages are used by some 3rd party webapps that I might use so I figured to get them installed now.--
apt-get install libmcrypt libmcrypt-devel expect libxslt-devel libjpeg-devel libpng-devel freetype-devel libc-client-devel php-snmp net-snmp-devel httpd-devel

--Postfix With SMTP-AUTH And TLS--
cyrus apps are already installed, imap as named in the Fedora doc does not exist in CentOS repo. I believe it is referenced in 'cyrus-imapd'

apt-get install cyrus-imapd cyrus-imapd-devel postfix

Continue as instructed for FC4...

(I could not find any full set of RPMs for Courier Imap and did not have the time or inclination to make my own though the courier website does explain the whole process.)

-- Apache --
Several of the packages mentioned in the FC4 doc already exist in the CentOS install.

apt-get install php-devel php-gd php-imap php-mysql php-odbc php-xmlrpc ImageMagick

editing /etc/httpd/conf.d/php.conf, there is no AddHandler only the AddType which I commented out.

Continue as FC4...


--ProFTP--
CentOS repo does not have proftpd. It will come out of the Dag Wieers repo with apt-get.

apt-get remove vsftpd
apt-get install proftpd
chkconfig --levels 235 proftpd on
/etc/init.d/proftpd start


--Webalizer--
Is already installed as part of CentOS.

--Synchronize time clock--
I used 'ntpdate' instead of rdate which I could not get to grab the time. You could configure ntpd to grab the time as a service or use the cron job as described in the FC4 Perfect setup doc as shown below.

ntpdate us.pool.ntp.org (or whatever county code or region.ntp.org is closest to you.)

vi /var/spool/cron/root
# update time with ntp server
0 3,9,15,21 * * * /usr/sbin/ntpdate us.pool.ntp.org | logger -t NTP

Continue as FC4...

--ISPConfig Installation--
To install ISPConfig create a file /etc/fedora-release with the following content:

'Fedora Core release 4' (without quotes)

This will allow ISPConfig to think its installing on FC4 and let the installer start. You should probably remove the /etc/fedora-release file after you are done so that other software does not get confused if it finds that file before the redhat-release file.

-zlib issue-
The zlib with CentOS is version 1.2.1. You will need to download and compile zlib 1.2.3 as follows. Do not try to uninstall the CentOS rpms. There are many dependencies that would be uninstalled with them and would pretty much trash your OS install. I don't know if the direct installation of zlib 1.2.3 will break anything else.

cd /root
wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar xvfz zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure
make test
make install

Run ./setup as usual. You may want to tee the output to a file for diagnostic reasons in case something goes wacky. './setup | tee ispconfig.tee' would be a good start.
---------------------------------------------------------------

I hope this information proves useful to someone and that they might perform more extensive testing of ISPConfig after its setup to see if its really working properly. I am going back to the Debian Sarge install on the second machine.

Regards to the ISPConfig team for a nifty product and to Falko for the great Perfect Setup docs!

I attached the install console output that I teed to a file in case it has any relevent messages for predicting trouble somebody might recognize.

Cheers,
-felipe

Last edited by felipegeek; 4th September 2005 at 05:19.
Reply With Quote
Sponsored Links
  #2  
Old 4th September 2005, 08:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,507
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Hi Felipe,

thank you for your installation guide. The current SVN version of ISPConfig recognizes the CentOS 4.1 redhat-release file so as of ISPConfig 2.0.9 changing /etc/redhat-release will not be nescessary anymore.

Till
Reply With Quote
  #3  
Old 10th September 2005, 16:19
gbjbaanb gbjbaanb is offline
Junior Member
 
Join Date: Aug 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dag wieer's YUm repo

Also, I find that using apt as well as yum is an annoyance (and you have to run both to upgrade).

fortunately, all the installs in apt are available in yum form from Dag Wieer's repository.

to install: create a dag.repo file inside /etc/yum.repos.d directory with the following in it.
Code:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux 
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
and install the GPG key
Code:
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
These instructions come from http://dag.wieers.com/home-made/apt/FAQ.php#B, then Yum operations will know about all the packages you might otherwise iinstall separately using apt.
Reply With Quote
  #4  
Old 17th December 2005, 21:05
pokerpen pokerpen is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i was able to get through the entire install till this'

-zlib issue-
The zlib with CentOS is version 1.2.1. You will need to download and compile zlib 1.2.3 as follows. Do not try to uninstall the CentOS rpms. There are many dependencies that would be uninstalled with them and would pretty much trash your OS install. I don't know if the direct installation of zlib 1.2.3 will break anything else.

cd /root
wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar xvfz zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure
make test
make install

Run ./setup as usual. You may want to tee the output to a file for diagnostic reasons in case something goes wacky. './setup | tee ispconfig.tee' would be a good start.

when I tried it gave me these errors

[root@localhost zlib-1.2.3]# make test
cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c
make: cc: Command not found
make: *** [example.o] Error 127
[root@localhost zlib-1.2.3]#

[root@localhost zlib-1.2.3]# make install
cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o adler32.o adler32.c
make: cc: Command not found
make: *** [adler32.o] Error 127

any ideal why?
Reply With Quote
  #5  
Old 18th December 2005, 12:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,507
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Quote:
make: cc: Command not found
The C compiler is missing on your server. Install the GCC packages, uninstall the failed ISPConfig setup as described in the installation manual and rerun the ISPConfig setup again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 18th December 2005, 22:28
pokerpen pokerpen is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok got that working, the very last step does not work as there is no setup folder

Run ./setup as usual. You may want to tee the output to a file for diagnostic reasons in case something goes wacky. './setup | tee ispconfig.tee' would be a good start.

thanks
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
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 09:09
Install stops after license agreement jlaughy Installation/Configuration 3 4th September 2005 14:22
Where to Install latcarf Installation/Configuration 31 17th August 2005 10:46
Install stopped at: create clamav.tar.gz domino Installation/Configuration 2 16th August 2005 06:36
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55


All times are GMT +2. The time now is 19:09.


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