189 8069 5689

【CentOS】installGitLab-创新互联

/// /// install the necessary packages

成都做网站、网站建设、外贸营销网站建设介绍好的网站是理念、设计和技术的结合。成都创新互联公司拥有的网站设计理念、多方位的设计风格、经验丰富的设计团队。提供PC端+手机端网站建设,用营销思维进行网站设计、采用先进技术开源代码、注重用户体验与SEO基础,将技术与创意整合到网站之中,以契合客户的方式做到创意性的视觉化效果。
sudo yum install curl openssh-server
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

[root@wode002 log]# firewall-cmd --list-all

public (default, active)

  interfaces: enp7s0f0 enp7s0f1

  sources:

  services: dhcpv6-client http ssh

  ports: 3690/tcp

  masquerade: no

  forward-ports:

  icmp-blocks:

  rich rules:

[root@wode002 log]#

/// /// install

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce

/// /// configure

sudo gitlab-ctl reconfigure

/// /// met error

Running handlers:

[2015-11-05T02:32:02+08:00] ERROR: Running exception handlers

Running handlers complete

[2015-11-05T02:32:02+08:00] ERROR: Exception handlers complete

Chef Client failed. 113 resources updated in 93.787904434 seconds

[2015-11-05T02:32:02+08:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out

[2015-11-05T02:32:02+08:00] ERROR: Chef::Exceptions::MultipleFailures

[2015-11-05T02:32:02+08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

[root@wode002 tools]#

/// /// cat dump

[root@wode002 tools]# cat /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out

Generated at 2015-11-05 02:32:02 +0800

Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.1/lib/mixlib/shellout.rb:289:in `invalid!'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.1/lib/mixlib/shellout.rb:276:in `error!'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/mixin/shell_out.rb:56:in `shell_out!'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/provider/execute.rb:61:in `block in action_run'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/mixin/why_run.rb:52:in `call'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/mixin/why_run.rb:52:in `add_action'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/provider.rb:175:in `converge_by'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/provider/execute.rb:60:in `action_run'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/provider.rb:140:in `run_action'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource.rb:584:in `run_action'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/runner.rb:49:in `run_action'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/runner.rb:81:in `block (2 levels) in converge'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/runner.rb:81:in `each'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/runner.rb:81:in `block in converge'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/runner.rb:80:in `converge'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/client.rb:654:in `block in converge'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/client.rb:649:in `catch'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/client.rb:649:in `converge'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/client.rb:688:in `converge_and_save'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/client.rb:269:in `run'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:270:in `block in fork_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:258:in `fork'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:258:in `fork_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:224:in `block in run_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/local_mode.rb:39:in `with_server_connectivity'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:212:in `run_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application/client.rb:402:in `block in interval_run_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application/client.rb:392:in `loop'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application/client.rb:392:in `interval_run_chef_client'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application/client.rb:382:in `run_application'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/lib/chef/application.rb:60:in `run'

/opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.1/bin/chef-client:26:in `'

/opt/gitlab/embedded/bin/chef-client:23:in `load'

/opt/gitlab/embedded/bin/chef-client:23:in `

'[root@wode002 tools]#

------> yum install ruby-devel

Running handlers:

Running handlers complete

Chef Client finished, 93/217 resources updated in 39.449939905 seconds

gitlab Reconfigured!

创新互联www.cdcxhl.cn,专业提供香港、美国云服务器,动态BGP最优骨干路由自动选择,持续稳定高效的网络助力业务部署。公司持有工信部办法的idc、isp许可证, 机房独有T级流量清洗系统配攻击溯源,准确进行流量调度,确保服务器高可用性。佳节活动现已开启,新人活动云服务器买多久送多久。


网站题目:【CentOS】installGitLab-创新互联
分享路径:http://jkwzsj.com/article/dpcogi.html

其他资讯