This is an old revision of the document!
(This is safer than apt-get upgrade or apt-get dist-upgrade, because it safely upgrades your server and resolves dependencies)
apt-get install apache2 php5 libapache2-mod-php5 php5-gd chmod -R 777 /var/www
Check if apache is working
/etc/init.d/apache2 restart nano /var/www/info.php
Copy & paste the folowing php code in the nano editor
<?php phpinfo(); ?>
Go and check http://localhost/info.php in your browser to see configuration of installed php version.
apt-get install mysql-server mysql-client php5-mysql apt-get install phpmyadmin
When prompted for a password enter hello.
mysqladmin -u root -p create d7
Enter hello when you are prompted for password. If you get a “Database exists” error, please issue “mysqladmin -u root -p drop d7” to delete the existing database and then issue the create command.
a2enmod rewrite /etc/init.d/apache2 restart chmod -R 777 /var/www
Similarly create pages about Prepare your computer, Software carpentry & CMS but ensure Workshop under Parent item for the new pages