Gitlab is one of the most popular GIT repository providers in the world, but did you know that you can install GitLab software on your own server and start hosting your projects privately at no cost?
To install GitLab on your own server, just follow these steps:
Remember that you will need root
privileges to be able to install GitLab successfully.
Remember to update the package list before proceeding to install the packages.
apt-get update
Next:
apt-get install curl openssh-server ca-certificates
Execute the following command:
apt-get install postfix
In this step you will download an executable script directly from the GitLab page:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
In this case, you will need to specify the URL to which GitLab should respond. Replace the text in braces with your own URL:
EXTERNAL_URL="http://{gitlab.yourdomain.com}" apt-get install gitlab-ee
That's it! Now, just visit the URL you specified (remember to modify your DNS records) and proceed with the GitLab installer.
success With these simple steps you can enjoy your own completely private repository service on your own server.