======== Installation jdk,ibmjava118-sdk-1.1.8-4.0.i386.rpm ======== Suppose you download rpm to/root/rpms and enter from the command line: rpm-ivh/root/rpms/ibmjava118-sdk-1.1.8-4.0.i386.rpm You must set up your shell environment before you use the JDK properly. Examine the documentation about the shell to learn how to set up the environment. I use bash, " As a result, the following lines have been added to the/root/.bash_profile file: java_home=/usr/jdk118 Path= $PATH:/usr/jdk118/bin Classpath= $CLASSPATH:/usr/jdk118/lib/classes.zip Export PATH java_home CLASSPATH
To ensure that the changes take effect on the current command line, enter:. ~/.bash_profile
======== Install Web server (HTTP server) ========== The WEB server must be installed prior to installing WebSphere application server.
Download installation package: Ihs.6010.linux.ia32.tar 1:TAR-XVF Ihs.6010.linux.ia32.tar---generate a directory IHS; 2:CD IHS--See a directory install; 3:./install--The execution of the command to begin installation, installed into the/opt/ibmihs/directory; 4: Start the server:/opt/ibmhttpserver/bin/apachectl start
If you see an error saying that HTTP Server cannot start, Try to update the/opt/ibmhttpserver/conf/httpd.conf file. Because I am running a stand-alone machine, So the following line: ServerType inetd, update to ServerType standalone
=========netscape Browser Download ============== Download Address: Http://browser.netscape.com/release Download Package netscape-i686-pc-linux-gnu-sea.tar.gz Gzip-d netscape-i686-pc-linux-gnu-sea.tar.gz TAR-XVF netscape-i686-pc-linux-gnu-sea.tar.gz--decompression generates a directory Netscape-installer Start installation, enter Netscape-installer, see Netscape-installer, execute command:./netscape-installer;
Start the Netscape browser and point to http://localhost/index.html, Check setup and run to see if everything is OK. If normal, you should see a picture like Figure 1: The Welcome page for IBM HTTP Server
======== Install and configure WebSphere application server======== The same as installing other software: 1:gzip-d was.cd.6100.trail.base.linux.ia32.tar.gz--Decompression gzip 2:TAR-XVF Was.cd.6100.trail.base.linux.ia32.tar--decompression to generate a was's directory, go in and see a green directory install right, the implementation of the directory is installed; 3:CD was--into the pressurized catalogue 4:./install--performing the installation. Default installation directory:/opt/ibm/websphere/appserver 5. Start server: Enter/opt/ibm/websphere/appserver/bin, execute command:./startserver.sh Server1; 6. Stop service: Enter/opt/ibm/websphere/appserver/bin, execute order:./stopserver.sh Server1; 7. Start HTTP Server 8. Deploying Web Application into the Webshere console. Cd/opt/ibm/websphere/appserver 9. Port Number Table To view the was port file: /opt/ibm/websphere/appserver/profiles/appsrv01/config/cells/localhostnode01cell/nodes/localhostnode01/ Serverindex.xml
At the beginning of the serverindex.xml you can see <serverentries xmi:id= "serverentry_1282196925196" Servername= "Server1" servertype= "Application_server" > The Servername= "Server1" represents a service named Server1 in was, so we started the service with the command:./start server.sh Server1;
How to deploy a program: Enter Admin Console http://ip: (Admin console port, V6 defaults to 9060)/admin/ Preparatory work: Linux IP username, password and FTP port (21) and SSH port (22) Webspere Management control port (v6,9060), username, password Websperehttp_transport Port (v6,9080) installation directory for WebSphere (start and stop service)
|