WildFly Installation in Ubuntu 22.04 – Step-by-step

October 20, 2023 | By the+gnu+linux+evangelist.

How to Install

  1. 2. Downloading WildFly

    Download Latest WildFly JEE App Server

    WildFly App Server tar.gz

    Grab the Application Server Release.
    And Save it.

  2. 3. Installing WildFly

    And to Setup WildFly into the Target
    (This for a System-Wide Installation. For a Local one simply Run it from inside the Home directory.)

    First, access the Download location by default with:

    cd ~/Downloads

    To Check it’s there List the contents with:

    ls . | grep wildfly

    The grep Command refine the output List showing only the Entries matching the Keyword.
    But if you are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.
    And then Extract it directly into the Target:

    sudo tar xvfz ./wildfly*.tar.gz -C /opt/

    Then rename it to make easier configuring the Path:

    sudo mv /opt/wildfly* /opt/wildfly

    Last, set to Set the SuperUser as owner issue:

    sudo chown -R root:root /opt/wildfly
  3. 4. Setting Up Path

    Set User’s Env Variable and Path.

    To Edit User .bashrc Config File:

    nano ~/.bashrc

    Append:

    export JBOSS_HOME=/opt/wildfly;/nexport AS=$JBOSS_HOME;/nexport PATH=$JBOSS_HOME/bin:$PATH

    Ctrl+x to Save & Exit from nano :)

    Finally, to Load New Environment Set-Up play:

    bash
  4. 5. Installing Oracle JDK

    How to Install Recommended Oracle JDK on Ubuntu

    Install Oracle JDK 8+ for Ubuntu

Contents


QuickChic Theme • Powered by WordPress