//1.新建用户tomcat
adduser tomcat
//2.设置密码
passwd tomcat
//3.给新用户tomcat授权/opt/app目录的读/写/执行权限
cd /opt
mkdir app
chown 777 /opt/app
//1.新建用户tomcat
adduser tomcat
//2.设置密码
passwd tomcat
//3.给新用户tomcat授权/opt/app目录的读/写/执行权限
cd /opt
mkdir app
chown 777 /opt/app