Linux下搭建Git服務器

1、安裝Git 見 Jenkins持續集成環境部署 第四節 2、創建Git用戶和用戶組 1 groupadd git 2 useradd git -g git 3、創建證書 切換到git用戶創建證書 1 su git 2 cd /home/git 3 mkdir .ssh 4 chmod 700 .ssh 5 touch .ssh/authorized_keys 6 chmod 600 .ssh/
相關文章
相關標籤/搜索