install a lamp server on ubuntu

Reading Time: < 1 minute

Easy!

sudo apt-get install lamp-server^

Be careful not to delete the ^ character.

This will install: 

How to change the default runlevel on Ubuntu

Reading Time: < 1 minute On Redhat you would simply look for the file /etc/inittab and locate the line that says:

# The default runlevel.
id:3:initdefault:

Simply replace the 3 with 2 or 4 or 5 depending what you wanna do in order to change the default runlevel.

On Ubuntu starting from some version around 6sh… whatever, no one is running that anymore anyway and those who do run it don’t need to change that. At the time I am writing this the current LTS is 10.04 and the current testing release is 10.10
So here is how to do it.