![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gitlab
weiliyandd
这个作者很懒,什么都没留下…
展开
-
gitlab配置SMTP服务
企业邮箱outlook配置,邮件服务器是exchange,配置的时候选择SMTP无认证登录smtp_authentition=false假设公司邮箱域名是:mail2.mm.com如果mail2.mm.com不能连接外网连接外网的域名是:mmtr.com则配置文件改为vim /etc/gitlab/gitlab.rb### GitLab email server settings##...原创 2020-05-14 17:35:57 · 704 阅读 · 0 评论 -
升级openssh反馈git clone 需要输入密码
升级了openssh后远端的服务器无法通过sftp传输文件到高服务器,发现是远端的服务器ssh版本太低,而新升级了openssh的服务器已经不再支持老版本ssh client的相关协议,这时候有两种解决办法,一种是升级远端服务器的openssh client版本,一种是修改升级后的服务器配置文件使其支持旧版本的协议,当然采用第二种方法自己解决问题。查看openssh支持的协议sshd -T | grep kexkexalgorithms curve25519-sha256,curve25519-sha原创 2020-05-14 17:28:06 · 1407 阅读 · 1 评论 -
重置gitlab密码
1.进入控制台:[root@hostname ~]# gitlab-rails console production或者:[root@hostname ~]# gitlab-rails console2.定位到需要修改的用户方法一:通过用户名查找(推荐):irb(main):001:0> user = User.where(username:‘root’).first另一种写...原创 2020-03-24 17:43:04 · 477 阅读 · 0 评论