Once the download is completed, extract the tar.gzįile and move it to the /opt directory: sudo tar xf /tmp/wildfly-$WILDFLY_ -C /opt/Ĭreate a symbolic link wildfly which will point to the WildFly installation directory: sudo ln -s /opt/wildfly-$WILDFLY_VERSION /opt/wildfly If there is a new version replace the WILDFLY_VERSION variable in the command below.ĭownload the WildFly archive in the /tmp directory using the following wgetĬommand: WILDFLY_VERSION=16.0.0.Final wget $WILDFLY_VERSION/wildfly-$WILDFLY_ -P /tmp Before continuing with the next step you should check the download pageįor a new version. Named wildfly with home directory /opt/wildfly that will run the WildFly service: sudo groupadd -r wildfly sudo useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly Step 3: Install WildFly #Īt the time of writing, the latest version of WildFly is 16.0.0. Install the OpenJDK package by running: sudo apt install default-jdk Step 2: Create a User # Start by updating the package index: sudo apt update The installation of Java is pretty simple. , which is the default Java development and runtime in Ubuntu 18.04. In order to be able to install packages on your Ubuntu system, you must be logged in as a user with sudo privileges The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Kubuntu, Linux Mint and Elementary OS. This tutorial will show you how to install WildFly application server on Ubuntu 18.04.
0 Comments
Leave a Reply. |