
To do so, open the file and make the following changes:Ĭhange the external_url parameter. After the specified domain name, through a colon (“:”), specify the port number, for example 8080. Important! If port 80 does not work for you for some reason, such as because a web service already exists on this server, you can change it. iptables -A INPUT -p tcp -dport 80 -j ACCEPT To accomplish this, add the following allow rule to the web port: You must configure a firewall in order to connect to GitLab from the outside. The console should appear something like this at the end of the process. The application will install any missing packages, import gpg keys, and set up the server to accept GitLab repositories.Īpproximately 81 MB of packages will be downloaded during installation. The system will ignore any components that are already installed.ĭownload the Debian/Ubuntu installation script: apt-get install ca-certificates curl openssh-server We start by updating the data about the packages in the repository and the system components: We switch to superuser mode for convenience: Consider installing GitLab on Ubuntu 18.04.

A wiki, a web interface, and a bug tracking system are all included in the package. GitLab is a Git repository management system.
