Quantcast
Channel: Amagob IT Blog
Viewing all articles
Browse latest Browse all 13

Web Server Optimization

$
0
0

Finally took the step of moving my web server on a more optimized virtual machine. I was told that lighttpd was great in making the most of your resources and boy what a difference.

Well firstly, it was on proxmox in a

  • VM with a
  • full install of Debian lenny (5.0.8) with
  • 1G of RAM.
  • running APACHE2, MySQL, PHP ( Apache was eating all the memory usage and I don’t have a very popular site..)

The new server is running in a

  • CT (Containers are much easier to get in and out with vz commands), with a
  • minimal install of Debian Squeeze (6.0), with
  • 512 MB of RAM running
  • LIGHTTPD with PHP5 through FastCGI, and MySQL.

Comparatively, I’m running the server with twice the performance for exactly the same applications ( WordPress and Media Wiki ) :)

Thank you #ubuntugeek for the great resources.
http://www.ubuntugeek.com/lighttpd-webserver-setup-with-php5-and-mysql-support.html

 

PS: Yea yea, I know, working on Windows 8.. Microsoft really stepped up their game and I must admit, it’s kinda neat.. I can get use to it.. mostly at work. Powershell is great though, I’m loving that, it’s really like porting Bash into all Windows Services.. I’ve converted many of my VB Scripts in Powershell and written quite a few new ones already.  Too bad you still need to install cygwin to ssh to a distant windows server. Putting the name of the distant server in all commands make them really long. Anyways, more on that soon.. hopefully..

 


Viewing all articles
Browse latest Browse all 13

Trending Articles