directory. E.g: 2.02
This is called the Current Build of a version. It will be overwritten with every install of the same version.
Specific Builds are installed under version_build directory. E.g.:
+- 2.01
+- 2.01_2006-11-23
any_root -+- GBS -+- 2.02
+- 2.02_2007-08-05
+- 2.02_2007-09-15
<--GBS_SCRIPTS_ROOT--> <---GBS_SCRIPTS_REL--->
The Install scripts only installs GBS (possibly on a central location).
To be able to use GBS, each user must 'Setup' GBS as explained below.
This tells GBS which of the version to use.
During the Install you have the option to execute the setup immediately after the install.
Prerequisites:
- You must have Perl installed and in the PATH
- Decide where GBS will be installed (GBS_SCRIPTS_ROOT)
GBS will provide some nice defaults, but you can also specify you own location
- You will need to provide a Site-ID
Instructions for Install:
- Windows
- If you want to install in 'Program Files' make sure you are logged-in as Administrator
- Unzip the file to a new temporary directory (NOT where you want to install GBS)
- In GUI: Navigate to this directory
On Commandline: cd
to this directory
- In Windows Explorer or Commandline:
- Run
Install.bat
Answer questions
- When done: Make sure the new temporary directory is deleted
- Unix/Linux
You must first set the Install.sh to Executable!
- Unzip the file to a new temporary directory (NOT where you want to install GBS)
- In GUI
- Navigate to this directory
- Change permissions of Install.sh to Executable
- Run Install.sh
Answer questions
- On Commandline:
- Start an XTerm
cd
to this directory
chmod u+x Install.sh
./Install.sh
Answer questions
- When done: Make sure the new temporary directory is deleted
Notes:
- Subsequent installs can be run with -q flag (quiet).
This will run the script without human intervention assuming all defaults to be correct.
- Using the WinZip Wizard (on Windows):
- Double-click on the zip-file
- Make sure you run in Wizard mode and Click 'Next'
- Choose 'Unzip or Install' and Click 'Next'
- Make sure you will not unzip to the directory where you want to install GBS
- Enable 'Display file icons after unzipping'
- You can use 'View Zip Documentation' to read this text
- Click 'Unzip Now'
- After the file is unzipped a 'Windows Explorer' window will appear.
- Double-click on 'Install.bat' and answer the questions. GBS is installed
- Close the WinZip wizard by clicking on 'Finish'
Setup
General
To setup GBS:
- [ Inquire at your GBS Administrator where GBS is installed. ]
- Open Windows Explorer (Windows) or XTerm (Unix/Linux)
- Navigate to the directory where the wanted GBS-version is installed.
e.g.: Q:\Tools\gbs\2.02
- Execute:
_gbssetup.bat
(Windows) (Mind the '_'!) or
. _gbssetup.sh
(Unix/Linux) (Mind the dot, the space and the '_'!)
- Answer the questions.
- Possible values are between ( )
- Default value is between [ ]
- Enter ! to quit processing safely
What happens on Windows:
- Some internal stuff is setup
- A GBS Startup and a GBS Help shortcut are placed on your Desktop and in the 'All Programs' menu.
What happens on Unix/Linux:
- Some internal stuff is setup
- Your ENV-file(s) (~/.kshrc and/or ~/.bashrc) are updated to contain an alias '
gbs
' to startup GBS
- On systems with a GUI (e.g. GNOME or KDE) a GBS Startup and a GBS Help shortcut are placed on your Desktop
and in the 'All Programs' menu.
Note that a beta version will install red shortcuts. The regular versions will install yellow shortcuts.
Copyright © Randy Marques of Randy Marques Consultancy - All rights reserved