##Installing git
While the GsDevKit install handles most OS requirements, you must have git installed in order to run the GsDevKit code that handles this.
###Linux
For Ubuntu:
sudo apt-get -y update
sudo apt-get -y install git
For Centos:
sudo yum install git
install Apple's Xcode, which provides git.
Xcode is not strictly required, but there are extras steps required to support git on the Mac.
The installation of GitHub on windows provides a shell environment that can be used to run the GsDevKit tODE client.
-
Download and install GitHub for Windows by following the instructions on the GitHub for Windows page.
-
In GitHub for Windows, go to the Options page and set your default shell to Git Bash.
-
Close the Github for Windows window; this will not be used for any further GsDevKit work.
Open a Git Bash shell window by clicking on the Git Shell icon on your desktop.
-
On Windows, which has path length limitations, tODE client file paths risk running up against the character limits. To avoid issues, enable longpaths in git, and reduce overhead by choosing an installation directory with a short path.
In your git shell, execute the following:
git config --global core.longpaths true
GemStone requries that the result of executing hostname
be the same name as in /etc/hostname
, and in /etc/hosts
. This will normally be the case on a correctly configured system.
To check your system,
hostname
cat /etc/hosts
If this is not correct, you will need to edit /etc/hosts and set the hostname. The hostname is read from /etc/host on boot. To correct the hostname, you should both execute hostname to set the name, and edit /etc/hostname so it will be correct after reboot.
sudo vi /etc/hosts
sudo hostname <host-name>
sudo vi /etc/hostname
sudo hostname <host-name>
sudo vi /etc/hosts