201809-13 Gitlab 403 forbidden 并发引起IP被封 gitlab 出现403错误 打开页面的时候显示的是空白页面,上面还有一次文本Forbidden。 原因: Gitlab使用rack_attack做了并发访问的限制。 解决方法: 将Gitlab服务器的IP设置为白名单即可。 步骤如下: .... Read More >
201808-28 git clone提示 Peer’s Certificate has expired的解决方法 操作系统环境 [root@laofuxi.com ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux.... Read More >
201703-09 CentOS7下如何安装gitlab 1. 安装配置依赖包 yum -y install curl policycoreutils openssh-server openssh-clients systemctl enable sshd systemctl start sshd yum -y install postfix .... Read More >
201703-09 如何修改gitlab url地址 gitlab的URL如何修改 1、修改配置文件地址。 vi /etc/gitlab/gitlab.rb external_url 'http://git.laofuxi.com' 2、重新配置gitlab。 gitlab-ctl reconfigure 3、重启服务器。 reboot .... Read More >
201703-09 如何重置Gitlab管理员密码 Gitlab管理员的密码不常使用,过一段时间就忘记了,如何重置管理员密码呢,请看下面的方法。 以root登录gitlab服务器: gitlab-rails console production Loading production environment (Rails 4.1.1) irb(main):001:0> user = User.where(id:1).first /.... Read More >