Installing LAMP on Ubuntu 11.04 aka The Natty Narwhal

As new user with Linux using Ubuntu 11.04 I was in the "now what?" moment.
Then I recalled Khalid's presentation on LAMP.
Exploring with the Google I found the following tutorials.

There were tuts going back a few revs but I thought 10.04 tut was close enough to 11.04.
And! Success! I now have a Linux webserver running LAMP.

20130217 updated: some of the info in the txttweaks tuts is dated but still useful

20140414 updated: having to do an apache / apache2 rebuild / reinstall seems to be an annual exercise;
on this go around, I found that the default conf files map to /var/www/html;
and that I had to drop in an index.html file into that directory to get
FF /localhost to bring up anything other than an empty "Index of /" page.

20140520 updated: encountered a couple of other gotchas in recent spins of apache2;
previously, conf files did not need a suffix; now these files must end in .conf;
httpd.conf is deprecated; use apache2.conf or custom .conf files instead;

20140525 the tuts above show how to modify apache2 to set up 'sites' under /var/www or elsewhere; configure apache2 as req'd to allow users to these sites; the tuts also describe how to modify the system file /etc/hosts to map to these 'sites' with lines like: mysite1
on the same PC, MyLinuxPC, a users on a browser could simply type in the name of the site 'mysite1' in the address bar to access the 'site';
this did not work across the LAN; on the Windows PC I had to modify the windows equivalent of the hosts file" c:\windows\system32\drivers\hosts with the addition of a lines similar to the following: MyLinuxPC mysite1

continuing in fits and starts;

Ubuntu 12.04 LTS Apache 2.4.9 (build: 2014-04-01)

Syndicate content Syndicate content