Docs
  • Home
  • Antsle One Setup
  • Antsle Nano Setup
  • Antsle Two Setup
  • Get Started
    • edgeLinux Installation
      • Installing edgeLinux on Oracle VirtualBox
    • Log in to the edgeLinux OS
    • Name Your Antsle/Nano
    • Setting Up Your Tech Stack
      • WordPress
      • Gitlab
      • Jenkins
  • Antlets
    • Antlets Overview
    • Create and Manage an Antlet
    • Antlet Details
    • Access Antlets
    • Virtual Drives
    • Backing Up Antlets
      • Self-Managed Restoration (Beta)
  • Templates
    • Templates Overview
    • Install OS from .iso
    • Import VM Images
    • Using the LEMP-Stack
    • Using Nextcloud
    • Using OPNsense
  • Networking
    • Networking Overview
    • Configure IP Addresses
    • Bridged Networking / Virtual NIC
    • Wifi on the Antsle Nano
    • Port Forwarding
    • Load Balancing
    • SDN: Software Defined Networking
  • System
    • Antsle Distributed Storage - ADS
    • Multi-Node
    • Secure (HTTPS) Access to Antman
    • Secure FTP (SFTP) Access
    • USB Drives
    • Docker Support
    • LDAP/SSO
    • antMan REST API
    • The antMan Terraform Provider
    • Access Your HDD (or SSD) Add-on
    • Setting Up Shared Storage Volume
    • edgeLinux OS
    • Windows License
  • antHill and Account Management
  • Troubleshooting
    • Reset edgeLinux on a Pi or Antsle Nano
    • Known Issues
  • FAQs
  • Protector Mode
Powered by GitBook
On this page

Was this helpful?

  1. Get Started
  2. Setting Up Your Tech Stack

Gitlab

PreviousWordPressNextJenkins

Last updated 4 years ago

Was this helpful?

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 root@10.1.1.<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

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:

http://192.168.0.105

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:

/etc/gitlab/gitlab.rb

On the 13th line you will see something like:

external_url 'http://192.168.0.108'

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.

Happy Pushing!

Read the docs article on .

accessing your antlets
GitLab running on your Antsle