啥也没写
分类: LINUX
2009-10-28 16:02:02
http://isp-control.net/documentation/doku.php?id=start:installation:centos
export LANG=C
yum groupinstall "Development Tools"
yum groupinstall "Development Libraries"
setenforce 0
wget
tar -zxvf ispcp-omega-1.0.2.tar.gz
cd ispcp-omega-1.0.2
rpm -i
yum remove sendmail
yum install `cat ./docs/CentOS/centos-packages`
rpm -Uvh
perl -MCPAN -e shell
install MIME::Entity
install IO::Compress::Bzip2
install Crypt::CBC
install Crypt::Blowfish
install Crypt::PasswdMD5
install Term::ReadPassword
cat ./docs/CentOS/centos-perl | xargs -I {} perl -MCPAN -e ‘install {}’
wget
wget
wget
rpm -i courier-authlib-0.62.2-1.el5.mf.i386.rpm
rpm -i courier-authlib-userdb-0.62.2-1.el5.mf.i386.rpm
rpm -i courier-imap-4.5.1-1.el5.mf.i386.rpm
groupadd courier -g 3000
useradd -u 3000 -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier
service mysqld start
/usr/bin/mysql_secure_installation
wget
rpm -i mod_fcgid-2.2-4.el5.kb.i386.rpm
rm -f /etc/httpd/conf.d/*
make -f Makefile.centos install
cp -RLf /tmp/ispcp/* /
cp -Rv /tmp/ispcp/etc/init.d /etc/rc.d/
ln -s /etc/rc.d/init.d /etc/init.d
mkdir -p /var/mail/virtual
bind
mv /var/named/data /var/named/data2
ln -s /var/named/chroot/var/named/data /var/named/data
vi /var/named/chroot/etc/named.caching-nameserver.conf
include "/etc/named-ispcp.conf";
include "/etc/named.rfc1912.zones";
SASL
touch /etc/sasldb2
mkdir -p /var/spool/postfix/etc
cp /etc/sasldb2 /var/spool/postfix/etc/sasldb2
vi /usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
apache
echo 'include vhosts/*.conf' >> /etc/httpd/conf/httpd.conf
chown apache:apache /var/www/ispcp/gui/tools/webmail/data
cd /var/www/ispcp/engine/setup
perl ispcp-setup
Setting Engine Permissions: .............done
Congratulations!
ispCP '1.0.2 OMEGA' Setup completed successfully!
Please type in your browser,
log in with your Administrator Account and perform Database Updates if exists.
Setup is now updating rkhunter:
Running updater...
Mirrorfile /var/rkhunter/db/mirrors.dat rotated
Using mirror
[DB] Mirror file : Update available
Action: Database updated (current version: 2006092302, new version 2006121200)
[DB] MD5 hashes system binaries : Update available
Action: Database updated (current version: 2006093000, new version 2006111900)
[DB] Operating System information : Update available
Action: Database updated (current version: 2006093000, new version 2007061401)
[DB] MD5 blacklisted tools/binaries : Up to date
[DB] Known good program versions : Update available
Action: Database updated (current version: 2006031400, new version 2007071701)
[DB] Known bad program versions : Up to date
chmod 777 /var/www/ispcp/gui/phptmp
chkconfig --add ispcp_daemon
chkconfig --add ispcp_network
chkconfig --levels 345 ispcp_daemon on
chkconfig --levels 345 ispcp_network on
service ispcp_daemon start
service ispcp_network start
http://blog.chinaunix.net/u/249/showart_2061382.html