centos搭建git服务器,并同步线上项目

1. 安装githtml 2. 建立用户gitgit groupadd git adduser git -g git 3. 建立authorized_keys文件web cd /home/git mkdir .ssh chmod 700 .ssh touch .ssh/authorized_keys chmod 600 .ssh/authorized_keys cd /home chown -R
相关文章
相关标签/搜索