1,先升級inux內(nèi)核,不然會出現(xiàn)一堆無資源的錯誤
參考文章[必看]:
https://cxymm.net/article/dengshulei/103704417
2挠进,安裝gitlab
參考鏈接[必看]:
https://about.gitlab.com/install/#centos-8
我的是8,7沒試誊册。
后續(xù)的坑:
登錄時會出現(xiàn)Invalid login or password. 即使用的root賬密
解決參考:https://blog.csdn.net/hnmpf/article/details/80518460
寫了很多
但我就以下幾條命令:
$ sudo gitlab-rails console -e production
$ user=User.find_by(username:'root')
$ user.password=' pwd'
$user.password_confirmation='pwd'
$ user.save!