May 11, 2011

Does Ubuntu come with LAMP already installed? If so where do I find it?

Does Ubuntu come with LAMP already installed? If so where do I find it and access it?

I am new to Linux and I want to become a Linux admin. I have already learned HTML & some CSS. I know that LAMP will be another big thing I have to learn.

Thanks in advance

Matthew

Depends which version u r using....Ubuntu LAMP server Install the following...

Depends which version u r using....Ubuntu LAMP server Install the following Versions:
Ubuntu 11.04 (Natty)
Apache 2.2.17
Mysql 5.1.54
PHP 5.3.5

Like  (0 likes)

normally it does not have nothing instaled some linux distro may have something

normally it does not have nothing instaled

some linux distro may have something

Like  (0 likes)

phpmyadmin is not needed for a LAMP environment, you just need to install...

phpmyadmin is not needed for a LAMP environment, you just need to install php5 apache2 mysql-server-5
So:
sudo aptitude install php5 apache2 mysql-server-5

and all deps will come out and installed

Like  (1 like)

@Matthew: Do the following steps...

@Matthew: Do the following steps
1. sudo apt-get update
2. sudo apt-get install php5 apache2 mysql-server-5.0 phpmyadmin

Like  (0 likes)

You could also, goto terminal then perform a sudo apt-get install tasksel...

You could also, goto terminal then perform a sudo apt-get install tasksel
Then after its installed perform a sudo tasksel
A screen will load and allow you to choose LAMP and it will install everything.. Also in the future if you wish to add say samba or openssl etc you can from the menu

Like  (0 likes)

I've just run across a great tutorial on LAMP for Ubuntu here. It goes into...

I've just run across a great tutorial on LAMP for Ubuntu here. It goes into the nitty gritty details that Matt referred to above.

Like  (0 likes)

Last time I tried ubuntu server there was an option in the installation...

Last time I tried ubuntu server there was an option in the installation prompt to install a pre-configured LAMP installation. I will be testing it again soon and will share my findings.

Like  (0 likes)

Ubuntu does not have any advanced admin tool pre-installed, mainly because is...

Ubuntu does not have any advanced admin tool pre-installed, mainly because is targeted to a general desktop audience, Crunchbang have a post-installation script where gives you the option to install MySQL and other tools too, maybe you should give it a try.

Like  (0 likes)

Ubuntu by default (assuming you may be installing the desktop edition) does...

Ubuntu by default (assuming you may be installing the desktop edition) does not have Apache, Mysql, and PHP running.

You will have to install them after words.
if you are completely new to linux you can install the packages by either using Synaptic ( System > Administration > "Synaptic Package Manager" ) or by installing it from the Terminal under Applications -> Accessories.

For this method were going to use the Terminal using a quick method.

Launch the Terminal and type:
sudo apt-get install php5-mysql

Normally I would tell you to install each package individually (apache2, php5, mysql-server etc) but this way Ubuntu will have to install them all to satisfy the dependencies of the package.

During the process it will ask you for a mysql root password, make sure to make note of it once set so you don't forget and finally once its all setup the services should be running.

Check your browser to see if http://localhost says It works!!

Next you can test out your site by editing files in /var/www/

I won't go into to much details as to get off topic from your main question. But some quick hints.

to stop and start the independent services you can use
sudo service apache2 start or
sudo service apache2 start
same goes for mysql or any other daemons running.

I recommending installing phpmyadmin into your webs root directory for administrating mysql

Hopefully thats brief enough to get you started.

Matt - matt@islandit.ca

Like  (0 likes)