======== Install JDK, IBMJava118-SDK-1.1.8-4.0.i386.rpm ======== Suppose you want to download RPM to/root/RPMS and input the following command from the command line: Rpm-IVH/root/RPMS/IBMJava118-SDK-1.1.8-4.0.i386.rpm You must set the shell environment before using JDK correctly. Check the shell documentation to learn how to set up the environment. Bash ,] Therefore, the following lines are 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 make sure the changes take effect in the current command line, enter :.~ /. Bash_profile
========= Install the Web server (HTTP server) ============== The Web server must be installed on WebSphere Before the application server is installed. Download the 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 -- run the command to start installation and install it in the/opt/ibmihs/directory; 4: Start the server:/opt/ibmhttpserver/bin/apachectl start If an error occurs, the HTTP server cannot be started, Update the/opt/ibmhttpserver/CONF/httpd. conf file. Because I am running a single machine, So update the following line: servertype inetd to servertype standalone. ========= Netscape Browser Download ======================== : Http://browser.netscape.com/release Download 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 -- decompress to generate a directory Netscape-Installer Start installation, go to Netscape-installer, and see Netscape-Installer. Execute the command:./Netscape-installer; Start the Netscape Browser and point to http: // localhost/index.html, Check whether all settings and operations are normal. If it is normal, you should see a screen similar to Figure 1: Welcome Page of ibm http Server ======= Install and configure WebSphere Application Server ======== Like installing other software: 1: gzip-D was.cd.6100.trail.base.linux.ia32.tar.gz -- decompress Gzip 2: tar-xvf was.cd.6100.trail.base.linux.ia32.tar -- decompress the package to generate a was directory. after entering the package, you can see a green directory install. Execute this directory to install the package; 3: CD was -- enter the directory after pressurization 4:./install -- run the installation. Default installation directory:/opt/IBM/WebSphere/appserver 5. Start server: Enter/opt/IBM/WebSphere/appserver/bin, and execute the command:./startserver. Sh server1; 6. Stop the service: Enter/opt/IBM/WebSphere/appserver/bin, and run the command:./stopserver. Sh server1; 7. Start HTTP Server 8. Deploy Web Application Go to the webshere Console CD/opt/IBM/WebSphere/appserver 9. Port Number table View the was port file: /Opt/IBM/WebSphere/appserver/profiles/program rv01/config/cells/localhostnode01cell/nodes/localhostnode01/serverindex. xml At the beginning of serverindex. XML, you can see <Serverentries XMI: Id = "serverentry_1282196925196" servername = "server1" servertype = "application_server">
Servername = "server1" indicates that there is a service named server1 in was. Therefore, we use the command:./start server. Sh server1 when starting the service; How to deploy a program: Go to the Management Console http: // ip: (the Management Console port, V6 is 9060 by default)/admin/ Preparations: Linux IP username, password, and FTP port (21) and SSH port (22) Webspere management control port (V6, 9060), user name, password Websperehttp_transport port (V6, 9080) WebSphere installation directory (Start and Stop services)
|