blinkla.blogg.se

How to download apache tomcat 8 for linux
How to download apache tomcat 8 for linux






how to download apache tomcat 8 for linux

# tar -zxf /tmp/apache-tomcat-8.0.28.tar.gz -C /opt # alternatives –set jar /usr/java/jdk1.8.0_05/bin/jarĬheck the JAVA version running on your system:Ĭreate a separate user which will run the Tomcat server:ĭownload the latest Tomcat 8 version from here or use the following command to download Tomcat 8.xĮxtract the contents of the Tomcat archive to /opt using the following command: # alternatives –set javac /usr/java/jdk1.8.0_05/bin/javac # alternatives –set javaws /usr/java/jdk1.8.0_05/jre/bin/javaws # alternatives –set java /usr/java/jdk1.8.0_05/jre/bin/java # alternatives –install /usr/bin/javaws javaws /usr/java/jdk1.8.0_05/jre/bin/javaws 20000 # alternatives –install /usr/bin/javac javac /usr/java/jdk1.8.0_05/bin/javac 20000 # alternatives –install /usr/bin/jar jar /usr/java/jdk1.8.0_05/bin/jar 20000 # alternatives –install /usr/bin/java java /usr/java/jdk1.8.0_05/jre/bin/java 20000

how to download apache tomcat 8 for linux

Once the JAVA package has been downloaded, install it using rpm as follows:Ĭonfigure the newly installed JAVA package using alternatives as in: –header “Cookie: oraclelicense=accept-securebackup-cookie” \ Make sure you are in a screen session and your CentOS 6 based Linux Virtual Server is up-to-date by running:ĭownload the latest JAVA 8 from here or use the following command to download JAVA JDK 8u5:








How to download apache tomcat 8 for linux