一般生成环境是不会使用root用户来发布tomcat等应用的。
所以要为发布人员创建一个ucenter用户来进行操作
useradd ucenter #添加ucenter用户 passwd ucenter –设置密码为:ucenter #设置ucenter用户的密码为:ucenter mkdir /ucenter #为ucenter用户创建ucenter目录 chown ucenter:ucenter /ucenter/ -R #把ucenter目录及其下所有的目录的授权给ucenter用户和其所在的组
搞定!
本文出自 “Simple Life” 博客,请务必保留此出处http://simplelife.blog.51cto.com/9954761/1740144
原文:http://simplelife.blog.51cto.com/9954761/1740144