Friday, November 19, 2010

Installing Websphere Application Server 7.0 in Silent Mode on Linux

Installing Websphere Application Server 7.0 in Silent Mode on Linux

Step 1) Download Websphere Installer from the official IBM Site
http://www.ibm.com/developerworks/downloads/ws/was/
There are two types of installers, BASE Edition and Network Deployment.Only Base Edition is available for trail. We can only create standalone servers with that.Network Deployment Installer comes with additional fetaures like Clustering. You can check the official Website for more details.
Step 2) Extract the installer
tar -pxvzf was.cd.7007.trial.base.opt.linux.ia32.tar.gz
Step 3) Create a responsefile.base.txt with the following content.
-OPT allowNonRootSilentInstall=”true”
-OPT disableOSPrereqChecking=”true”
-OPT disableNonBlockingPrereqChecking=”true”
-OPT installType=”installNew”
-OPT feature=”noFeature”
-OPT installLocation=”/home/apps/ebsi/fkmd/WAS/AppServer”
-OPT PROF_enableAdminSecurity=”true”
-OPT PROF_adminUserName=wasadmin
-OPT PROF_adminPassword=wasadmin
-OPT PROF_profileName=AppSrv01
-OPT PROF_hostName=localhost
-OPT PROF_nodeName=node01 -
-OPT PROF_defaultPorts=”true”
-OPT traceLevel=INFO
Step 4) Install with the following options
./install –options responsefile.base.txt -silent
Check the following location to verify that the installation went fine.
user_home/waslogs
Normally it takes 10-15 minutes for the installation.
Step 5) Start the Server
$ pwd
/WAS/AppServer/bin
$ ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/WAS/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 30162
Step 6) Access the console with credentials wasadmin/wasadmin