- Download and Install Ubuntu 10.04 LTS
- Install basic LAMP (Apache,MySQL,PHP) Web server and Tomcat server
- install tasksel sudo apt-get install tasksel
- in a terminal type type sudo tasksel to start the server installation utility
- use space bar to select LAMP server
- tab to Ok and hit return
- when asked for mysql passwords do not enter anything, leave blank
- open System/Administration/Synaptic Package Manager
- Select and install:
- build-essential
- gcc
- libgd2-xpm
- libgd2-xpm-dev
- php5
- php5-gd
- php5-mysql
- apache2-prefork-dev
- libmysqlclient15-dev
- To configure Apache
- To configure MySQL
- MySQL root user has NOTHING to do with the the system root user you become when you use "sudo.."
- if you have no MySQL root password set, in a terminal type "mysql -u root mysql" to enter the MySQL system prompt
- with a password set, type "mysql -u root-p mysql" and enter the password.
- now you can configure the mysql configuration database itself
- type: create database test;and hit return
- type: grant all privileges on test.* to ' '@'localhost'; and hit return
- type: flush privileges; and hit return
- type: quit; and hit return
- note that mysql commands end with a semi-colon ;
|