Joke Collection Website - Public benefit messages - How to configure javaweb environment for Alibaba Cloud server?
How to configure javaweb environment for Alibaba Cloud server?
Is it a linux server?
-install the java environment.
Download the installation package in jdk bin format.
Rpm -ivh is installed with the name of the installation package.
Configure environment variables (Java_home address is modified according to the actual situation)
Add under /etc/profile.
# Set the Java environment
JAVA _ HOME =/usr/share/JDK 1 . 6 . 0 _ 43
PATH=$JAVA_HOME/bin:$PATH
Classpath =. :$ JAVA _ HOME/lib/dt . jar:$ JAVA _ HOME/lib/tools . jar
Export JAVA_HOME
Export path
Export classpath
-install Tomcat.
Download tomcat installation package and unzip it.
- Related articles
- What can I ask 12320?
- Will the Internet police check if we chat about the epidemic on WeChat?
- Do bank of luoyang and WeChat official accounts have transaction reminders?
- Is the filing receipt of NDRC registered in the registered account?
- Disgusting love words before couples go to bed, the sweetest and most reassuring words (64 sentences)
- The 70th original of Water Margin.
- Unicom can't receive SMS when it handles the card.
- How to open WeChat to read SMS permissions?
- My first love, a crush on a boy, what should I do?
- How to query social security card on mobile phone?