Skip to content

Instantly share code, notes, and snippets.

@fk2000
Last active March 16, 2017 09:37
Show Gist options
  • Save fk2000/435ef365d83e2ac87044f3cf177cd851 to your computer and use it in GitHub Desktop.
Save fk2000/435ef365d83e2ac87044f3cf177cd851 to your computer and use it in GitHub Desktop.
AzureにCentOS7を構築してGitlabをインストール ref: http://qiita.com/fk_2000/items/ae187839ffc3164cc5a3
sudo yum install curl policycoreutils openssh-server openssh-clients git
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo gitlab-ctl reconfigure
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-XXX.rpm/download
rpm -i gitlab-ce-XXX.rpm
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment