Thursday, November 21, 2013

proftpd installation and configtest

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rp
# yum install proftpd

then set hostname in /etc/proftpd.conf
# vi /etc/proftpd.conf

ServerName                      "hostname"




Then check  /etc/hosts ,in which hostname can be entered as a FQDN

# vi /etc/hosts

ip  hostname.domain.com hostname

Then start proftpd
#service proftpd start

if "failed " error message is receiving then run the command
#proftpd --configtest

then it will show if there is any errors in proftpd configuration and we can fix that.
Then again start service proftpd.







 

Wednesday, November 20, 2013

How to add CSF Alert mail id in cpanel serevr

-Log in to the cpanel server using whm log in
-Go to Config server firewall wisard
-Go to firewall configuration
-Search for lfd_alert_to option
-Add email id in the column provided
-Now alert mails will to send to the mentioned mail id for every log ins.