Create an account:
useradd -d / Home / -m Safe Safe
Password:
passwd Safe
Enter password: x'x'x'x'x'x
re-enter: x'x'x'x'x'x
500 to the account permissions
chmod 500 / home / safe
Each authority to start the program
chmod 500 / opt / tomcat8
chmod 500 / opt / Redis
chmod 500 / usr / sbin / nginx
chmod 500 / etc / nginx
定义属主属组
chown -R safe:safe /opt/tomcat8
chown -R safe:safe /opt/redis
chown -R safe:safe /usr/sbin/nginx
chown -R safe:safe /etc/nginx
No pro-test pit!