If you are a webmaster who has outgrown shared hosting and is thinking of upgrading to a VPS, these are exciting times. VPS are available at rock-bottom prices, costing as much and sometimes even less than shared costing. Of course, one must remember that the low cost is for a reason and you get what you paid for.
Still, there is nothing better than a cheap budget VPS to get a feel of what is a VPS is all about.
I bought a 2GB RAM VPS at the Los Angeles Data Center with the following specifications:
2GB RAM VPS specifications:
• 2 GB Guaranteed RAM
• 2 GB vSwap RAM
• 100 GB SSD RAID-10
• 4 IP Addresses
• 3000 GB Bandwidth
• 100 Mbps Network Speed
The price is $56 per year
When I learnt that Digital Ocean offers VPS in Singapore, I was eager to test it and see what the latency to India would be.
(I have earlier done a head-to-head comparison between Digital Ocean and Ram Node)
ServerMania is developing a reputation for offering VPS deals that look very attractive.
Their earlier offer that attracted me was the “SSD Cached Linux VPS – 4 GB RAM”. This was available for an annual fee of $88.
I have already reviewed this VPS in this article. It works well and I have no complaints barring the fact that there is sometimes a connectivity issue with the server in New York. However, this is an ISP problem and not a VPS problem. Continue reading
I have a VPS which is used only to send emails to about 30,000 subscribers. I have been doing so for several years. All the subscribers are double opt-in confirmed. The I. P. address is white-listed and everything works well. The VPS is used sparingly.
All of a sudden, I received an email today from the hosting company stating: Continue reading
I backup my files by creating a tar folder and transporting it to a remote location. I use the simple but effective technique documented here.
Recently, I was shocked to find that the tar file had bloated to several GB in size. Continue reading
I have a VPS with Leapswitch Networks at their Pune Data Center. The Data Center is owned and operated by Tata Communications.
I am quite happy with the uptime of the VPS and the speed and quality of support offered by Leapswitch.
The pricing of the VPS is also rock-bottom. Continue reading
I have a 128MB VPS with RamNode which I use only for storage of backup files.
Yesterday, I got a surprising message from RamNode:
“Your VPS has been using a high CPU load for an extended period of time. Please reduce your usage to comply with our AUP and notify us once you’ve done so. We may have to reboot/ shutdown your VPS to keep the node stable.
It looks like your VPS has been compromised. Your VPS had several .fuck and other strange processes running. Please investigate.”
I immediately rushed to the VPS. Peering through FileZilla, I saw that there were at least two strange files called .Rape and .Fuck (the (.) indicates that they are hidden files) in the root folder. There was also a file called fake.config.
I keep forgetting how to do this. So, I will log it here once and for all:
Log into mysql:
mysql -u root -p
Create a database:
create database name_of_database;
Create a new user:
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
Give new user all the priviliges:
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
If you want to give the new user permission only for one database then the command is:
GRANT ALL PRIVILEGES ON name_of_database.* TO 'newuser'@'localhost';
To change the password of the user:
mysqladmin -u root -p'oldpassword' password newpassword
I am a fan of the CentminMod auto installer. This script auto-installs Nginx, PHP, MariaDB, NSD (DNS server) and several other necessities. Also, the author (eva2000) is a very helpful person and answers most questions promptly at WHT.
The Centmin Mod script works well and uses very less RAM. This comes very handy at times of traffic surges. On one of my sites with 1 GB RAM, I had 900+ concurrent visitors downloading a 2MB+ pdf files. However, my RAM usage did not cross 300MB and the VPS remained cool as a cucumber.
If you are, like me, fond of frequently shifting your websites from VPS to VPS, using Centos and Ubuntu, alternatively, you will face this problem.
Suddenly, when I tried to upload an image to my WordPress site, I got the error:
Unable to create directory wp-content/uploads/2013/10. Is its parent directory writable by the server?
Well, I did all the usual things – check that the ownership of the files is with www-data:www-data (if Ubuntu) or apache:apache (if Centos) or name_of_user:name_of_user (if using VirtualMin). I also chmoded the files to an extreme 777.