gerallstar.blogg.se

How to install gitlab on ubuntu 18.04
How to install gitlab on ubuntu 18.04









how to install gitlab on ubuntu 18.04

To verify the version of your gitlab installation, enter the following command. You can change it on the “Backup Settings” section in the file gitlab.rb The default path is /var/opt/gitlab/backups/ My configuration of Gitlab changed the backup folder to ~/backups. Then all the important files are under folder ~/gitlab-old Sudo cp /etc/gitlab/gitlab.rb ~/gitlab-old sudo cp /etc/gitlab/gitlab-secrets.json ~/gitlab-old sudo cp -R /etc/gitlab/ssl ~/gitlab-old Sudo cp ~/backups/xxxxxxxx_gitlab_backup.tar ~/gitlab-old

  • Copy the backup file to the folder ~/gitlab-old.
  • Sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq

    how to install gitlab on ubuntu 18.04

    And the Gitlab version that I use is 12.4.2 On the Old Server Meanwhile, the old server still uses Ubuntu 16.04. 3CPU Cores and 4GB memory and 64GB storage. So the final decision is to migrate the Gitlab from the old server Ubuntu 16.04 to a new server with Ubuntu 18.04.įirst, I install the new server on my Proxmox VE environment with Ubuntu 18.04. There are still some chances it may fail and the server may crash. I was thinking about to directly upgrade the server from 16.04 to 18.04. The latest LTS version of Ubuntu is already 18.04 for more than one year. Because my old Gitlab is running on a Ubuntu 16.04 server.











    How to install gitlab on ubuntu 18.04