shishimaru@v-cent65% sudo yum install curl openssh-server openssh-clients postfix cronie [~] Dependencies Resolved ============================================================================================================================== Package Arch Version Repository Size ============================================================================================================================== Updating: cronie x86_64 1.4.4-16.el6_8.2 base 75 k curl x86_64 7.19.7-53.el6_9 updates 197 k openssh-clients x86_64 5.3p1-122.el6 base 443 k openssh-server x86_64 5.3p1-122.el6 base 329 k postfix x86_64 2:2.6.6-8.el6 base 2.0 M Updating for dependencies: cronie-anacron x86_64 1.4.4-16.el6_8.2 base 31 k libcurl x86_64 7.19.7-53.el6_9 updates 169 k openssh x86_64 5.3p1-122.el6 base 277 k openssh-askpass x86_64 5.3p1-122.el6 base 61 k Transaction Summary ============================================================================================================================== Upgrade 9 Package(s)
shishimaru@v-cent65% sudo service postfix start shishimaru@v-cent65% sudo chkconfig postfix on
sudo lokkit -s http -s ssh
shishimaru@v-cent65% curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash Dependencies Resolved ============================================================================================================================== Package Arch Version Repository Size ============================================================================================================================== Updating: yum-utils noarch 1.1.30-40.el6 base 113 k Updating for dependencies: python-urlgrabber noarch 3.9.1-11.el6 base 86 k yum noarch 3.2.29-81.el6.centos base 1.0 M Transaction Summary ============================================================================================================================== Upgrade 3 Package(s) shishimaru@v-cent65% sudo yum install gitlab-ce [~] Dependencies Resolved ============================================================================================================================== Package Arch Version Repository Size ============================================================================================================================== Installing: gitlab-ce x86_64 9.2.2-ce.0.el6 gitlab_gitlab-ce 306 M Transaction Summary ============================================================================================================================== Install 1 Package(s)
shishimaru@v-cent65% sudo gitlab-ctl reconfigur
http://[サーバーアドレス]
shishimaru@v-cent65% sudo NO_PRIVILEGE_DROP=true USE_DB=false gitlab-rake assets:clean assets:precompile rake aborted! ExecJS::Error: ExecJS disabled /opt/gitlab/embedded/bin/bundle:22:in `load' /opt/gitlab/embedded/bin/bundle:22:in `<main>' Tasks: TOP => assets:precompile (See full trace by running task with --trace) [1] 15804 exit 1 sudo NO_PRIVILEGE_DROP=true USE_DB=false gitlab-rake assets:clean shishimaru@v-cent65% sudo chown -R git:git /var/opt/gitlab/gitlab-rails/tmp/cache
shishimaru@v-cent65% sudo vim /etc/gitlab/gitlab.rb #external_url 'http://v-cent65' external_url 'http://v-cent65:8180'
shishimaru@v-cent65% sudo gitlab-ctl reconfigure
shishimaru@v-cent65% sudo gitlab-ctl restart