Changes between Version 40 and Version 41 of DICLOUD/GEC12tutorial
- Timestamp:
- 10/20/11 09:47:17 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DICLOUD/GEC12tutorial
v40 v41 18 18 * '''Tutorial: Running a Gush experiment using !DiCloud and Orca''' 19 19 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. 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. 21 21 22 22 == Tutorial: Pre-requisites == … … 43 43 == Setup: Install dependent software packages == 44 44 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 {{{ 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, 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 48 51 $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" 49 52 $ sudo apt-get update … … 58 61 59 62 MySQL server will ask you to set a root password. Remember the password. 63 64 Finally, 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 }}} 60 77 61 78 == Setup: Configure !DiCloud's MySQL Server ==