[root@Z ~]# adduser tomcat [root@Z ~]# chown -R tomcat:tomcat /usr/local/tomcat/ [root@Z ~]# chown -R tomcat:tomcat /usr/local/Upload [root@Z ~]# chown -R tomcat:tomcat /usr/local/Uploadvideo/ [root@Z ~]# chown -R tomcat:tomcat /usr/local/Uploadimages/ [root@Z ~]# chown -R tomcat:tomcat /usr/local/Uploadaudio/
root用户修改tomcat用户的密码:
passwd tomcat,然后提示设置两边新密码就ok