Here are some common SSH commands done through putty to check the performance of the VPS Checking the processor used for the VPS [abc@vps2 ~]$ cat /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 44model name : Intel(R) Core(TM) i7 CPU 970 @ 3.20GHzstepping : 2cpu MHz : 3200.539cache size : 12288 KB To
Category: Set Up VPS
Avoid WordPress Asking FTP Credentials When You Install/ Upgrade Plugins
When you want to install or upgrade a plugin, wordpress will display a message stating: To 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 This problem is solved by installing Vsftpd (Very Secure FTP
How To Create Back-Up Of VPS Server
In creating a back-up of a VPS server, there are three things you must take care of: (i) All the files must be backed up; (ii) The MySql database should be backed up; (iii) A copy of the data base should be either downloaded onto your computer and/or transferred to another VPS so that if
Create a phpinfo file
A php info file is one that gives you a wealth of information on your installation. To create the file, open notepad and enter the following code in it. Save the file as phpinfo.php and upload it to the root of your site so that it is accessible through the browser. Access the phpinfo.php file
Cannot establish FTP connection to an SFTP server. Please select proper protocol
When you try to access your VPS through filezilla by putting the host as “ftp.mysite.com” instead of sftp://ipaddress you will get the error: Cannot establish FTP connection to an SFTP server. Please select proper protocol This means that you have not installed ftp on your VPS. While ftp is frowned upon and the best way
Set Up A WordPress VPS With Centos & Apache
Lets learn how to set up a VPS with Apache & PHP & install WordPress in it. (i) Choose Centos 6 32 bit as your operating system (OS) from your VPS’ control panel; (ii) Update Centos with the command yum update (iii) Install apache with the command yum install httpd (if you run into a
Create MySQL database with SSH command
MySQL databases can be created either through phpmyadmin or through the SSH command line Lets see how to create a MySQL database with SSH command (i) First log in to mysql with your user name (change if not root). You will be prompted for a password. mysql -u root -p (ii) create the database with
Secure & Harden Centos VPS Server (Install APF Firewall)
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
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