Setup for Advanced JBoss EAP / WildFly Server Administration
Required Software
Operating System: Windows OS (Any modern version - Windows 10, 10, etc. - labs have not been tested on Windows 8 variants)
Computer requirements
- Required: Intel-compatible processor (with reasonably recent hardware).
- Memory: 8GB recommended (4GB minimum)
- Disk Space: Free disk space for software installs (generally minimum 2GB)
Instructions
Install Java Development Kit – JDK 1.8 Update 241
- Note that any relatively recent JDK1.8 version is fine.
- From http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html download the installer file for your OS:
- Windows 64 bit: xxx-windows-x64.exe (Almost certainly this is the one you want. 32-bit Windows OS installs are now rare).
- Windows 32 bit: xxx-windows-i586.exe
- Run the installer and take all defaults.
- Create or modify environment variables as appropriate for your OS. This will add an environment variable JAVA_HOME, and modify your path to include the jdk bin folder
- JAVA_HOME:
- Right click My Computer and choose Properties > click the Advanced tab > click the Environment Variables button
- In the bottom half of the dialog, click New to add a new System variable
- Variable name: JAVA_HOME (this is case-sensitive)
- Variable value: C:\Program Files\Java\jdk1.8.0_241 (or adjust to the actual path where you installed the JDK and your JDK version – please double-check this path – probably best to copy and paste it)
- Click OK
- Path:
- Find this existing entry in the bottom half of the Environment Variables button, and click Edit
- Click in the Variable value field and move your cursor all the way to the left (pressing Home on your keyboard should do this quickly for you)
- Check whether the value below is already present, or add it at the beginning if necessary (make sure you get all of this, including the trailing semicolon, with no spaces):
%JAVA_HOME%\bin;
- Click OK repeatedly (likely in 3 different dialogs) until all the dialogs close.
- JAVA_HOME:
- Open a terminal prompt type the below, and press Enter
javac -version
You should get a message that tells you the version. If the command is not found, you did something wrong. - Close the terminal prompt. You’re done installing Java
Install JBoss EAP 7.1
- Red Hat Account: You MUST have a (free) Red Hat account to download JBoss EAP.
- If you already have an account, then continue to Download. Otherwise, set up an account as follows:
- Go to http://www.redhat.com
- Click on the Login link (currently at the top right of the page).
- Look for the Register link, and register as per their instructions.
- Download: You are downloading the file jboss-eap-7.1.0.zip
- First, try the direct link - currently: https://developers.redhat.com/download-manager/file/jboss-eap-7.1.0.zip
- Supply your login if asked.
- Save the file where you can access it easily.
- If the direct download doesn’t work, then try the download process below (the direct links change sometimes).
- Go to http://developers.redhat.com/products/eap/download
- Click the link for “View Older Downloads” to expand this section.
- Go to the 7.1.0 section
- Click the zip file link on the “Application Platform” line and download the zip file
- Save the file where you can access it easily
- Extract: Extract the zip file where students can access and run it easily.
- Windows OS: Common location is C:\
- Mac OS: Common location is user home directory.
- Create a JBOSS_HOME Environment variable that points to the WildFly install folder (according to your OS needs)
- Windows OS: Right click My Computer and choose Properties, Click the Advanced tab, Click the Environment Variables butto
- *nix / Mac OS: Generally done in user’s shell config file (e.g. ~/.bashrc)
- That’s all that needs to be done to install WildFly.
Install WildFly 11.0
- Download: From http://wildfly.org/downloads go to the 11.0.0.Final section
- Go to the zip file link for the “Java EE Full & Web Distribution”
- The filename will be wildfly-11.0.0.Final.zip
- Save the file where you can access it easily
- You can also try the direct link: https://download.jboss.org/wildfly/11.0.0.Final/wildfly-11.0.0.Final.zip
- Extract: Extract the zip file where students can access and run it easily.
- Windows OS: Common location is C:\
- Mac OS: Common location is user home directory.
- Create a JBOSS_HOME Environment variable that points to the WildFly install folder (according to your OS needs)
- Windows OS: Right click My Computer and choose Properties, Click the Advanced tab, Click the Environment Variables butto
- *nix / Mac OS: Generally done in user’s shell config file (e.g. ~/.bashrc)
- That’s all that needs to be done to install WildFly.
Lab Files
- Extract the lab files to a location conveniently accessible to the student (e.g. C:\ )
- If using folder other than C:\, make sure you remember where they are.
Courses and Class Files
This setup page is used for the following course: