Install and Setup LAMP (apache2, php5, mysql) in Ubuntu 12.04 Server

view full story

http://ubuntuguide.net – I just purchased a vps and made it boot Ubuntu 12.04 LTS, installed LAMP web server and moved my web site. Here’s how did I install and set up the LAMP on Ubuntu 12.04 server. (All commands in this post assumes you have Root privilege, add sudo at beginning if need) 1. LAMP stands for Linux, apache, mysql and php. Ubuntu 12.04 Linux was already running in the case, it just need some configurations on hostname, timezone, static ip, etc. change hostname: echo "YOUR_HOSTNAME" > /etc/hostname hostname -F /etc/hostname reset timezone: dpkg-reconfigure tzdata set static ip if need, edit net (HowTos)