Changes between Version 20 and Version 21 of Installation/Build


Ignore:
Timestamp:
Feb 10, 2013 7:26:31 PM (12 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/Build

    v20 v21  
    2626== First Login to an image ==
    2727
    28 Boss and Users come with a default 'deterbulid' account.  The password is 'deterinavm'.  For Router, the root account has the same password.
     28Boss and Users come with a default 'deterbulid' account.  The password is 'deterinavm' and the account has full sudo privileges.  For Router, the root account has the same password.
    2929
    3030When you first login to the Users image, you will be prompted to change your password and then for details about your Github account.
     
    7575}}}
    7676
    77 Create the object tree directory.
    78 
    79 {{{
    80 mkdir ~<builduser>/obj
    81 }}}
    82 
    83 Now go into the ~<builduser>/obj directory.
    84 
    85 {{{
    86 cd ~<builduser>/obj
    87 ../testbed/configure --with-TBDEFS=/home/<builduser>/testbed/defs-<yoursite>
    88 }}}
    89 
    90 This will create the object tree for the testbed.
    91 
    92 The install process is handled by two scripts.  One is boss-install and the other is users-install, for boss and users.
    93 
    94 '''You must install and reboot the users node first.'''
    95 
    96 {{{
    97 cd ~<builduser>/obj/install
    98 sudo perl ./[boss|users]-install
     77Now go into the ~/obj directory.
     78
     79{{{
     80cd ~/obj
     81../testbed/configure --with-TBDEFS=../testbed/defs-<yoursite>
     82}}}
     83
     84This will create the object tree for the testbed.  Once the object tree is build, run the users installation perl script:
     85
     86{{{
     87cd ~/obj/install
     88sudo perl ./users-install
    9989}}}
    10090
     
    214204}}}
    215205
     206== Installing the Boss Node ==
     207
     208'''You must install and reboot the users node first.'''
     209
     210Log in as the 'deterbuild' user.  You will get an error about your home directory is missing.  You will have to mount the /share directory from Users by hand:
     211
     212 {{{
     213sudo mount 192.168.253.1:/big/share /share
     214cd ~
     215. .profile
     216}}}
     217
     218Now clear out the object tree from the users install:
     219
     220{{{
     221rm -r obj
     222mkdir obj
     223}}}
     224
     225From here, the build process is pretty much the same as the Users process:
     226
     227{{{
     228cd ~/obj
     229../testbed/configure --with-TBDEFS=../testbed/defs-<yoursite>
     230cd ~/obj/install
     231sudo perl ./boss-install
     232}}}
     233
     234
    216235== Updating the DETER meta packages ==
    217236                                                                                                               
    218 The dependencies are installed via a special meta package.  This is already installed on the stock images, but if you ever need to update:                                                                                                 
     237The dependencies are installed via a special meta package.  This is already installed on the stock images, so if you get a conflict let us know.
     238
    219239
    220240{{{                                                                                                                             
     
    231251
    232252{{{
    233 cd ~<builduser>/testbed
     253cd ~/testbed
    234254git pull
    235 cd ~<builduser>/obj
    236 ../testbed/configure --with-TBDEFS=/home/jjh/testbed/defs-<your defs>
     255cd ~/obj
     256../testbed/configure --with-TBDEFS=../testbed/defs-<your defs>
    237257gmake
    238258gmake [boss|users]-install