Tuesday, November 25, 2008

Installation 5/6 - JEUS installation

Introduction to JEUS
JEUS is an abbreviation of Java Enterprise User Solution. It is the platform for J2EE applications. It acquired J2EE certificate. That means it fully implemented all required J2EE specs. Similar to WebLogic and WebSphere, you can think it of Java WAS server. For more detail information, please visit TmaxSoft's JEUS homepage.
Basically, ProFrame is a development framework which will be run on WAS server. That's why we need to install JEUS first. Besides JEUS, you can use WebLogic to run ProFrame. In this document, we will use JEUS for Java WAS.
Moreover, JEUS 5 will be used since ProFrame 4 Java which will be used in this document is optimized with JEUS 5. To download JEUS 5, please visit TmaxSoft's technet site.


JEUS installation
Since our Ubuntu doesn't have GUI, let's install in console mode. In the same folder of the JEUS installer, please input the following command.

$ ./jeus50_unix_generic_en.bin

As you can see the jeus50_unix_generic_en.bin is the JEUS installer.

The installer will ask for license agreement. Then, it will ask for the installation path. In this document, we will install on /root/jeus5. Then, input the JDK path which we install the previous section. Then, input the JEUS administrator password.


$PATH variable configuration
Once the installation process is done successfully, we need to add the following paths to $PATH variable.
  • /root/jeus5/bin
  • /root/jeus5/lib/system
  • /root/jeus5/webserver/bin
To do this, please open the /root/.bashrc file. Then, add the following code into at the end of it.

PATH = /root/jeus5/bin:/root/jeus5/lib/system:/root/jeus5/webserver/bin:$PATH
export PATH

Then restart the system. Since we add the PATH in the .bashrc file in root folder. To enable the configuration, log in as root account is required.


Verifying JEUS installation
Once you restart the system, let's start JEUS server. In the linux screen please run the following command which will start the JEUS service.

$ jeus

Then, open the another screen by pressing Ctrl+F2 or F3 key. You can log in the system and Input the following command to start the jeus administrator.

$ jeusadmin ubuntu8041

Then, it will ask you log in information. When it comes to the "ubuntu8041", it is the host name of your system. You can check this name in your command prompt screen. The id is "administrator", and the password is what you entered as password when you install the JEUS. To start the JEUS server, please input "boot". To stop, input "down". To get out of the JEUS admin, input "exit".


JEUS webadmin
JEUS provides webadmin allowing remote access to manage the resources and settings of the JEUS server. Once you successfully start the JEUS service, please acess the below URL using your browser.

http://{IP address of your system}:9744/webadmin

It will ask you the log in information. You can log in by inputting same information as jeusadmin. Then, we can think all installation process is done well.

No comments: