bootstrap_coreFUE has been superceded by the much more automated bootstrap product. The rest of this document is preserved for historical purposes only.
bootstrap_coreFUE is an obsolete, easy-to-install, pre-configured and self-contained ups, upd and perl package. This document lists the steps required to install bootstrap_coreFUE on a new system. For more information on ups installations and upgrades, refer to the detailed, explanatory obsolete ups installation document.
The actual location of the ~products directory is not especially important, although it should be a file system which is mounted rather early after a system reboot. Typical locations would be /fnal/ups and /usr/products.
[CUSTOM] If you are installing this package in a directory tree which is *not* known as "~products", follow all of these instructions, including the steps marked [CUSTOM]. If you are installing into the ~products directory, you may ignore the [CUSTOM] steps.
In the examples which follow, the string OSversion stands for the Operating System version of your system, generally one of the following: AIX+3, AIX+4, IRIX+5, IRIX+6, OSF1+V3, OSF1+V4, Linux+2, or SunOS+5
# for Bourne/Korn shell users ...
PRODUCTS=~products/db; export PRODUCTS
UPS_DIR=~products/prd/ups/v4_3/OSversion; export UPS_DIR
-or-
# for C shell users ...
setenv PRODUCTS ~products/db
setenv UPS_DIR ~products/prd/ups/v4_3/OSversion
[CUSTOM] Installing the bootstrap_coreFUE package in a custom directory requires setting the PRODUCTS and UPS_DIR variables with the locations needed by your site. For example, to install the package in the directory /custom/location, the PRODUCTS variable would be set to /custom/location/db, and UPS_DIR would be set to /custom/location/prd/ups/v4_3/OSversion. For the examples which follow, the directory /custom/location is used.
# for Bourne/Korn shell users ...
[CUSTOM] PRODUCTS=/custom/location/db; export PRODUCTS
[CUSTOM] UPS_DIR=/custom/location/prd/ups/v4_3/OSversion
[CUSTOM] export UPS_DIR
-or-
# for C shell users ...
[CUSTOM] setenv PRODUCTS /custom/location/db
[CUSTOM] setenv UPS_DIR /custom/location/prd/ups/v4_3/OSversion
# for Bourne/Korn shell users ...
UPS_SHELL=sh; export UPS_SHELL
-or-
# for C shell users ...
setenv UPS_SHELL csh
cd ~products
[CUSTOM] cd /custom/location
ftp fnkits.fnal.gov
Connected to fnkits.fnal.gov.
220 fnkits.fnal.gov FTP server (Version wu-2.4.2-academ[BETA-16](1) Thu Mar 26 17:11:58 CST 1998) ready.
Name (fnkits:yourname): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password: yourname@here.there
230 Guest login ok, access restrictions apply.
ftp> cd /products/bootstrap_coreFUE/b1_1/OSversion
250 CWD command successful.
ftp> binary
200 Type set to I.
ftp> get bootstrap_coreFUE_b1_1_OSversion.tar core_FUE.tar
...
ftp> quit
221 Goodbye.
save_umask=`umask` # Save a copy of the umask setting
umask 0 # Preserve the permissions in the tar file
tar xvf core_FUE.tar # Unwind the bootstrap_coreFUE tar file
umask $save_umask # Restore the umask setting
rm core_FUE.tar # We're done with the tar file now
The ${PRODUCTS}/../etc/upsdb_list file contains the information about the location of the ups database file(s). See the already-filled-in checklist, below, for the locations used in this distribution.
[CUSTOM] Note: For a [CUSTOM] installation, you *must* edit the dbconfig and upsdb_list files to change the ~products references to your /custom/location.
${EDITOR} ${PRODUCTS}/.upsfiles/dbconfig
${EDITOR} ${PRODUCTS}/../etc/upsdb_list
If you choose to change the layout of the product directories from the scheme used in this package, you must create the man, catman, Info, and statistics directories, and set their permissions properly. The statistics directory must be world-writable, and the others must be writable by all accounts which will be maintaining products. Usually this means they should be group-writable.
mkdir ${MAN_TARGET_DIR}
mkdir ${CATMAN_TARGET_DIR}
mkdir ${INFO_TARGET_DIR}
chmod g+w ${MAN_TARGET_DIR} # If needed
chmod g+w ${CATMAN_TARGET_DIR} # If needed
chmod g+w ${INFO_TARGET_DIR} # If needed
mkdir ${STATISTICS}
chmod 777 ${STATISTICS}
${EDITOR} ${PRODUCTS}/.updfiles/updconfig
cd ~products
[CUSTOM] cd /custom/location
# for Bourne/Korn shell users ...
. ./etc/setups.sh
-or-
# for C shell users ...
source ./etc/setups.csh
[CUSTOM] Correct the SETUPS_DIR variable for a /custom/location.
# for Bourne/Korn shell users ...
[CUSTOM] SETUPS_DIR=/custom/location/etc; export SETUPS_DIR
-or-
# for C shell users ...
[CUSTOM] setenv SETUPS_DIR /custom/location/etc
${UPS_DIR}/bin/ups declare -c -2 ups v4_3
${UPS_DIR}/bin/ups declare -c -2 perl v5_004
${UPS_DIR}/bin/ups declare -c -0 upd v4_3
mkdir /usr/local/etc
cd /usr/local/etc
ln -s ${SETUPS_DIR}/setups.sh ./setups.sh
ln -s ${SETUPS_DIR}/setups.csh ./setups.csh
mkdir /usr/local/bin
cd /usr/local/bin
ln -s ${UPS_DIR}/bin/funame ./funame
ln -s ${UPS_DIR}/bin/dropit ./dropit