How to install Websphere?
Installation steps:
1- Installation Manager [assume found in /root/WAS/IM folder]
2- Websphere Application Server [/root/WAS/WAS folder]
3- Webserver (HTTP) Server [/root/WAS/webserver folder]
4- Webserver Plugins [/root/WAS/webserver-plugin folder]
Notes:
- Default instalation path is /opt/IBM
- if the packages inside folders are zip just run command--> unzip <packageName>.zip
Install "Installation Manager"
cd /root/WAS/IM
cd tools
##./imcl install <PackageName>, in our case <PackageName>=com.ibm.cic.agent
./imcl install com.ibm.cic.agent -repositories /root/WAS/IM/repository.config -acceptLicense -showProgress
Now, Installation Manager should be found on /opt/IBM/InstallationManager
To install Websphere Application Server
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl -listAvailablePackages -repositories /root/WAS/WAS/repository.config
the output of the previous command is the <PackageName> that we need to install
./imcl install <PackageName> -repositories /root/WAS/WAS/repository.config -acceptLicense -showProgress -record install_was.xml
To Install WebServer
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl -listAvailablePackages -repositories /root/WAS/webserver/repository.config
the output of the previous command is the <PackageName> that we need to install
./imcl install <PackageName> -repositories /root/WAS/webserver/repository.config -acceptLicense -showProgress -properties user.ihs.httpPort=80 -record install_webserver.xml
To Install WebServer-Plugin
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl -listAvailablePackages -repositories /root/WAS/webserver-plugin/repository.config
the output of the previous command is the <PackageName> that we need to install
./imcl install <PackageName> -repositories /root/WAS/webserver-plugin/repository.config -acceptLicense -showProgress
after install plugins we should define it inside the webserver
cd /opt/IBM/WebSphere/Plugins/bin/65bits
get the plugin names normally it is xxx.so
then
cd /opt/IBM/HTTPServer/conf
nano httpd.conf
under loadModule section define plugin name with its path
To uninstall items just use the next command
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl uninstall <PackageName>
after uninstall packages you can remove its folder by run the next command
rm -rf *
No comments:
Post a Comment