git服务器自动化部署的实现

1.编辑权限 在服务器上肯定外部访问是以什么身份来操做,ps -ef | grep nginx   php nginx运行的用户便是你外部访问时的用户。我这是www用户。html vim /etc/sudoerslinux 编辑权限: 在 root ALL=(ALL) ALL 下加 www ALL=(ALL) NOPASSWD: /usr/bin/gitnginx 这里是给linux的www用户分
相关文章
相关标签/搜索