Basic installation of linux

I bought a Tencent Cloud server and started playing. Let’s install the environment first.

install java

yum -y install java-1.7.0-openjdk*

Check java version
java -version 

When you can see the java version, the installation has been successful.

Then start to install tomcat

yum install tomcat

After installation, you can see the version of tomcat, indicating that the installation was successful.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325346259&siteId=291194637