采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
vi /etc/sysconfig/jenkins
JENKINS_USER="deploy" JENKINS_PORT=“8080”
chown -R deploy:deploy /var/lib/jenkins chown -R deploy:deploy /var/log/jenkins
systemctl start jenkins
感谢这位同学的关注,可以尝试 chown -R deploy:deploy /var/cache/jenkins
谢谢老师。 我用find / -name jenkins [root@192 src]# find / -name jenkins /etc/rc.d/init.d/jenkins /etc/sysconfig/jenkins /etc/logrotate.d/jenkins /var/lib/yum/repos/x86_64/7/jenkins /var/lib/jenkins /var/log/jenkins /var/cache/yum/x86_64/7/jenkins /var/cache/jenkins /usr/lib/jenkins 把下面的都改了deploy,才启动成功,又走近了一步。 chown -R deploy:deploy /var/lib/jenkins chown -R deploy:deploy /var/log/jenkins chown -R deploy:deploy /var/cache/jenkins chown -R deploy:deploy /var/cache/yum/x86_64/7/jenkins chown -R deploy:deploy /usr/lib/jenkins
非常感谢!
同学你好,我通过你的分享也改了下面那5哥路径,但是还是没有启动起来,请问你是全部路径都改了deploy么?
登录后可查看更多问答,登录/注册
整合三大工具解决自动化部署&持续交付问题
1.2k 19
1.1k 17
1.3k 12
809 11
1.1k 9