Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7656495
  • 博文数量: 1770
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16357
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1770)

文章存档

2024年(15)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: 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


 

阅读(2369) | 评论(0) | 转发(0) |
0

上一篇:手记说明!

下一篇:sed & awk

给主人留下些什么吧!~~