| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| computing:gitlab-ce [2022/11/18 14:04] – oemb1905 | computing:gitlab-ce [2026/01/25 15:38] (current) – oemb1905 |
|---|
| * **Jonathan Haack** | * **Jonathan Haack** |
| * **Haack's Networking** | * **Haack's Networking** |
| * **netcmnd@jonathanhaack.com** | * **webmaster@haacksnetworking.org** |
| |
| ------------------------------------------- | ------------------------------------------- |
| * Letsencrypt, using certbot, is established and working | * Letsencrypt, using certbot, is established and working |
| |
| If you are missing some of these pre-requisites, please visit the [[https://wiki.haacksnetworking.com/doku.php?id=computing:apachesurvival|Apache Survival]] tutorial I created which covers these topics. | If you are missing some of these pre-requisites, please visit the [[computing:apachesurvival]] tutorial I created which covers these topics. |
| |
| The first thing you need to do is download and run the script that gitlab provides. This script will allow you to access the repositories and download gitlab-ce. | The first thing you need to do is download and run the script that gitlab provides. This script will allow you to access the repositories and download gitlab-ce. |
| Ok, now that the configuration file is set up, let's make sure that your Apache Web Server has appropriate configuration files. There is a [[https://gitlab.com/gitlab-org/gitlab-recipes|Gitlab Recipes]] repository dedicated to getting Gitlab-CE up on non-nginx web servers. Always check the git repo above for the latest recipes, the ones I am using are currently here (2020): | Ok, now that the configuration file is set up, let's make sure that your Apache Web Server has appropriate configuration files. There is a [[https://gitlab.com/gitlab-org/gitlab-recipes|Gitlab Recipes]] repository dedicated to getting Gitlab-CE up on non-nginx web servers. Always check the git repo above for the latest recipes, the ones I am using are currently here (2020): |
| | |
| [[https://repo.haacksnetworking.org/oemb1905/haackingclub/blob/master/apache/virtualhosts/repo.haacksnetworking.com-ssl.conf|https.conf]] | [[https://repo.haacksnetworking.org/haacknet/haackingclub/-/tree/main/configs/webservers/apache|Reverse Proxy Virtual Host Configs for Apache2]] |
| [[https://repo.haacksnetworking.org/oemb1905/haackingclub/blob/master/apache/virtualhosts/repo.haacksnetworking.com.conf|http.conf]] | |
| |
| These both work in production, so feel free to use and share. Make sure you have appropriate apache mods enabled: | These both work in production, so feel free to use and share. Make sure you have appropriate apache mods enabled: |
| sudo gitlab-rake gitlab:check SANITIZE=true | sudo gitlab-rake gitlab:check SANITIZE=true |
| | |
| Navigate to your web browser, and all should be restored. ;) | Navigate to your web browser, and all should be restored. Unattended upgrades for Bookworm: |
| |
| --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/07/31 11:26// | "o=*packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename}"; |
| | "*packages.gitlab.com/runner/gitlab-runner:${distro_codename}"; |
| | "origin=packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename},label=gitlab-ce"; |
| | |
| | Unattended upgrades for Trixie: |
| | |
| | "o=*packages.gitlab.com/gitlab/gitlab-ce*,codename=${distro_codename}"; |
| | "o=*packages.gitlab.com/runner/gitlab-runner*,codename=${distro_codename}"; |
| | "origin=packages.gitlab.com/gitlab/gitlab-ce,codename=${distro_codename},label=gitlab-ce"; |
| | |
| | --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/01/25 15:37// |