Install APF (Advanced Firewall Policy) APF also works with iptables so you must make sure iptables is installed You can check the status of iptables with the command service iptables status and install it with the command yum install iptables* -y Now you can download & install APF wget http://www.rfxn.com/downloads/apf-current.tar.gztar -zxf apf-current.tar.gzcd apf-9*./install.sh Open the
Month: April 2012
Secure & Harden Centos VPS Server (Install CSF Firewall)
Install Config Server Firewall: There are two top-quality firewalls available: APF (Advanced Firewall Policy) & CSF (Config Server Firewall). There is an unending debate on which is better. Most people believe that CSF is better because it offers more configuration options. Only one of the two can be installed at any one time. Both, CSF
Secure & Harden Centos VPS Server (change Port, disable Root & Add sudo user)
Caution: If you have data on your server, it is best to take a back up of the files and database and store it off-site. That way, if things go wrong (e.g. if you get locked out of your server) you are not stranded (see the tutorial here for backing up the VPS). (i) Update
WordPress Could not copy files. Installation failed.
When you try to upgrade a WordPress installation, you get the dreaded error: Could not copy files. Installation failed. This means that ftp is installed on your server but there is an ownership problem. Just give ownership of the html folder to the user created while installing Vsftpd with this command: # chown -R lion
ERROR: There was an error connecting to the server, Please verify the settings are correct.
When you try to upgrade or install a plugin you will get the error: ERROR: There was an error connecting to the server, Please verify the settings are correct. This means that ftp is not installed on your server. Just follow the tutorial to install ftp here and you will overcome this error. You will
WordPress VPS FTP Connection Problem
When you try to install or upgrade a plugin in WordPress, you will see this message Connection InformationTo perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host. If you enter your default root
Yum thread.error: can’t start new thread
When you do a yum update, you will periodically encounter this error Yum thread.error: can’t start new thread This error is caused by a bug in the fastestmirror plugin in Yum. To resolve this error, there are two solutions that you can try: (A) Solution I (i) Stop the mysql server with the command: /etc/init.d/mysqld