우선 디지탈 오션에 가입한다:
https://www.digitalocean.com/?refcode=2e73960a5da1
설치과정:
https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone
설치과정에서 생기는 문제:
modernizr 문제
NOTE: It looks like some people are still having problems with this solution, so something else we can do is replace a few lines in Gemfile
and Gemfile.lock
(both on /home/git/gitlab
), switching modernizr
for modernizr-rails
:
- in
Gemfile
, line 164, change "modernizr", "2.6.2"
to "modernizr-rails", "2.7.1"
- in
Gemfile.lock
, line 292, change modernizr (2.6.2)
to modernizr-rails (2.7.1)
- in
Gemfile.lock
, line 626, change modernizr (= 2.6.2)
to modernizr-rails (= 2.7.1)
우분투 14.04 에서는 make 할때 다음과 같은 에러가있다
| I also have Ubuntu 14.04 and I got to make it work. Sharing what I did just in case it works for you. I patched the file ext/readline/readline.c replacing line 1886 : rl_pre_input_hook = (Function *)readline_pre_input_hook;
With rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
Then I tried to make it again and it worked. Source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741825 |
| This is my solution on Ubuntu 14.04 Server edition. I need to install underline sudo apt-get install libreadline6 libreadline6-dev
Then, the problem was fixed. |
- url:8080 으로 접속해야될때
- git push -u origin master 에서 에러가날대
nginx가 될시에 url 로 접속하면 바로 gitlab가 뜬다
nginx 문제면 url:8080으로 접속하면 뜸
nginx 에러 검사
sudo nginx -t
duplicate 에러시에
vi /etc/nginx/sites-enabled/gitlab
listen *.80; #이것만 해야 에러안남 default_server 지우세요
sudo service nginx restart
ssh 설정
gitlab 접속
myProfile->ssh 설정