flagflag  
2: 2021-06-28 (Mon) 20:02:01 iseki source 3: 2021-06-29 (Tue) 13:53:51 iseki source
Line 4: Line 4:
- サービス: gitlab-runsvdir.service - サービス: gitlab-runsvdir.service
#br #br
-*** root のパスワード変更 [#t6848d95+*** LDAP [#a604dcae] 
-- gitlab-rails console -e production+- /etc/gitlab/[[gitlab.rb>./ldap_gitlab.rb​]] 
 + 
 +- 変更の反映 
 +-- # gitlab-ctl reconfigure 
 +- チェック 
 +-- # gitlab-rake gitlab:ldap:check RAILS_ENV=production 
 +#br 
 + 
 +*** HTTPS [#n6ae08c0] 
 + # pwd 
 + /etc/gitlab/ssl 
 + # ls -l 
 + -rw-r--r--. 1 root root 1070  2月 19 15:14 gitlab.nsl.tuis.ac.jp.crt 
 + -r--------. 1 root root 1679  2月 19 15:14 gitlab.nsl.tuis.ac.jp.key 
 + -r--------. 1 root root 1675  2月 19 15:14 gitlab.nsl.tuis.ac.jp.key-staging 
 +#br 
 + 
 +*** Trouble Shooting [#y0073385] 
 +**** LDAP でログイン時にエラー [#xb711372
 +- Could not authenticate you from Ldapmain because "Undefined method `provider' for nil:nilclass". 
 +- LDAPのユーザ属性(posixAccount)に mailアドレスを追加する.see [[phpLDAPadmin]] 
 +#br 
 +**** root のパスワードを忘れた [#p7d291e4] 
 +- # gitlab-rails console -e production
-- user = User.where(id: 1).first -- user = User.where(id: 1).first
-- user.password = '********' -- user.password = '********'
Line 29: Line 52:
 => true  => true
 irb(main):005:0> exit  irb(main):005:0> exit
 +
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

36 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 36

more...

Access Counter

Today : 5369536953695369
Yesterday : 8599859985998599
Total : 2365237523652375236523752365237523652375236523752365237523652375
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com