LinuxDave

Life, Linux and Crazy Videos

5-Minute LAMP Server on Ubuntu

Filed under: Linux, Ubuntu, Apache, MySQL, PHP — May 8, 2007 @ 2:55 pm

This will install a LAMP server in about 5 minutes onto an Ubuntu server:

apt-get install apache2 php5 libapache2-mod-php5 apache2-doc php-pear
apt-get install msyql-server mysql-client php5-mysql
/etc/init.d/apache2 restart

Done!

Your apache conf files are in /etc/apache2/
PHP ini is in /etc/php5/apache2/
Your web root is /var/www/

Enjoy!

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)