First , go to Applications->Accessories->Terminal and open Terminal
1.Then Type the line below on your terminal and it will ask you your psssword ant confirm it:
sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server php5-gd phpmyadmin The above will install apache2 web server along with mysql server 5.0 and also php myadmin and if you are convergent with web programming stuff it should be within your comprehend. All should work fine, however if you want more option here below are some guidelines:

This will install apache 2 php 5.2 and mysql server 5 and their dependencies. The deamons are launched at install and basically, only apache2 needs a bit of configuration specially if you are going to a webserver on the net.
Beside note after installation you will asked a password for the database admin n other stuffs
To enable ~/public_html user folder (which you reach in a browser with this URL : http://localhost/~username) do :
sudo a2enmod userdir && sudo /etc/init.d/apache2 restart
The default document root is /var/www (you need superuser privileges to write in this directory), but you can add more sites. Edit a new configuration file for the new site :
gksudo gedit /etc/apache2/sites-available/<site_name>
Replace <site_name> with whatever you want. Add virtual host properties and directives that you need, then save and exit gedit.
To enable this new site do :
sudo a2ensite <site_name> && sudo /etc/init.d/apache2 restart
To manage mysql users and database, simply use phpmyadmin by entering this url in your browser : http://localhost/phpmyadmin
The php config file is located at : /etc/php5/apache2/php.ini and requires a restart of apache if you make any change in it.
September 2, 2008 at 6:22 am |
Ubuntu covers every standard desktop application from word processing and spreadsheet applications to web server software and programming tools. Configuration File
January 3, 2009 at 9:59 am |
EzKb72 hi nice site thx http://peace.com
April 22, 2009 at 7:01 am |
My friend on Facebook shared this link with me and I’m not dissapointed that I came here.