WildFly 8.2.0 on Ubuntu 14.04
sudo -s root
cd /opt
groupadd wildfly
adduser --no-create-home --disabled-password --disabled-login wildfly
wget http://download.jboss.org/wildfly/8.2.0.Final/wildfly-8.2.0.Final.tar.gz
tar -xzvf wildfly-8.2.0.Final.tar.gz
ln -s wildfly-8.2.0.Final wildfly
chown -R wildfly.wildfly wildfly
chown -R wildfly.wildfly wildfly-8.2.0.Final
cd /etc/default
ln -s /opt/wildfly/bin/init.d/wildfly.conf wildfly
cd /etc/init.d
ln -s /opt/wildfly/bin/init.d/wildfly-init-debian.sh wildfly
service wildfly start
cd /etc/init.d
update-rc.d wildfly defaults
INSTALLING WILDFLY AS SERVICE on CENTOS, Fedora
PostgreSQL Datasource on WildFly 8.2.0