User Tools

Site Tools


linux:install_gitolite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:install_gitolite [2020/05/24 14:32] – created bstaffordlinux:install_gitolite [2022/11/23 12:49] (current) – external edit 127.0.0.1
Line 7: Line 7:
  
 =====Prerequisites===== =====Prerequisites=====
-For the server, you must have a CentOS machine already set up in accordance with the "[[Install Linux]]guide.+For the server, you must have a CentOS machine already set up in accordance with the [[linux:install_centos6|Install CentOS 6]] guide.
  
 For the workstation, you must have Windows 7. For the workstation, you must have Windows 7.
Line 13: Line 13:
  
 =====Install Git on Workstation===== =====Install Git on Workstation=====
-You need to install Git on your workstation. The only server that has Gitolite installed is the server. Workstations just need Git. You can download it [http://git-scm.com/downloads here].+You need to install Git on your workstation. The only server that has Gitolite installed is the server. Workstations just need Git. You can download it [[http://git-scm.com/downloads|here]].
  
 Accept the license and most of the defaults. Double check to ensure that the following are selected when they come up. Accept the license and most of the defaults. Double check to ensure that the following are selected when they come up.
Line 31: Line 31:
   * The public key created (usually called id_rsa.pub) must now be placed in to the gitolite-admin git repository on the server. A current admin of the Git server has to do this.Admin rights to this project are required, hence if this is the first machine you are setting this up on you will need to send the .pub file to Ben or Calvin.   * The public key created (usually called id_rsa.pub) must now be placed in to the gitolite-admin git repository on the server. A current admin of the Git server has to do this.Admin rights to this project are required, hence if this is the first machine you are setting this up on you will need to send the .pub file to Ben or Calvin.
  
-If using Spingsource or Gitgui, the repository to use is '''ssh://git@gitbox:gitolite-admin'''.+If using Spingsource or Gitgui, the repository to use is ''ssh:////git@gitbox:gitolite-admin''.
  
-The admin should copy the id_rsa.pub file to C:\Git\gitolite-admin\keydir on his machine and rename it username.pub (e.g. bstafford.pub). He should then push it to the server.+The admin should copy the id_rsa.pub file to ''C:\Git\gitolite-admin\keydir'' on his machine and rename it username.pub (e.g. bstafford.pub). He should then push it to the server.
  
-Open the command prompt and change to C:\Git\gitolite-admin\+Open the command prompt and change to ''C:\Git\gitolite-admin\''
 <code>git add . <code>git add .
 git commit git commit
linux/install_gitolite.1590330758.txt.gz · Last modified: (external edit)