![]() ![]() Sudo openssl genrsa -des3 -out /etc/gitlab/ssl/$.crtĥ. 5.1 Create Private Key and set passphrase We want to create a SSL certificate and then add it to our set up. Go to the gitlab installation directory and edit the config file: cd /usr/local/So, I’m changing host:localhost host: 192.168.122.234 (my IP as I don’t have an FQDN in this testing vm), and not using https for this tutorial. Change URL in Config File and set HTTPS redirectĮxternal_url ' Enable HTTP Redirect to HTTPS (Change this field in the gitlab.rb file) (Optional) you can install your favourite text editor for Linux Add the GitLab package repository and install the package Install and configure the necessary dependencies (we want to open HTTP, HTTPS and SSH access in the system firewall).ĭnf install -y curl policycoreutils openssh-server Install and configure the necessary dependencies How to install Gitlab with HTTPS on your own Linux server 1. For my example, I will be installing Gitlab on my Linux server running Centos 8 and will activate HTTPS on it. I will show you how to install Gitlab onto your own Linux server (also known as self-managed Gitlab server).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |