##GitLabとは
GitHubのクローン
##インストール手順
公式のドキュメントを参考に
https://about.gitlab.com/downloads/
作業ディレクトリで
# yum update
# yum install curl
# curl -O https://downloads-packages.s3.amazonaws.com/centos-7.0.1406/gitlab-7.3.1_omnibus-1.el7.x86_64.rpm
# yum install openssh-server
# systemctl enable sshd
# systemctl start sshd
# yum install postfix
# systemctl enable postfix
# systemctl start postfix
# rpm -i gitlab-7.3.1_omnibus-1.el7.x86_64.rpm
/etc/gitlab/gitlab.rbを編集
external_url 'http://your-url'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = 'smtp.gmail.com'
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = 'your_name@gmail.com'
gitlab_rails['smtp_password'] = 'your_password'
gitlab_rails['smtp_domain'] = 'gmail.com'
gitlab_rails['smtp_authentication'] = :plain
gitlab_rails['smtp_enable_starttls_auto'] = true
# gitlab-ctl reconfigure
# firewall-cmd --permanent --add-service=http # open up the firewall for HTTP and SSH requests
# systemctl reload firewalld
ホストに接続
Username:root
Password:5iveL!fe
ログイン後,パスワードを変更し,再ログインする