$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Tomcat 9 Ubuntu 16.04 Xenial Easy Guide

August 13, 2017 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Tomcat 9

    Download Apache Tomcat 9 Java Server.

    Apache Tomcat 9 tar.gz
  2. 3. Extracting Tomcat 9

    Then Extract Tomcat 9 into /tmp
    Eventually Double-Click on Archive to Open with Archive Manager:


    Or from Shell:

    tar xvzf ~/Downloads/apache-tomcat-9*.tar.gz -C /tmp/
  3. 4. Installing Tomcat 9

    And to Install Apache Tomcat 9 on Ubuntu
    First, Set Permissions & Ownership with:

    sudo chown -R root:root /tmp/apache-tomcat-9*
    sudo chmod -R +xr /tmp/apache-tomcat-9*

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    Then Switch the contents into the Target:

    sudo mv /tmp/apache-tomcat-9* /opt/apache-tomcat-9

    This for a System-wide Setup.

  4. 5. Installing Oracle JDK

    How to Install Required Oracle-Sun JDK 8+ on Ubuntu

    Install Oracle JDK for Ubuntu
  5. 6. Starting Tomcat 9

    Now the Commands to Start and Stop Tomcat 9 Server
    To Start it Up:

    sudo /opt/apache-tomcat-9/bin/startup.sh

    And to Shut it Down:

    sudo /opt/apache-tomcat-9/bin/shutdown.sh

Contents