Page 7 of 7

LearnQuest Course Setup Requirements

Administration of JBoss Application

Server 4 on Linux

EJJB-120

Please read these installation instructions carefully. Successful course delivery depends upon the availability of required hardware and the proper installation of all identified software.

Minimum Hardware Requirements

Basic platform:

§  Intel-based PC Workstation with minimum 2 GHz Pentium

§  768 MB RAM minimum, 1 GB is recommended

§  Approximately 8 GB minimum disk space

§  800 x 600 minimum display resolution (1024 x 768 recommended)

§  Network adapter

§  Internet access Note: Some setup steps require an active internet connection

§  LAN connectivity Note: Each machine in the LAN must have a unique host name

§  Super VGA monitor (SVGA), minimum 17 inch screen

§  Projection display device that supports SVGA 800x600, 256-colors

Minimum Software Requirements

Software required for the computer(s). Detailed instructions may follow in the appropriate sections below.

Ø  Operating systems:

o  Cent OS 5 *

Ø  Application Development Software and Versions:

o  Sun Java JDK v1.5 *

o  JBoss v4.0.4 *

o  MySQL v5.0.22 *

o  MySQL JDBC Driver v3.1.13 *

o  Tomcat Connector v2.0.55 *

o  JMeter Stress Testing Tool v2.1.1 *

o  Log4j chainsaw v2 *

o  JBoss Eclipse IDE v1.6.0 *

* - indicates software provided by LearnQuest vendor on CD.

Software Installation Instructions (instructor’s computers and student computers)

Ø  Receive the following CDs from LearnQuest vendor:

·  Cent OS 5 (6 CDs)

·  WA1584 Software CD

Ø  Perform the following steps to complete installation:

Install Cent OS 5

Cent OS is a freely available Linux operating system. It is built from the source code of Red Hat Enterprise Linux and the goal is to be the equivalent of Red Hat Enterprise Linux.

The CDs provided for the installation of Cent OS were downloaded from the download section of www.centos.org. If for any reason you need to download additional copies make sure to find the Cent OS 5 “ISOs”. Make sure you select the folder for “i386” for non-64 bit hardware. Select a mirror and download the ‘.iso’ files (6 of them). Burn each of these ‘.iso’ files to a separate CD using CD burning software. Some mirror sites may also have a DVD ISO but these instructions assume 6 CDs.

  1. Insert CD #1 into the main CD drive of the PC.
  2. Reboot the machine.
  3. The machine should boot from the CD and bring up a prompt about installing Cent OS. If it does not try putting CD #1 in the second CD drive if there is one or check the BIOS settings to be sure the machine attempts to boot from a CD before booting from the hard drive.
  4. On the prompt that appears asking about installation method hit the <ENTER> key to install in graphical mode.
  5. If you wish you can test the installation media but this does take a while. If you do not wish to test the installation media hit the <TAB> key until “Skip” is selected and hit <ENTER>. You may want to check the installation media the first time you use it or if you burned your own copies. If you do check the media reinsert CD #1 when you are done before continuing.
  6. One the first screen of the graphical installer press the ‘Next’ button.
  7. Make sure that English is selected for the installation language and press the ‘Next’ button.
  8. Make sure the correct keyboard type (usually US English) is selected and press the ‘Next’ button.
  9. Select the option to “remove all partitions on the selected drive and create default layout” and press the ‘Next’ button.
  10. Confirm that you want to remove all data from the hard drive.
  11. On the networking page select the option to manually set a hostname. Enter a value that will be unique on the local network so that machines in the classroom can network with each other. Depending on the network of your location you may need to change other settings on the networking page but the default of DHCP configuration is often the correct choice. Press the ‘Next’ button when your choices are correct for your networking requirements.
  12. Select the appropriate time zone option and press the ‘Next’ button.
  13. Enter and confirm a root password of “centOS". Press the ‘Next’ button.
  14. Check the options for the “Desktop – Gnome” and “Desktop – KDE” environments ONLY and press the ‘Next’ button. It may take a minute or two to show the next screen.
  15. Press the ‘Next’ button to begin the installation of Cent OS. Confirm that you have the CDs listed and press the ‘Continue’ button.
  16. Switch the disks when prompted to continue the installation.
  17. When installation is complete, remove any CD from the machine and press the ‘Reboot’ button.
  18. After rebooting, press the ‘Forward’ button on the Welcome screen.
  19. On the Firewall settings, change the setting to “disabled” and press the ‘Forward’ button. Press the ‘Yes’ button when asked to confirm the setting.
  20. On the settings for SELinux, change the setting to “disabled” and press the ‘Forward’ button. Press the ‘Yes’ button when asked to confirm the setting.
  21. Set the date and time appropriately and press the ‘Forward’ button.
  22. On the screen to create a user fill in the following information and press the ‘Forward’ button:

Username: student

Password: centOS

Confirm password: centOS

  1. Press the ‘Forward’ button to skip the sound card setup.
  2. Press the ‘Finish’ button to complete the installation configuration.
  3. Press ‘OK’ to reboot the system.
  4. When prompted, type “root” as the username, hit <ENTER>, type “centOS” as the password and hit <ENTER> again to login.
  5. If you get a message in the upper right corner about updates press the ‘X’ to close the pop-up without installing the updates.
  6. Select ‘System -> Log Out root...’ to logout. Confirm that you want to logout.

MySQL Installation

This setup assumes you have already installed CentOS. You must also have an active connection to the internet.

1.  Boot the PC into Cent OS and login as the “root” user using the password from the Cent OS installation.

2.  In the upper left corner of the desktop click the “Applications” menu and select the “Add/Remove Software” option from the menu.

3.  Select the “Servers” group on the left, scroll down on the right and select the “MySQL Database” option on the right as shown below.

4.  Press the “Apply” button in the lower right to install MySQL.

5.  Press the “Continue” button to confirm installation of the new packages.

6.  Once the dependency check is complete press the “Continue” button to update dependent packages.

7.  Wait while packages are downloaded and installed. If you are prompted about importing a key check that the key originates from Cent OS and press the “Import key” button to continue the update.

8.  Once the installation is complete press the “OK” button.

9.  Select ‘File -> Quit’ to exit the Package Manager.

10.  From the menus of the upper toolbar select ‘System -> Administration -> Services’.

11.  Scroll down the list of services on the left and select the ‘mysqld’ service from the list.

12.  Check the box next to the ‘mysqld’ service as shown below so it will start automatically when the machine boots.

13.  With the ‘mysqld’ service still selected click the “Start” button above the list of services. After a few seconds it should prompt you that the service is started. Press the “OK” button to confirm the start and check that a message about the service running as shown above is displayed (the “pid” will be different).

14.  Press the “Save” button in the upper left of the window to save the service configuration.

15.  Select ‘File -> Quit’ from the menus to close the service configuration.

16.  From the menus of the upper toolbar select ‘Applications -> Accessories -> Terminal’ to open a terminal window.

17.  In the terminal window type the following command to set the MySQL administrative password to ‘root123’:

mysqladmin –u root password root123

18.  Type the following to attempt to login to MySQL:

mysql –u root -p

19.  When prompted enter the password of ‘root123’.

20.  Type the following to logout of MySQL:

quit;

21.  Select ‘System -> Log Out root...’ to log out. Confirm that you wish to logout.

Root User for Labs
Students will need to login as the 'root' user configured during the Cent OS installation during class. This is required as students will be installing applications and running server applications. If this requirement is an issue please contact the setup support person before the class to resolve this problem.

Extract Software from CD
Use the following steps to extract the software to the machine:

1.  Login as the 'root' user configured during the Cent OS installation.

2.  Insert the WA1584 Software CD into the CD drive.

3.  If a window does not automatically appear in a few seconds showing the contents of the CD double-click the 'Computer' icon on the desktop and then the icon for the CD drive.

4.  In the window showing the CD contents, double-click the 'Software.tar' file to open the file with the Archive Manager. This will take several seconds to open the file.

5.  In the Archive Manager press the 'Extract' button to open the Extract options.

6.  Click in the 'Extract in folder' box and select 'Other' from the popup list to open a file browser.

7.  Double click the 'File System' on the left and the 'usr' directory in the list on the right to select this directory. Press the 'Open' button to select the 'usr' directory.

8.  Check that the 'usr' directory is listed in the 'Extract to folder' option and press the 'Extract' button. It will take a while to extract the files.

9.  Close all open windows and eject the CD.

Extract Supporting Zip
Use the following steps to extract the Supporting Zip to the machine:

1.  Login as the 'root' user configured during the Cent OS installation.

2.  Copy or download the Supporting Zip from Web Age to the machine.

3.  Open the Supporting Zip using the Archive Manager by browsing to the location of the file and double-clicking the file.

4.  In the Archive Manager press the 'Extract' button to open the Extract options.

5.  Click in the 'Extract in folder' box and select 'Other' from the popup list to open a file browser.

6.  Double click the 'File System' on the left and the 'usr' directory in the list on the right to select this directory. Press the 'Open' button to select the 'usr' directory.

7.  Check that the 'usr' directory is listed in the 'Extract to folder' option and press the 'Extract' button.

8.  Close all open windows.

Contact Information

Brian Gabrielsen 610-206-0101 x101

Alice Sidorski 610-206-0101 x115

© 2007 LearnQuest