Setup a Linux Apache2 Mysql and PHP server on a Virtual Machine.
Linux VM server install VM install
With virtualization we can make one system preform multipul services. A workstation can also be a web-server without the services ever overlapping and that's very powerful, minimalist and green.
root@awesomeso:~# aptitude update
followed by an
root@awesomeso:~# aptitude upgrade
root@awesomeso:~# apt-get install apache2
root@awesomeso:~# mysql_secure_installation
root@awesomeso:~# mysql -u root -p
Then we need to create a Database: </cli>create database dataBASE;</cli> followed by a:
grant all on dataBASE.* to 'foreman' identified by '5t1ck';
to grant permissions on Mysql
root@awesomeso:~# apt-get install php5 php-pear php5-suhosin
and:
root@awesomeso:~# apt-get install php5-mysql
root@awesomeso:~# /etc/init.d/apache2 restart
Enter your ip into a web browser and you should see great success!
So if everything went correctly you should have a full functional web server. Drop in an index.html you've built and you're good to go!