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>.local
ssh [email protected].<antlet-ip>
The default root password is antsle
Update the system:
yum update
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 | bash
Now to install GitLab. If you are accessing GitLab via domain name add that as the url parameter like below:
EXTERNAL_URL=“” yum install -y gitlab-ce
If you are accessing GitLab via the private IP:
EXTERNAL_URL= 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:
external_url ''
Just edit the url to your new IP or domain. Then run:
gitlab-ctl reconfigure
Congratulations! You now have GitLab running on your own Private Cloud.
GitLab running on your Antsle
Happy Pushing!
Last modified 3yr ago