tales from the offtopic #12: second best

August 8th, 2007


View original post


We might as well admit it, Ubuntu has always been GNOME-centric. Our favorite KDE user aubade learned a lot from mc44 today.

cartoon 12

Technorati Tags: , , , , ,

View source post

Install the LAMP stack with 3 commands!

August 8th, 2007


View original post


For this article, I’ll assume that you already have Ubuntu installed. It’s one of the easiest distro’s out there to install, ranking right up there with Fedora and Suse. After installation is complete, and you log in for the first time, you’ll most likely be prompted to install updates. Install these updates and reboot before continuing. Typically, you don’t need to reboot after an update, but just in case you updated your kernel, go ahead and do it.

Now, let’s get to it.

Open a terminal window and run the following commands:

sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql

sudo sed -i ’s/; extension=mysql.so/extension=mysql\.so/g’ /etc/php5/apache2/php.ini

#That’s a series of 3 spaces after ’s/;

sudo /etc/init.d/apache2 restart

Reboot and you’re done!

What do those commands do? Well, the first one installs all of the packages needed. The second one uses sed to remove the semicolon (which denotes a comment) from the php config file, thus allowing php to work with mysql. The third one simply restarts apache.

In the above commands, there should only be 3 lines. Your display settings may cause the commands to span more than 3 lines. If so, just copy and paste line by line. Each command begins with sudo.

Tags: , , , , , , , , , , , , , , , ,

View source post