Skip to content

Instantly share code, notes, and snippets.

@jason-callaway
Created October 2, 2016 19:21
Show Gist options
  • Save jason-callaway/7a938f555ff20eb1f87bc568dc665c95 to your computer and use it in GitHub Desktop.
Save jason-callaway/7a938f555ff20eb1f87bc568dc665c95 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Tested on RHEL 7.2, 2 Oct 2016
yum update -y
yum install -y curl policycoreutils openssh-server openssh-clients
systemctl enable sshd
systemctl start sshd
yum install -y postfix
systemctl enable postfix
systemctl start postfix
firewall-cmd --permanent --add-service=http
systemctl reload firewalld
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install -y gitlab-ce
gitlab-ctl reconfigure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment