知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
[root@wcs ~]# /opt/IBMIHS/bin/apachectl -k start -f /opt/IBM/WebSphere/CommerceServer70/instances/demo/httpconf/httpd.conf [root@wcs ~]# su - wcuser [wcuser@wcs bin]$ pwd /opt/IBM/WebSphere/AppServer/profiles/demo/bin [wcuser@wcs bin]$ ./startServer.sh server1 $ grep error /opt/IBM/WebSphere/AppServer/profiles/demo/logs/server1/startServer.log | wc -l 0
確認連接埠都工作正常
# netstat -nlp | grep "0 0.0.0.0:" # netstat -nlp | egrep "httpd|java" [root@wcs ~]# netstat -nlp | egrep "httpd|java" | egrep "0 192.168.3.198:|0 0.0.0.0:"
https://wcs.example.com:8002/adminconsole
https://wcs.example.com:8004/orgadminconsole
IBM Bug Oracle預設連接埠是50000,更改oralce連接埠密碼1521
# vim /opt/IBM/WebSphere/CommerceServer70/instances/demo/xml/demo.xml # vim /opt/IBM/WebSphere/CommerceServer70/instances/demo/xml/demo.xml.bak
[root@wcs ~]# su - wcuser [wcuser@wcs ~]$ cd /opt/IBM/WebSphere/CommerceServer70/bin/ [wcuser@wcs bin]$ ./config_ant.sh -buildfile /opt/IBM/WebSphere/CommerceServer70/components/common/xml/enableFeature.xml -DinstanceName=demo -DfeatureName=foundation -DdbUserPassword=passw0rd [wcuser@wcs bin]$ egrep "error|Error|exception|Exception" ../instances/demo/logs/enablefoundation_2011.05.31_15.05.32.871.log
./config_ant.sh -buildfile /opt/IBM/WebSphere/CommerceServer70/components/common/xml/enableFeature.xml -DinstanceName=demo -DfeatureName=management-center -DdbUserPassword=passw0rd egrep "error|Error|exception|Exception" ../instances/demo/logs/enablemanagement-center_2011.05.31_15.49.35.040.log https://wcs.example.com:8000/lobtools
./config_ant.sh -buildfile /opt/IBM/WebSphere/CommerceServer70/components/common/xml/enableFeature.xml -DinstanceName=demo -DfeatureName=store-enhancements -DdbUserPassword=passw0rd [wcuser@wcs bin]$ egrep "error|Error|exception|Exception" ../instances/demo/logs/enablestore-enhancements_2011.05.31_16.28.23.659.log
[wcuser@wcs bin]$ ./checkEnablementStatus.sh -DinstanceName=demo -DdbUserPassword=passw0rd
所有版本都應該是 7.0.0.11
/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh /opt/IBM/WebSphere/Plugins/bin/versionInfo.sh /opt/IBMIHS/bin/versionInfo.sh