Into the root account
Adding a user
input useradd qwe
Password
input passwd qwe
Repeat twice password setting is completed
Switch user
input su - qwe
Other files into the server copy jdk
input jdk1.8.0_102 -r scp / [email protected] : / Home / QWE
Editing .bash_profile
input .bash_profile vim
Source file to take effect
input source .bash_profile
Use wget to download tomcat
enter wget https://www.apache.org/dist/tomcat/tomcat-8/v8.5.41/bin/apache-tomcat-8.5.41.tar.gz.asc
Unzip the file
input tar -xzvf apache-tomcat-8.5.41.tar.gz
bin file into the tomcat start tomcat
Enter the URL, the default port 8080, accessed