Software y repositorios a tener en cuenta al preparar un servidor Centos

Instalar varios programas

yum -y install vim wget git

Instalación del repositorio RPMforge

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -ivvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Instalación del repositorio Epel

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivvh epel-release-6-8.noarch.rpm

Instalación el repositorio Remi

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivvh remi-release-6.rpm

Instalación de apache

yum -y install httpd
yum -y install mod-perl mod-python mod-ssl php php-mysql
yum -y install php-mysql php-mbstring php-mcrypt

service httpd start
chkconfig --level 35 httpd on

Instalación de mysql

yum -y install mysql-server

service mysqld start
chkconfig mysqld on

Instalar herramientas varias

yum -y install setuptool
yum -y install system-config-network* system-config-firewall* system-config-securitylevel-tui system-config-keyboard ntsysv

Instalar webmin

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.740-1.noarch.rpm
rpm -ivvh webmin-1.740-1.noarch.rpm

chkconfig --level 235 webmin on
service webmin start

Instalar fail2ban

yum -y install fail2ban

chkconfig fail2ban on
service fail2ban start