HOME
Install IBM IHS
- Make users and groups
mkgroup http
mkuser groups='http' home='/home/http' http
lsuser http
lsgroup http
passwd http- Create /opt/IBM and /usr/IBM file systems
Here is /usr/IBM example that creates a 20 GB file system...
mklv -y fslv01 -t jfs2 appvg 80 hdisk1
crfs -v jfs2 -d fslv01 -m /usr/IBM -A yes -p rw -a agblksize=4096 -a isnapshot=no
mount /usr/IBM- Install Firefox
cd /opt/IBM
scp -r root@myhost:/export/Firefox.tar.gz .
gunzip Firefox.tar.gz; tar xvf Firefox.tar
rm Firefox.tar
cd /opt/IBM/Firefox
rpm -Uvh *.rpm
installp -acQNgXY -d /opt/IBM/Firefox Firefox.base.rte
export BROWSER=/usr/bin/firefoxTypical output...
Name Level Part Event Result ------------------------------------------------------------------------------- Firefox.base.rte 3.6.25.2 USR APPLY SUCCESS Firefox.base.rte 3.6.25.2 ROOT APPLY SUCCESS- Install Installation Manager...
cd /opt/IBM
scp -r root@myhost:/export/InstallationManager.tar.gz .
gunzip InstallationManager.tar.gz; tar xvf InstallationManager.tar
rm InstallationManager.tar- Unarchive IHS install media...
mkdir /opt/IBM/IHS
cd /opt/IBM/IHS
scp -r root@myhost:/export/WebSphere_Supplements.tar.gz .
gunzip WebSphere_Supplements.tar.gz; tar xvf WebSphere_Supplements.tar
rm WebSphere_Supplements.tar- Add IHS to repository
- Run Installation Manager in console mode...
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl -c- Select...
P. Preferences | 1. Repositories | D. Add Repository
- For repository location...
/opt/IBM/IHS/Websphere_Supplements/repository.config
- Save changes and exit...
A. Apply changes | R. Return to main menu | X. Exit Installation Manager
- Confirm repository is available...
# ./imcl listAvailablePackages -repositories /opt/IBM/IHS/Websphere_Supplements/repository.config
com.ibm.websphere.APPCLIENT.v80_8.0.0.20110503_0200
com.ibm.websphere.IHS.v80_8.0.0.20110503_0200
com.ibm.websphere.PLG.v80_8.0.0.20110503_0200
com.ibm.websphere.PLUGCLIENT.v80_8.0.0.20110503_0200
com.ibm.websphere.WCT.v80_8.0.0.20110503_0200- Install IHS
mkdir /usr/IBM/IMShared cd /opt/IBM/InstallationManager/eclipse/tools ./imcl install com.ibm.websphere.IHS.v80_8.0.0.20110503_0200 \ -repositories /opt/IBM/IHS/Websphere_Supplements/repository.config \ -installationDirectory /usr/IBM/HTTPServer \ -sharedResourcesDirectory /usr/IBM/IMShared \ -log /tmp/imcl.log \ -acceptLicense \ -properties user.ihs.httpPort=80- Chown owner to http
cd /usr/IBM/
chown http /usr/IBM/HTTPServer
chgrp http /usr/IBM/HTTPServer
find /usr/IBM/HTTPServer -name \* -exec chown http {} \;
find /usr/IBM/HTTPServer -name \* -exec chgrp http {} \;- Edit...
/usr/IBM/HTTPServer/conf/admin.conf
...and set...
Listen 8008
User http
Group http
ServerName myserver:8008- Verify install
/usr/IBM/HTTPServer/bin/versionInfo.sh
- Start web server
/usr/IBM/HTTPServer/bin/apachectl start
sleep 5
ps -ef | grep http- Install plugins
cd /opt/IBM/InstallationManager/eclipse/tools ./imcl install com.ibm.websphere.PLG.v80_8.0.0.20110503_0200 \ -repositories /opt/IBM/IHS/Websphere_Supplements/repository.config \ -installationDirectory /usr/IBM/WebSphere/Plugins \ -sharedResourcesDirectory /usr/IBM/IMShared \ -log /tmp/imcl.log \ -acceptLicenseTo uninstall...
imcl uninstallAll -installationDirectory /usr/IBM/WebSphere/Plugins
- Create archive directory with IHS v8 fix packs
cd /opt/IBM/IHS
gunzip FIXPACKS.tar.gz; tar xvf FIXPACKS.tar
rm FIXPACKS.tar- Add IHS fix packs to repository
- Run Installation Manager in console mode...
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl -c- Select...
P. Preferences | 1. Repositories | D. Add Repository
- For repository location...
/opt/IBM/IHS/FixPacks/repository.config
- Save changes and exit...
A. Apply changes | R. Return to main menu | X. Exit Installation Manager
- Confirm repository is available...
# ./imcl listAvailablePackages -repositories /opt/IBM/IHS/FixPacks/repository.config
com.ibm.websphere.APPCLIENT.v80_8.0.6.20130328_1645
com.ibm.websphere.APPCLIENTILAN.v80_8.0.6.20130328_1645
com.ibm.websphere.IHS.v80_8.0.6.20130328_1645
com.ibm.websphere.IHSILAN.v80_8.0.6.20130328_1645
com.ibm.websphere.PLG.v80_8.0.6.20130328_1645
com.ibm.websphere.PLGILAN.v80_8.0.6.20130328_1645
com.ibm.websphere.PLUGCLIENT.v80_8.0.6.20130328_1645
com.ibm.websphere.PLUGCLIENTILAN.v80_8.0.6.20130328_1645- Install fix packs
/usr/IBM/HTTPServer/bin/apachectl stop cd /opt/IBM/InstallationManager/eclipse/tools ./imcl install com.ibm.websphere.IHS.v80_8.0.6.20130328_1645 \ -repositories /opt/IBM/IHS/FixPacks/repository.config \ -installationDirectory /usr/IBM/HTTPServer \ -sharedResourcesDirectory /usr/IBM/IMShared \ -log /tmp/imcl.log \ -acceptLicense \ -properties user.ihs.httpPort=80 ./imcl install com.ibm.websphere.PLG.v80_8.0.6.20130328_1645 \ -repositories /opt/IBM/IHS/FixPacks/repository.config \ -installationDirectory /usr/IBM/WebSphere/Plugins \ -sharedResourcesDirectory /usr/IBM/IMShared \ -log /tmp/imcl.log \ -acceptLicense /usr/IBM/HTTPServer/bin/apachectl start- Chown owner to http
chown http /usr/IBM/HTTPServer
chgrp http /usr/IBM/HTTPServer
find /usr/IBM/HTTPServer -name \* -exec chown http {} \;
find /usr/IBM/HTTPServer -name \* -exec chgrp http {} \;- To validate, open index page in browser
- Set password
cd /usr/IBM/HTTPServer/bin
htpasswd -b /usr/IBM/HTTPServer/conf/admin.passwd HTTPADMIN HTTPADMIN- Create key db and self-signed cert
cd /usr/IBM/HTTPServer/bin ./gskcapicmd -keydb \ -create \ -db /usr/IBM/HTTPServer/ihsserverkey.kdb \ -pw password \ -type cms \ -expire 1000 \ -stash ./gskcapicmd -cert \ -create \ -db /usr/IBM/HTTPServer/ihsserverkey.kdb \ -pw password \ -size 1024 \ -dn "CN=myhost,OU=IHS,ST=NJ,C=US" \ -label HTTPCert \ -default_cert yes \ -expire 1000- Edit...
/usr/IBM/HTTPServer/conf/
...and set...
LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
Listen 443
<VirtualHost *:443>
SSLEnable
</VirtualHost>
KeyFile /usr/IBM/HTTPServer/ihsserverkey.kdb
SSLDisable- Restart http server...
/usr/IBM/HTTPServer/bin/apachectl restart
- Test secure connection...