5

官方安装指导:Download and install GitLab | GitLab

 2 years ago
source link: https://leejarod.wordpress.com/2019/09/29/%e5%ae%98%e6%96%b9%e5%ae%89%e8%a3%85%e6%8c%87%e5%af%bc%ef%bc%9adownload-and-install-gitlab-gitlab/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

官方安装指导:Download and install GitLab | GitLab

GitLab InstallationWe strongly recommend downloading the Omnibus package installation since it is quicker to install, easier to upgrade, and it contains features to enhance reliability not found in other methods. We also strongly recommend at least 4GB of free RAM to run GitLab.Download a GitLab Omnibus package (recommended installation)Ubuntu16.04 LTS, 18.04 LTS1. Install and configure the necessary dependenciessudo apt-get updatesudo apt-get install -y curl openssh-server ca-certificatesNext, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed.sudo apt-get install -y postfixDuring Postfix installation a configuration screen may appear. Select ‘Internet Site’ and press enter. Use your server’s external DNS for ‘mail name’ and press enter. If additional screens appear, continue to press enter to accept the defaults.2. Add the GitLab package repository and install the packageAdd the GitLab package repository.curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bashNext, install the GitLab package. Change https://gitlab.example.com to the URL at which you want to access your GitLab instance. Installation will automatically configure and start GitLab at that URL.For https:// URLs GitLab will automatically request a certificate with Let’s Encrypt, which requires inbound HTTP access and a valid hostname. You can also use your own certificate or just use http://.sudo EXTERNAL_URL=”https://gitlab.example.com”; apt-get install gitlab-ee3. Browse to the hostname and loginOn your first visit, you’ll be redirected to a password reset screen. Provide the password for the initial administrator account and you will be redirected back to the login screen. Use the default account’s username root to login.See our documentation for detailed instructions on installing and configuration.4. Set up your communication preferencesVisit our email subscription preference center to let us know when to communicate with you. We have an explicit email opt-in policy so you have complete control over what and how often we send you emails.Twice a month, we send out the GitLab news you need to know, including new features, integrations, docs, and behind the scenes stories from our dev teams. For critical security updates related to bugs and system performance, sign up for our dedicated security newsletter.IMPORTANT NOTE: If you do not opt-in to the security newsletter, you will not receive security alerts.

来源: Download and install GitLab | GitLab


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK