robd
4th June 2007, 18:41
Here are my modifications to the ISPconfig install source to enable you to install on RHEL 5.
Add the following to mod_isp/dist.txt
dist_init_scripts=/etc/rc.d/init.d ## # rhatenterprise0
dist_runlevel=/etc/rc.d ## # rhatenterprise0
dist_smrsh=/etc/smrsh ## # rhatenterprise0
dist_shells=/etc/shells ## # rhatenterprise0
dist_http_user=apache ## # rhatenterprise0
dist_http_group=apache ## # rhatenterprise0
dist_bind_init_script=named ## # rhatenterprise0
dist_bind_user=named ## # rhatenterprise0
dist_bind_group=named ## # rhatenterprise0
dist_bind_conf=/var/named/chroot/etc/named.conf ## # rhatenterprise0
dist_bind_dir=/var/named/chroot/var/named ## # rhatenterprise0
dist_bind_pidfile=/var/named/chroot/var/run/named/named.pid ## # rhatenterprise0
dist_bind_hintfile=named.ca ## # rhatenterprise0
dist_bind_localfile=named.local ## # rhatenterprise0
dist_passwd=/etc/passwd ## # rhatenterprise0
dist_shadow=/etc/shadow ## # rhatenterprise0
dist_group=/etc/group ## # rhatenterprise0
dist_cron_daemon=crond ## # rhatenterprise0
dist_cron_tab=/var/spool/cron/root ## # rhatenterprise0
dist_mysql_group=mysql ## # rhatenterprise0
dist_httpd_daemon=httpd ## # rhatenterprise0
add the following to mod_isp/mod/ftp/proftpd
dist_ftp_conf:/etc/proftpd.conf:Config-File:read::rhatenterprise0
dist_ftp_version:standalone:Server-Version:exit::rhatenterprise0
dist_ftp_log:/var/log/xferlog:Log-File:read::rhatenterprise0
add the following to mod_isp/mod/httpd/httpd
dist_path_httpd_root:/var/www:Web-Root:read::rhatenterprise0
add the following to mod_isp/mod/mail/postfix
dist_mail_log:/var/log/maillog:Log-File:read::rhatenterprise0
dist_mail_virtusertable:/etc/postfix/virtusertable:Virtusertable-File:read::rhatenterprise0
dist_mail_local_host_names:/etc/postfix/local-host-names:Local-Host-Names-File:read::rhatenterprise0
add the following to mod_isp/mod/mail/sendmail
dist_mail_log:/var/log/maillog:Log-File:read::rhatenterprise0
dist_mail_virtusertable:/etc/mail/virtusertable:Virtusertable-File:read::rhatenterprise0
dist_mail_local_host_names:/etc/mail/local-host-names:Local-Host-Names-File:read::rhatenterprise0
There is no edit for mod_isp/mod/ftp/vsftpd as vsftpd is not available for RHEL.
Also, If you are using kickstarting to build your servers, here is a list of packages to include for a server built ready for configuration as per the perfect_setup_centos5.0 (http://www.howtoforge.com/perfect_setup_centos5.0)
%packages --resolvedeps
@base
@core
ImageMagick
amanda-client
bind-chroot
bison
curl-devel
cyrus-sasl-devel
cyrus-sasl-gssapi
cyrus-sasl-md5
dovecot
fetchmail
flex
gcc-c++
libxml2-devel
lynx
mysql-devel
mysql-server
nmap
ntp
perl-Net-DNS
perl-libwww-perl
php-devel
php-gd
php-imap
php-ldap
php-mysql
php-odbc
php-pear
php-xml
php-xmlrpc
postfix
screen
vim-enhanced
webalizer
Add the following to mod_isp/dist.txt
dist_init_scripts=/etc/rc.d/init.d ## # rhatenterprise0
dist_runlevel=/etc/rc.d ## # rhatenterprise0
dist_smrsh=/etc/smrsh ## # rhatenterprise0
dist_shells=/etc/shells ## # rhatenterprise0
dist_http_user=apache ## # rhatenterprise0
dist_http_group=apache ## # rhatenterprise0
dist_bind_init_script=named ## # rhatenterprise0
dist_bind_user=named ## # rhatenterprise0
dist_bind_group=named ## # rhatenterprise0
dist_bind_conf=/var/named/chroot/etc/named.conf ## # rhatenterprise0
dist_bind_dir=/var/named/chroot/var/named ## # rhatenterprise0
dist_bind_pidfile=/var/named/chroot/var/run/named/named.pid ## # rhatenterprise0
dist_bind_hintfile=named.ca ## # rhatenterprise0
dist_bind_localfile=named.local ## # rhatenterprise0
dist_passwd=/etc/passwd ## # rhatenterprise0
dist_shadow=/etc/shadow ## # rhatenterprise0
dist_group=/etc/group ## # rhatenterprise0
dist_cron_daemon=crond ## # rhatenterprise0
dist_cron_tab=/var/spool/cron/root ## # rhatenterprise0
dist_mysql_group=mysql ## # rhatenterprise0
dist_httpd_daemon=httpd ## # rhatenterprise0
add the following to mod_isp/mod/ftp/proftpd
dist_ftp_conf:/etc/proftpd.conf:Config-File:read::rhatenterprise0
dist_ftp_version:standalone:Server-Version:exit::rhatenterprise0
dist_ftp_log:/var/log/xferlog:Log-File:read::rhatenterprise0
add the following to mod_isp/mod/httpd/httpd
dist_path_httpd_root:/var/www:Web-Root:read::rhatenterprise0
add the following to mod_isp/mod/mail/postfix
dist_mail_log:/var/log/maillog:Log-File:read::rhatenterprise0
dist_mail_virtusertable:/etc/postfix/virtusertable:Virtusertable-File:read::rhatenterprise0
dist_mail_local_host_names:/etc/postfix/local-host-names:Local-Host-Names-File:read::rhatenterprise0
add the following to mod_isp/mod/mail/sendmail
dist_mail_log:/var/log/maillog:Log-File:read::rhatenterprise0
dist_mail_virtusertable:/etc/mail/virtusertable:Virtusertable-File:read::rhatenterprise0
dist_mail_local_host_names:/etc/mail/local-host-names:Local-Host-Names-File:read::rhatenterprise0
There is no edit for mod_isp/mod/ftp/vsftpd as vsftpd is not available for RHEL.
Also, If you are using kickstarting to build your servers, here is a list of packages to include for a server built ready for configuration as per the perfect_setup_centos5.0 (http://www.howtoforge.com/perfect_setup_centos5.0)
%packages --resolvedeps
@base
@core
ImageMagick
amanda-client
bind-chroot
bison
curl-devel
cyrus-sasl-devel
cyrus-sasl-gssapi
cyrus-sasl-md5
dovecot
fetchmail
flex
gcc-c++
libxml2-devel
lynx
mysql-devel
mysql-server
nmap
ntp
perl-Net-DNS
perl-libwww-perl
php-devel
php-gd
php-imap
php-ldap
php-mysql
php-odbc
php-pear
php-xml
php-xmlrpc
postfix
screen
vim-enhanced
webalizer