Created
January 28, 2016 12:20
-
-
Save githubutilities/198345ec01e747500403 to your computer and use it in GitHub Desktop.
Ubuntu insall script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
cd "$(dirname "${BASH_SOURCE}")"; | |
# Ask sudo upfront | |
sudo -v | |
# Install and configure the necessary dependencies | |
sudo apt-get install --yes curl openssh-server ca-certificates postfix | |
# Add the GitLab package server and install the package | |
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash | |
sudo apt-get install --yes gitlab-ce | |
# Configure and start GitLab | |
sudo gitlab-ctl reconfigure | |
# Reference | |
# * https://about.gitlab.com/downloads/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment