Joke Collection Website - Public benefit messages - How to configure java web environment on Alibaba Cloud Centos7.0
How to configure java web environment on Alibaba Cloud Centos7.0
Use xshell or SecureCRT to log in to Alibaba Cloud host, install jdk and tomcat with rpm command, and then configure java environment.
JAVA _ HOME =/usr/JAVA/JDK 1 . 8 . 0 _ 60
JRE _ HOME =/usr/Java/JDK 1 . 8 . 0 _ 60/JRE
PATH = $ PATH:$ JAVA _ HOME/bin:$ JRE _ HOME/bin
class path =:$ JAVA _ HOME/lib/dt . jar:$ JAVA _ HOME/lib/tools . jar:$ JRE _ HOME/lib
Export JAVA_HOME JRE_HOME path classpath.
Just start tomcat
- Related articles
- How to pay Alipay's illegal fines?
- How to use my husband's Iqiyi member
- Sentences suitable for making funny friends.
- Which music phone with good external sound quality is better? For women, just make phone calls, send text messages, listen to songs and play them outside, with good sound quality and loud voice.
- Why don't Xiaomi 4 and MIUI6 display the number of short messages? It was originally displayed in V5!
- How much is a telecom card for sending messages to China in Korea?
- I want to apply for an express delivery. I can't find the recruitment information of SF Express online. I read shentong's. How about Shentong? Better be more detailed, thank you,,,
- How to train larks to sing?
- The bus stops around the high-risk area in jinfeng district, Yinchuan were temporarily cancelled.
- Can't receive long mobile text messages through China Unicom?