caspurchase.blogg.se

Apache tomcat 8 download url for ubuntu
Apache tomcat 8 download url for ubuntu





apache tomcat 8 download url for ubuntu

For that, we will use a “tomcat” as the user and group: # groupadd tomcat Once you have configured Java, it’s time to install Apache Tomcat. You should read the correct path to Java. Now, executing the command: # echo $JAVA_HOME Save, exit and reload the file: # source ~/.bashrc Next, edit ~/.bashrc writing the lines: JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre" You should see the following Java path: /usr/lib/jvm/java-8-oracle/jre/bin/javaĮdit the environment file /etc/environment, adding the following line: Now you need to configure the environment variable (JAVA_HOME) on the server: # update-alternatives -config java Just to be sure that everything went well. Next, check Java version: # java -version Now, you can install Java: # apt install oracle-java8-installer -yĪccept the licence, and then wait for the installation process to complete. # apt-key adv -keyserver hkp://:80 -recv-keys EEA14886 # echo "deb-src xenial main" | tee -a /etc/apt//webupd8team-java.list Next, add required repository: # echo "deb xenial main" | tee /etc/apt//webupd8team-java.list The first thing to do is to install python-software-properties, for managing repository: # apt install python-software-properties -y This tutorial explains how to install and configure Tomcat 8.5.11 on Debian 8. It’s distributed under the Apache License 2.0. It also provides an HTTP web server environment in which Java code can run. Apache Tomcat is a Java Servlet Container which implements several Java EE specifications including JavaServer Pages (JSP), Java Servlet, WebSocket and Java EL.







Apache tomcat 8 download url for ubuntu