How to install GitLab CE on a Cloud VPS
Updated 7/18/2026
GitLab CE is the complete DevOps platform: Git repositories, merge requests, CI/CD pipelines, container registry and issue tracking, self-hosted.
Self-hosting your development tools keeps code and project data inside your infrastructure, and the cost does not grow with the number of users.
One-click install on cloudlinux.ro
The fastest way: GitLab CE installs automatically at the first boot of a new server.
- Create a Cloud VPS from the control panel.
- In the configuration step, pick GitLab CE from the app catalog.
- Start the server. The install runs in the background for a few minutes and its status shows on the server page.
- Access details and generated passwords are saved on the server in
/root/app-credentials.txt.
Manual install on any Ubuntu server
If you prefer doing it yourself, below is the exact script our automatic install runs. Execute it as root on a fresh Ubuntu server (24.04 recommended). It stops at the first error, and when it finishes you will find the access details in /root/app-credentials.txt.
export DEBIAN_FRONTEND=noninteractive
apt-get update -y
apt-get install -y curl ca-certificates perl
curl -fsSL https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | bash
IP=$(hostname -I | awk '{print $1}')
EXTERNAL_URL="http://${IP}" apt-get install -y gitlab-ce
ROOT_PASS=$(grep -oP 'Password: \K.*' /etc/gitlab/initial_root_password 2>/dev/null || echo 'vezi /etc/gitlab/initial_root_password')
printf 'GitLab: http://%s\nUtilizator: root\nParola initiala: %s\nAtentie: parola initiala expira in 24 de ore, schimb-o la prima autentificare.\n' "$IP" "$ROOT_PASS" > /root/app-credentials.txt
You can also save this script as a recipe in your account and reuse it on any new server.
Put this guide into practice on your own VPS
EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.
See pricingRelated tutorials
How to install WordPress on a Cloud VPS
Complete WordPress guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 7/18/2026ApplicationsHow to install ProjectSend on a Cloud VPS
Complete ProjectSend guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 7/18/2026ApplicationsHow to install Prometheus + Grafana on a Cloud VPS
Complete Prometheus + Grafana guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 7/18/2026