Save the file, and run the following command: sudo gitlab-ctl reconfigure Now, edit the following lines: # Change GitLab port (any unused port is ok.) Type the following command to edit the configuration file: sudo nano /etc/gitlab/gitlab.rb The GitLab configuration file in Ubuntu is "/etc/gitlab/gitlab.rb". The solution for the presented issue will be introduced in the following section. If you have an existing Apache web server, please restart your Apache server by using the following command, and check your website again: sudo service apache2 restart However, if you already have an existing website, you will eventually find out that your existing website is replaced by GitLab you have just installed. If this is the only and first website for your server, then you can just use it without any issues. To install GitLab, please type the following commands to install gitlab-ce: sudo apt-get install curl openssh-server ca-certificates postfix The article presents the way to add GitLab on existing Apache server using reverse proxy approach. The easiest way is to assign different ports on two different servers, but it may not be the good way because visitors have to remember the specified port every time they connect. Therefore, if you already have an existing web server, you may need some extra work to use both your existing websites and GitLab at the same time. GitLab works under built-in Nginx web server engine by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |