next up previous contents index
Next: Running t2lincks Up: Creating a database Previous: Configuring the database

Creating the bootstrap database

   

The second step is to create a bootstrap database using the program dbroot. This program creates the root object of an empty database. It is not as automatic as perhaps we would like, so there are several steps that you must take to get the empty database set up.

  1. After choosing your DBDIR and configuring the database (as detailed in section 3.1.1), create three empty files called index, 90091412350.dat, and 90091412350.mol:

    touch index 90091412350.dat 90091412350.mol

  2. Create a file data.names with one line in it (ONLY one line):

    90091412350.dat

  3. Create a file molecule.names with one line in it (ONLY one line):

    90091412350.mol

  4. Create a file passwd with one line in it (ONLY one line):

    lincks 0

    This is the entry for the user lincks, who is user 0. Again, make sure this file is only readable by the database owner.

  5. Set the password for user lincks using the dbpasswd program by:

    dbpasswd -d . lincks

    and answer hargle twice. Of course if you are running with clear text password, you can simply add the password hargle when creating the file. Note, of course, that you can use whatever password you wish, but remember it!

  6. Create a file groups with one line in it (ONLY one line):

    0 0*

    This line means that user 0 is in group 0. The * marks the end of the line.

  7. Start the database servers (see section 4.1 for full details):

    lincks -s .

  8. Run dbroot on the database, which will create the system root and prepare the database to be loaded properly.

    dbroot .

    You will then have to log in as user lincks and password hargle, at which point the process will be carried out and the program will exit. The database is ready to load.



next up previous contents index
Next: Running t2lincks Up: Creating a database Previous: Configuring the database



Martin Sjolin
Sat May 27 00:36:55 MET DST 1995