Ir al contenido principal

Instalando control panel en SSH

AntesServer

de

Debemos instalaractualizar el Centos a la ultima version y librerias necesarias para funcionar perfecto

yum upgrade -y ; yum upgrade -y ; 
yum install -y openssh-server openssh-clients nano net-tools; 
service sshd restart; 
reboot

Proceso de instalación

yum -y install wget;
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest  -p 7.3

ProcesoLuego de Post instalacióninstalacion

Eliminamos procesos que no se usan en el servidor, ejecutando este comando

/bin/systemctl stop rpcbind ; /bin/systemctl disable rpcbind ; 

Debemos proteger el servidor de SPAM mediante RBL

nano /etc/postfix/main.cf 

Alli debemos bajar hasta rules restrition y DESCOMENTAR  cambiando

 rules restrictions
...
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_s$
# uncomment for realtime black list checks
# ,reject_rbl_client zen.spamhaus.org
# ,reject_rbl_client bl.spamcop.net
# ,reject_rbl_client dnsbl.sorbs.net
smtpd_helo_required = yes 

sacando los # y debe quedar asi

....
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_s$
# uncomment for realtime black list checks
 ,reject_rbl_client zen.spamhaus.org
 ,reject_rbl_client bl.spamcop.net
 ,reject_rbl_client dnsbl.sorbs.net