Re: VPS - 1GB RAM enough for Web Server?
Originally Posted by DextrousDave
- If your going to experiment with a DNS server, make it so that the public cant access it. Its possible to unset the default settings while experimenting, and create an open relay. I dont think you want to be part of a DNS open relay botnet like the one that hit spamhaus earlier this year. Your provider probably wont be pleased either...
- Use SSH keys for authentication instead of a password. Passwords are weak and can be cracked :/
- For the OS, it really depends on what you want to use. Ubuntu and Debian-based distros are used, but its not the only thing people use. Fedora, RHEL, and CentOS are also common because they offer SeLinux. Unfortunately,this kind of defeats the purpose if you are using a OpenVZ VPS because OpenVZ doesn't support selinux. Its because it shares the kernel with the host.
Generally, people go for releases with long term support, where they wont have to upgrade every 6 months, so go for something like Ubuntu 12.04 (LTS), Debian 7, CentOS, or Fedora if you dont want to be reinstalling your OS every once in a while to have the latest version.
- http://www.webhostingtalk.com/forumdisplay.php?f=104 has some nice VPS deals and reviews. Check them first unless you want to walk into a minefield that many have walked into and escaped to tell their stories
Otherwise, 1G ram is enough for that.
If your thinking of expanding or more traffic, use either Apache Worker MPM + mod_fcgid/mod_fcgi OR Apache Worker/Prefork/Event MPM + Varnish/Squid caching server OR Nginx+php5-fpm. Apache Prefork (the default mpm if your using mod_php for php files) scales horribly, and eats memory like a monster
Last edited by sandyd; June 12th, 2013 at 08:03 PM.
Ubuntu Forums Moderation Staff
Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.