One-click installation of Java JDK and Tomcat

Source: Internet
Author: User

1. Install Java JDK with one click, version jdk:1.8.0.172

################################ #一键快速安装java  jdk ####################################### #mkdir  / usr/javacd /usr/local/src/rz -y            Upload JDK-8U172-LINUX-X64.TAR.GZ,JDK version to 1.8.0.172tar xf jdk-8u172-linux-x64.tar.gz -c /usr/ javaln -s /usr/java/jdk1.8.0_172/ /usr/java/jdkvim /etc/profile       #添加如下4行内容 #set java environmentexport java_home=/usr/java/jdkexport classpath=$ CLASSPATH: $JAVA _home/lib: $JAVA _home/jre/libexport path= $JAVA _home/bin: $JAVA _home/jre/bin: $PATHsource  /etc/profilejava -version          appears as follows 3 lines description java  JDK installation Complete java version  "1.8.0_172" Java (TM)  SE Runtime Environment  (build 1.8.0 _172-B11) Java hotspot (TM)  64-Bit Server VM  (build 25.172-b11, mixed  mode) ############################### # # #一键快速安装java  jdk  Complete ##################################### 


2. Quickly install Tomcat instance with one click

################### #快速部署tomcat多实例 ############################ #mkdir/server/tools-pmkdir/application/cd/server/ Toolsrz-y #上传apache-tomcat-8.5.31.tar.gztar XF apache-tomcat-8.5.31.tar.gz-c/application/cp-a/application/ Apache-tomcat-8.5.31/application/tomcat-sbcdchown-r root.root/application/tomcat-sbcd/#################### Tomcat multi-instance deployment complete #############################

1) test Tomcat

/application/tomcat-sbcd/bin/startup.sh

The browser opens directly: http://IP:8080/can see the Tomcat home page stating initial installation OK


Install Java JDK and tomcat with one click

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.