Changes between Version 12 and Version 13 of GEC12VMSetup


Ignore:
Timestamp:
10/20/11 10:46:52 (8 years ago)
Author:
David Irwin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC12VMSetup

    v12 v13  
    122122
    123123== Installing !DiCloud ==
     124
     125{{{
     126sudo apt-get update
     127sudo apt-get install apache2
     128sudo apt-get install libapache2-mod-php5
     129sudo apt-get install php5-mysql
     130sudo a2enmod php5
     131sudo apt-get install mysql-server
     132
     133cd ~/Tutorials/
     134wget http://geni.cs.umass.edu/dicloud-tutorial.tgz
     135tar xzvf dicloud-tutorial.tgz
     136mv dicloud-tutorial.tgz DiCloud/source
     137
     138cd /var/www
     139sudo ln -s /home/geni/Tutorials/DiCloud/www/vise vise
     140cd ~/Tutorials/DiCloud
     141sudo chown -R www-data www
     142sudo chgrp -R www-data www
     143chmod u+x key_install.sh
     144sudo ln -s /usr/lib/jvm/jdk1.6.0_27 java-6-sun
     145
     146mysql -u root -p
     147mysql> create database dicloud;
     148mysql> create user vise;
     149mysql> SET PASSWORD FOR 'vise' = PASSWORD('');
     150mysql> quit;
     151
     152mysql -u root -p < source/dicloud.schema
     153mysql -u root -p
     154mysql> use dicloud;
     155mysql> INSERT INTO users(id, username, password) VALUES (1, 'admin', SHA1('geni'));
     156mysql> INSERT INTO admin_rights VALUES (1, true, true, true, true);
     157mysql> GRANT ALL ON dicloud.* TO 'vise'@'localhost';
     158mysql> quit
     159}}}
     160
     161Note that the password for the root MySQL user is geniuser.