2012-11-03 6 views
3
내가 뭔가를이 라인까지 일 http://kris.me.uk/2010/09/30/git-repository-server-gitolite.html

망할 놈의 서버가 문제

이 튜토리얼 다음 명쾌한 VPS에 내 gitserver를 설정했다

을 설정

bash: src/gl-system-install: No such file or directory 

이것은 처음으로 git 서버를 설정하기 때문에 약간 잃어 버렸습니다. 문제를 봤지만 아무 것도 찾을 수 없습니다. 나는 도움 녀석을 평가한다!

+0

은'GL-시스템-install '이다 명령을 포함하는 현재 디렉토리에서'src' 디렉토리가 있습니까? 그렇지 않은 경우 잘못된 위치에서 명령을 실행하고있는 것입니다. *가 *이면, 스크립트의 첫 번째 행은 어떻게 생겼을 까? – larsks

+0

자습서를 따르는 경우 설치하는 버전이 자습서와 일치하는지 확인해야합니다. 그렇지 않으면 다음과 같은 문제가 발생합니다. 해당 자습서는 2010 년부터이며 일부 변경 사항이 다시 제공됩니다. 새로 설치 한 버전 일 가능성이 높습니다. – vgoff

답변

1

gl-system-install은 Gitolite 명령이고 GitoliteV3 (or 'g3')으로 이동했습니다. V3에서
, gl-system-install이 존재하지 않는, 지금이라고 gitolite (및 gitolite-shell)

gitolite/install -to $HOME/bin 
gitolite setup -pk YourName.pub 

업데이트 된 설치 절차에 대한 Gitolite installation page를 참조하십시오.

"Installation" consists of the following options:

  1. Keep the sources anywhere and use the full path to run the gitolite command.
  2. Keep the sources anywhere and symlink just the gitolite program to some directory on your $PATH .
  3. Copy the sources somewhere and use that path to run the gitolite command.

Option 2 is the best for general use.

# option 2 
gitolite/install -ln 
# defaults to $HOME/bin (which is assumed to exist) 
# ** or ** 
# or use a specific directory (please supply full path): 
gitolite/install -ln /usr/local/bin 
+0

안녕하세요. 난 당신이 링크 된 추가 정보 파일에서 gitolite를 설치하려고 그리고 난이 오류가 계속 : 루트 @의 linxuServer : 설치/gitolite :/#의 gitolite를/-to $ HOME/빈 -bash를 설치하지 해당 파일을 또는 디렉토리 gitolite/install의 상위 디렉토리에 있다면 간단히 게시 한 명령이 – jonney

+0

@jonney와 동일하지 않습니다. 루트로 설치하지 않습니다. 자세한 내용은 https://github.com/VonC/compileEverything/blob/master/gitolite/install_or_update_gitolite.sh에서 확인하십시오 : gitolite repo를 복제 한 후 gitolite/install에 액세스 할 수 있습니다. – VonC

+0

안녕하세요. gitollite 폴더를 지우고 git clone을 다시 시작하여 작동하도록했습니다. – jonney