Ubuntu and LAMP

I took an older box at home (1.2Ghz AMD Athlon) that had been sitting idle for a while, and slapped Ubuntu on it this weekend. Quick and easy install, and was able to backup some of my sites. It had been sitting idle for quite a while – not because I was deciding what do do with it, or lack of hardware. I had to find a way to run power to it without the Destroyer of All Electronics chewing on the cord.

I am running it headless right now, and it’s acting solely as an internal web server. I want to test the current sites I run with PHP5 and MySQL 4.x before I roll them out to the new server we’re buying. Getting everything set up was a breeze.


wraith:/var/www$ sudo apt-get install php5
wraith:/var/www$ sudo apt-get install php5-gd

And so on. Much easier than the download, compile, and install that I had to do on some of my older hosts, esp. when it came to Apache/MySQL/PHP. What I thought was especially cool was that when I did the apt-get for php, it was smart enough to download the necessary dependencies to run Apache2 in prefork mode and relaunch, switching from threaded worker to prefork mode. Slick.

Advertisement
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.