I recently setup Jetty on a CentOS 7 Linux server. Previously we had been running Jetty in a windows environment but now we are moving our servers over to Linux. Here are my setup notes, I hope they help!
Start Jetty Server
Install JDK Note: We are using the Oracle JDK (Not openJDK). Check for the. Download and install the JDK: wget -no-cookies -no-check-certificate -header 'Cookie: oraclelicense=accept-securebackup-cookie' '-O /opt/jdk-8-linux-x64.rpm yum install /opt/jdk-8-linux-x64.rpm Set JAVAHOME and add it to your PATH: Create a file in /etc/profile.d to store java settings: sudo touch /etc/profile.d/java.sh vi /etc/profile.d/java.sh Add the lines: export JAVAHOME=/usr/java/latest export PATH=$JAVAHOME/bin:$PATH Install Jetty Web Server Note: Check for the. Download and install Jetty: wget tar -zxvf jetty-distribution-9.3.14.v20161028.tar.gz mv jetty-distribution-9.3.14.v20161028 /opt/jetty-9.3.14 ln -s /opt/jetty-9.3.14 /opt/jetty Note: creating a soft link for your /opt/jetty install will be very useful later when you want to upgrade your version of Jetty. All you will need to do to upgrade is just download the tar.gz of the newest version, unpack it, and point the soft link to the new folder. Forgot password for mac desktop.