Changes between Version 20 and Version 21 of Installation/Build
- Timestamp:
- Feb 10, 2013 7:26:31 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Installation/Build
v20 v21 26 26 == First Login to an image == 27 27 28 Boss and Users come with a default 'deterbulid' account. The password is 'deterinavm' . For Router, the root account has the same password.28 Boss 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. 29 29 30 30 When you first login to the Users image, you will be prompted to change your password and then for details about your Github account. … … 75 75 }}} 76 76 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 77 Now go into the ~/obj directory. 78 79 {{{ 80 cd ~/obj 81 ../testbed/configure --with-TBDEFS=../testbed/defs-<yoursite> 82 }}} 83 84 This will create the object tree for the testbed. Once the object tree is build, run the users installation perl script: 85 86 {{{ 87 cd ~/obj/install 88 sudo perl ./users-install 99 89 }}} 100 90 … … 214 204 }}} 215 205 206 == Installing the Boss Node == 207 208 '''You must install and reboot the users node first.''' 209 210 Log 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 {{{ 213 sudo mount 192.168.253.1:/big/share /share 214 cd ~ 215 . .profile 216 }}} 217 218 Now clear out the object tree from the users install: 219 220 {{{ 221 rm -r obj 222 mkdir obj 223 }}} 224 225 From here, the build process is pretty much the same as the Users process: 226 227 {{{ 228 cd ~/obj 229 ../testbed/configure --with-TBDEFS=../testbed/defs-<yoursite> 230 cd ~/obj/install 231 sudo perl ./boss-install 232 }}} 233 234 216 235 == Updating the DETER meta packages == 217 236 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: 237 The 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 219 239 220 240 {{{ … … 231 251 232 252 {{{ 233 cd ~ <builduser>/testbed253 cd ~/testbed 234 254 git pull 235 cd ~ <builduser>/obj236 ../testbed/configure --with-TBDEFS= /home/jjh/testbed/defs-<your defs>255 cd ~/obj 256 ../testbed/configure --with-TBDEFS=../testbed/defs-<your defs> 237 257 gmake 238 258 gmake [boss|users]-install