This is an old revision of the document!
nautilus /opt &
/opt/lampp/lampp start
apt-get update aptitude safe-upgrade
(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
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
su apt-get install php5-cli cd /usr/share wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz tar xvzf drush-7.x-4.4.tar.gz chmod a+x /usr/share/drush/drush ln -s /usr/share/drush/drush /usr/bin/drush
drush
drush dl bluemasters
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> * Select **Full HTML** under **Text format** * Then **Save block**