Developers Getting Started With i2b2
Space shortcuts
Space Tools
Developers Getting Started With i2b2 getstarted

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Setting up a Linux service to run your Wildfly Web Server will allow the server to continuously run in the background, without any user interaction. Another advantage of a Linux service is that it will run no matter which user is logged onto the machine. This means you do not have to leave a user logged onto the server just to keep Wildfly running. You can also configure the service to start automatically if the system is rebooted.


Wildfly 37.0.1

Refer to the README file in the Wildfly directory for instructions on setting it up as a service. Some of the text is included below as an example.

== Create a wildfly user

  # groupadd -r wildfly
  # useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly

== Install WildFly

  # tar xvzf wildfly-37.0.1.Final.tar.gz -C /opt
  # ln -s /opt/wildfly-37.0.1.Final /opt/wildfly
  # chown -R wildfly:wildfly /opt/wildfly

== Configure systemd

  # mkdir /etc/wildfly
  # cp wildfly.conf /etc/wildfly/
  # cp wildfly.service /etc/systemd/system/
  # cp launch.sh /opt/wildfly/bin/
    # chmod +x /opt/wildfly/bin/launch.sh

== Start and enable

  # systemctl start wildfly.service
    # systemctl enable wildfly.service

Wildfly 17

The information in this section will guide you through setting up Wildfly 17 to run as a Linux Service.

...

Developers Getting Started With i2b2 getstarted