The Easiest way to install LAMP on Ubuntu Desktop# sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server If you have Ubuntu Server CD, Insert Server CD # sudo apt-cdrom add The Harder way
This is what I did yesterday (April 6, 2007) 1. Install Apache2sudo apt-get install apache2 Install Apache Modulessudo apt-get install libapache2-mod-auth-mysql Apache 2 configuration of clean URLs on Debiana2enmod rewrite
2. Install Php5sudo apt-get install php5-common php5 libapache2-mod-php5 sudo apt-get install php5-cgi sudo apt-get install php5-mysqlInstall GD surport php5-gdsudo apt-get install php5-gd Restart Apache sudo /etc/init.d/apache2 restart3. Install MySQLsudo apt-get install mysql-server mysql-clientRestart MySQL sudo /etc/init.d/mysql restart Configuration MySQLYou can edit the /etc/mysql/my.cnf file to configure the basic settings -- log file, port number, etc. Refer to /etc/mysql/my.cnf file for more details.
|
|||