How to deploy my java project on a cloud server (a)

Recently more leisure to think of something to get something.

The idea is to develop a website of their own, being a good thought in the end made of what type, what it looks like, go one step right.

First, I have to have a server, a project. Has been to get the server, Tencent bought a cloud server 120 annual fee (student price), Shunpian Mai a domain name.

To run the project must perform basic configuration of the server on the server:

First, configure the java environment

(SercureCRT may be connected by other clients ssh) Tencent cloud own terminal and download the environment variable configuration JDK

1, an input command terminal:  yum the install Java-1.8.0--Y OpenJDK Java-1.8.0-devel-OpenJDK

After this I was wondering installed jdk installation directory after Baidu get input terminal feasibility answer is: ls -l / etc / alternatives / java

 

Guess you like

Origin www.cnblogs.com/fanshu/p/11390225.html