This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:gitlab-ce [2020/12/21 17:41] – ll oemb1905 | computing:gitlab-ce [2024/02/17 19:52] (current) – oemb1905 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
------------------------------------------- | ------------------------------------------- | ||
* **gitlab-ce** | * **gitlab-ce** | ||
* **Jonathan Haack** | * **Jonathan Haack** | ||
* **Haack' | * **Haack' | ||
- | * **netcmnd@jonathanhaack.com** | + | * **webmaster@haacksnetworking.org** |
------------------------------------------- | ------------------------------------------- | ||
Line 20: | Line 19: | ||
* Letsencrypt, | * Letsencrypt, | ||
- | If you are missing some of these pre-requisites, | + | If you are missing some of these pre-requisites, |
The first thing you need to do is download and run the script that gitlab provides. | The first thing you need to do is download and run the script that gitlab provides. | ||
Line 49: | Line 48: | ||
Ok, now that the configuration file is set up, let's make sure that your Apache Web Server has appropriate configuration files. | Ok, now that the configuration file is set up, let's make sure that your Apache Web Server has appropriate configuration files. | ||
| | ||
- | [[https:// | + | [[https:// |
- | [[https://repo.haacksnetworking.com/oemb1905/haackingclub/ | + | |
These both work in production, so feel free to use and share. | These both work in production, so feel free to use and share. | ||
Line 67: | Line 65: | ||
sudo systemctl restart gitlab-runsvdir.service | sudo systemctl restart gitlab-runsvdir.service | ||
| | ||
- | I do not use the default Let's Encrypt tool in '' | + | I do not use the default Let's Encrypt tool in '' |
+ | |||
+ | ------------------------------------------- | ||
+ | |||
+ | Need to migrate your gitlab-ce instance to a new host? First, prepare the backups and configs on the old host and copy those the new host. | ||
sudo gitlab-ctl stop unicorn | sudo gitlab-ctl stop unicorn | ||
Line 73: | Line 75: | ||
sudo gitlab-rake gitlab: | sudo gitlab-rake gitlab: | ||
mkdir gitlab-old-host | mkdir gitlab-old-host | ||
- | sudo cp / | + | sudo cp / |
- | sudo cp / | + | sudo cp / |
- | sudo cp -R / | + | sudo cp -R / |
- | sudo cp / | + | sudo cp / |
scp -r ~/ | scp -r ~/ | ||
| | ||
Now that you have copied those configs and files over the new host, it is time to restore the new host with those backups. | Now that you have copied those configs and files over the new host, it is time to restore the new host with those backups. | ||
- | sudo cp gitlab-old-host/ | + | sudo cp gitlab-old-host/ |
sudo cp -r gitlab-old-host/ | sudo cp -r gitlab-old-host/ | ||
sudo gitlab-ctl reconfigure | sudo gitlab-ctl reconfigure | ||
Line 94: | Line 96: | ||
Navigate to your web browser, and all should be restored. | Navigate to your web browser, and all should be restored. | ||
- | --- //[[jonathan@haacksnetworking.com|oemb1905]] | + | --- //[[webmaster@haacksnetworking.org|oemb1905]] |