Difference between revisions of "Server Build"

From HyperSecurity Wiki
Jump to: navigation, search
Line 1: Line 1:
== Needed Packages Installation==
+
== Needed Packages Installation ==
  
 
Need YUM Repo:
 
Need YUM Repo:
Line 7: Line 7:
  
 
Run the following to install all needed packages via YUM:
 
Run the following to install all needed packages via YUM:
  yum -y install php-devel php-ldap php-xml php-xmlrpc php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel rsyslog mod_ssl php-mcrypt logwatch dovecot tcpdump ntp postfix mysql-server bind-chroot spamassassin php-gd perl-Mail-DKIM
+
  yum -y install php-devel php-ldap php-xml php-xmlrpc php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel rsyslog mod_ssl php-mcrypt logwatch dovecot tcpdump ntp postfix mysql-server bind-chroot spamassassin php-gd perl-Mail-DKIM dkfilter monit
  
 
Next update the complete system and reboot:
 
Next update the complete system and reboot:
 
  yum -y update && reboot
 
  yum -y update && reboot
 +
 +
== Chkconfig Startup Settings ==
 +
 +
chkconfig dkfilter on
 +
chkconfig dovecot on
 +
chkconfig iptables on
 +
chkconfig mysqld on
 +
chkconfig named on
 +
chkconfig postfix on
 +
chkconfig spamassassin on
 +
 +
chkconfig sendmail off

Revision as of 20:06, 4 June 2013

Needed Packages Installation

Need YUM Repo:

rpm -Uvh http://mirror.its.dal.ca/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Run the following to install all needed packages via YUM:

yum -y install php-devel php-ldap php-xml php-xmlrpc php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel rsyslog mod_ssl php-mcrypt logwatch dovecot tcpdump ntp postfix mysql-server bind-chroot spamassassin php-gd perl-Mail-DKIM dkfilter monit

Next update the complete system and reboot:

yum -y update && reboot

Chkconfig Startup Settings

chkconfig dkfilter on
chkconfig dovecot on
chkconfig iptables on
chkconfig mysqld on
chkconfig named on
chkconfig postfix on
chkconfig spamassassin on
chkconfig sendmail off