IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of IppInitialisingDatabase


Ignore:
Timestamp:
Nov 6, 2009, 12:08:22 PM (17 years ago)
Author:
dravg.uk.edinburgh
Comment:

First version, copied from the ROE's internal tWiki

Legend:

Unmodified
Added
Removed
Modified
  • IppInitialisingDatabase

    v1 v1  
     1Up: [wiki:IPPatTheROE IPP at the ROE]
     2
     3= Initialising the IPP Database =
     4
     5== Ensure MySQL is installed ==
     6
     7IPP used !MySQL as it's database server. !MySQL is not installed by default. Check first, for:
     8
     9    * `/usr/bin/mysql`
     10    * `/usr/bin/mysqladmin`
     11    * `/usr/sbin/mysqld`
     12
     13If those files do not exist, submit a helpdesk ticket requesting the packages:
     14
     15    * `mysql-client`
     16    * `mysql-server`
     17
     18Upon installation, a root password will be generated and supplied to you. Note, "root" here means !MySQL administrator, not the "root" of the machine.
     19
     20Note that installing !MySQL from scratch in a user-owned directory is possibly, but running the server may never succeed if the file `/etc/mysql/my.cnf` or `/etc/my.cnf` already exists, as it does by default on our Debian machines.
     21
     22== Initialise the IPP Database ==
     23
     24We will need the `dbadmin` tool in the IPP source directory. I don't know why it is not installed along with the rest of the IPP executables. Find it in `$SRCDIR/trunk/ippMonitor/scripts/dbadmin` .
     25
     26First we will generate the user `ipp` (could be anything else) with the password `aloha`. This step will require the !MySQL root password. Horst and I have the password for eday.
     27
     28Then, generate a project belonging to `ipp`. Here, I'm calling it `testdb`.
     29
     30So:
     31
     32   1. `cd $SRCDIR/trunk/ippMonitor/scripts/dbadmin`
     33   2. `./dbadmin init localhost ipp aloha`
     34   3. `./dbadmin project localhost ipp testdb`
     35
     36Step 3 will require `ipp`'s password: `aloha` .
     37
     38-- EricTittley - 2009-11-06