This is an old revision of the document!
deb http://ftp.us.debian.org/debian testing main contrib non-free
apt-get update
(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
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
a2enmod rewrite /etc/init.d/apache 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
<div id="banner"> <?php print render($page['banner']); ?> <div class="main_view"> <div class="window"> <div class="image_reel"> ... ADD IMAGES HERE ... </div> <div class="descriptions"> ... ADD IMAGE DESCRIPTIONS HERE ... </div> </div> <div class="paging"> ... ADD IMAGE NUMBERS HERE ... </div> </div> </div><!--EOF:banner-->
<a href="<?php print url('node/1'); ?>"><img src="<?php print base_path() . 'sites/default/files/slide-image-1.jpg'; ?>"></a>
<div class="desc" style="display: none;">About Bluemasters</div>
<a rel="1" href="#">1</a>
<img src='/d7/sites/default/files/block.jpg' height=86 width=249>