Kubuntu Installing LAMP

Initial Setup, Installing PHP MySQL and Apache

First of all, open up terminal and type in

this should install all of the components required for the basic server itself.

once they have been downloaded you will get the mysql server screen, this is where you enter the password for the root user, so enter this then hit ok. it will then return to terminal after doing a few other things, once your back to something like:

user@domain: ~$ then you know your done, i'd recommend a restart here, since it will make sure everything loads correctly.

Once we're back up and running, we can check to see if our server is running, simply open the web browser and type in http://localhost/  and if all is well you should see a page saying It Works!

now the next step that I prefer to do, is to change the owner of www to my own user account, which makes it easier to just drag and drop files etc, so to do this from terminal type sudo dolphin and then right click the folder www and go to properties then permissions, type in the owner and then ok.

Installing phpMyAdmin

Download phpMyAdmin, once downloaded, extract the files, and then move them into /var/www/phpmyadmin, this will then allow you to access it from http://localhost/phpmyadmin.