Difference between revisions of "Building A New Server"
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
chkconfig dkimproxy on | chkconfig dkimproxy on | ||
chkconfig dkim-milter on | chkconfig dkim-milter on | ||
+ | chkconfig saslauthd on | ||
Import MySQL Databases: | Import MySQL Databases: | ||
Line 31: | Line 32: | ||
PHPShield needs to be installed and setup correctly: | PHPShield needs to be installed and setup correctly: | ||
cp /root/Downloads/phpshield-2012/ixed.5.2.lin /usr/lib/php/modules/phpshield.5.2.lin | cp /root/Downloads/phpshield-2012/ixed.5.2.lin /usr/lib/php/modules/phpshield.5.2.lin | ||
+ | |||
+ | Need the following: | ||
+ | |||
+ | /usr/local/bin/spamfilter |
Latest revision as of 08:03, 28 January 2013
Building a server using CentOS 5.x/6.x
Setup Yum repo's first from backups. Then install everything va Yum.
Install required packages:
yum -y install httpd httpd-devel php php-gd php-pdo php-imap libtheora cdparanoia php-pear php-dba php-xml php-common php-cli php-devel php-mysql php-mbstring perl-Geography-Countries mysql-server gstreamer-ffmpeg ffmpeg ffmpeg-devel postfix dovecot spamassassin named perl-Net-Server perl-Error perl-Mail-DKIM
Packages to remove:
yum remove sendmail
Make sure following services are set to start on startup:
chkconfig httpd on chkconfig mysqld on chkconfig postfix on chkconfig iptables on chkconfig dovecot on chkconfig spamassassin on chkconfig dkimproxy on chkconfig dkim-milter on chkconfig saslauthd on
Import MySQL Databases:
mysql -u root mysql < alldatabases.sql
Replace IP Address in DNS zone files: awk '{gsub("OLD_IP", "NEW_IP", $0); print > FILENAME}' *.zone
Getting Dkimproxy Installed and Configured: http://www.brandonchecketts.com/archives/getting-dkimproxy-installed-and-configured
DomainKeys filter for Postfix: http://jason.long.name/dkfilter/
PHPShield needs to be installed and setup correctly:
cp /root/Downloads/phpshield-2012/ixed.5.2.lin /usr/lib/php/modules/phpshield.5.2.lin
Need the following:
/usr/local/bin/spamfilter