TODO
#Setup
-
Startup Ubuntu
-
Install git:
sudo apt-get update
`sudo apt-get install git `
-
Install Apache:
sudo apt-get install apache2
-
Install MySQL:
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
-
Enter 'root' password when prompted
-
Setup MySQL:
sudo mysql_install_db
`sudo /usr/bin/mysql_secure_installation` Answer is Y for installation, n for eveything else until the last one ('Reload privilege tables now?') which is Y
-
Install PHP:
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
-
Go to:
/etc/apache2/sites-enabled
-
Run this:
sudo nano 000-default.conf
Remove
html/
fromDocumentRoot
line -
Restart Apache:
sudo service apache2 restart
-
Install phpMyAdmin:
sudo apt-get install phpmyadmin
-
Run:
sudo php5enmod mcrypt
-
Finally, restart:
sudo service apache2 restart