gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Gump Wiki] Update of "VmgumpConfig" by StefanBodewig
Date Sat, 07 Aug 2010 05:34:33 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Gump Wiki" for change notification.

The "VmgumpConfig" page has been changed by StefanBodewig.
http://wiki.apache.org/gump/VmgumpConfig?action=diff&rev1=44&rev2=45

--------------------------------------------------

  === Debian packages installed via apt-get ===
  
  {{{
- subversion cvs mercurial bzr git-core darcs openjdk-6-jdk nant autoconf automake curl unzip
apache2 libtool
+ subversion cvs mercurial bzr git-core darcs openjdk-6-jdk nant autoconf automake curl unzip
apache2 libtool mysql-server mysql-client python-mysqldb
  }}}
  
  This pulls in lots and lots of dependencies including X and Mono.
@@ -156, +156 @@

  ~$ sudo /etc/init.d/apache2 reload
  }}}
  
+ == Set up database ==
+ 
+ A root password has been set during installation, the Ubuntu packages don't install anonymous
users or test dbs, so http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html is satisified.
+ 
+ Create a gump database and user
+ 
+ {{{
+ shell> mysql -u root -p
+ mysql> CREATE DATABASE gump_public;
+ mysql> GRANT ALL PRIVILEGES ON gump_public.* TO 'gump'@'localhost' IDENTIFIED BY 'othernewpwd';
+ mysql> FLUSH PRIVILEGES;
+ mysql> EXIT;
+ }}}
+ 
+ {{{
+ ~$ sudo vi /root/.mysqlpass
+ }}}
+ 
+ === dump old database on vmgump ===
+ 
+ {{{
+ ~# mkdir dump
+ ~# umask 277
+ ~# export currdate=`date +%Y%m%d`
+ ~# cd dump/
+ ~/dump# mysqldump -u root -p gump_public --add-drop-table --create-options > $currdate-gump_public.mysqldump
+ }}}
+ 
+ === restore database on new vmgump2 ===
+ 
+ copy over the dump
+ 
+ {{{
+ ~$ mysql --user=root -p gump_public < $currdate-gump_public.mysqldump 
+ }}}
+ 
+ === re-run testbed ===
+ 
+ add a database element with the gump user password to {{{/srv/gump/public/gump/metadata/vmgump.xml}}}
+ 
+ {{{
+ gump@vmgump:~$ cd /srv/gump/public/gump/cron/
+ gump@vmgump:/srv/gump/public/gump/cron$ ./gump.sh 
+ }}}
+ 
  == everything below this is old information ==
  
  === Debian ===

Mime
View raw message