The installation instructions may become out of date at any time due to updates to Gitlab. Feel free to "Google it" as a supplement to this guide.
1. Setup CentOS antlet
Login to antMan and spin up an CentOS-7 KVM antlet.
SSH into your Antsle then your CentOS antlet
ssh <username>@<hostname>.localssh [email protected]<antlet-ip>
The default root password is
Update the system:
At the time of this writing the latest stable CentOS is 7.6
2. Make antlet Accessible
Read the docs article on accessing your antlets.
3. Install GitLab
First lets install all the dependencies required for GitLab CE:
yum install -y curl openssh-server openssh-clients policycoreutils-python
Next lets setup the GitLab CE RPM repository:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | bash
Now to install GitLab. If you are accessing GitLab via domain name add that as the url parameter like below:
EXTERNAL_URL=“http://gitlab.example.com” yum install -y gitlab-ce
If you are accessing GitLab via the private IP:
EXTERNAL_URL=192.168.0.105 yum install -y gitlab-ce
Now type in the domain name or the private IP into your web browser to see your new source control system!
For a private IP example:
4. Configure GitLab
When you go to your new GitLab you will need to set your password. Then login with the user
root and that password.
If you want to change the IP or domain name that points to GitLab, edit the file:
On the 13th line you will see something like:
Just edit the url to your new IP or domain. Then run:
Congratulations! You now have GitLab running on your own Private Cloud.