Changes between Version 40 and Version 41 of DICLOUD/GEC12tutorial


Ignore:
Timestamp:
10/20/11 09:47:17 (8 years ago)
Author:
David Irwin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DICLOUD/GEC12tutorial

    v40 v41  
    1818 * '''Tutorial: Running a Gush experiment using !DiCloud and Orca'''
    1919
    20 The sections labeled as Setup have already been performed on each tutorial participants' VM image, and can be skipped by tutorial participants.  We provide them here as an example of how to setup an independent !DiCloud deployment from scratch.  Note that the setup assumes a user geni exists, and that all !DiCloud files (from here) are located in the directory ~/Tutorials/DiCloud.
     20The sections labeled as Setup have already been performed on each tutorial participants' VM image, and can be skipped by tutorial participants.  We provide them here as an example of how to setup an independent !DiCloud deployment from scratch.  Note that the setup assumes a user geni exists, and that all !DiCloud files (from here) are located in the directory ~/Tutorials/DiCloud. 
    2121
    2222== Tutorial: Pre-requisites ==
     
    4343== Setup: Install dependent software packages ==
    4444
    45 To install dependent software you need root access. The directions assume the user is able to use sudo to run commands as root. The VM image provided to tutorial participants is pre-configured to allow the geni user to execute sudo.  We also assume that the directory ~/Tutorials/DiCloud exists.  To create the directory run mkdir -p ~/Tutorials/DiCloud.
    46 
    47 {{{
     45To install dependent software you need root access. The directions assume the user is able to use sudo to run commands as root. The VM image provided to tutorial participants is pre-configured to allow the geni user to execute sudo.  We also assume that the directory ~/Tutorials/DiCloud exists, and the files referenced above have been untar'ed into that directory.  To create the directory run mkdir -p ~/Tutorials/DiCloud.  Then untar dicloud-tutorial.tgz into the directory, as shown below.
     46
     47{{{
     48$ mkdir -p ~/Tutorials/DiCloud
     49$ cd ~/Tutorials
     50$ tar xzvf ~/dicloud-tutorial.tgz
    4851$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    4952$ sudo apt-get update
     
    5861
    5962MySQL server will ask you to set a root password. Remember the password.
     63
     64Finally, we need to sym-link apache's /var/www directory to ~/Tutorials/DiCloud/www to make the web portal available, and change the permissions of ~/Tutorials/DiCloud/www to be owned by www-data (the apache user).
     65
     66{{{
     67$ sudo su
     68$ su www-data
     69$ cd /var/www
     70$ ln -s /home/geni/Tutorials/DiCloud/www/vise vise
     71$ exit
     72$ exit
     73$ cd ~/Tutorials/DiCloud
     74$ chown -R www-data www
     75$ chgrp -R www-data www
     76}}}
    6077
    6178== Setup: Configure !DiCloud's MySQL Server ==