LAB 2 - WebServer and Plugin
-
Upload
bandi-jayapal -
Category
Documents
-
view
225 -
download
0
Transcript of LAB 2 - WebServer and Plugin
-
8/6/2019 LAB 2 - WebServer and Plugin
1/15
RATNAM IT
Part 1: Install Web Server and plug-in
Part 2: Configure Web Server through Administrative Console
Part 1: Install IBM HTTP Server and Plug-in
1. Start a Windows Explorer session and navigate to C:\ WAS60PoT\Software.
2. Double click launchpad.bat to launch the GUI
3. In the launchpad wizard select the option to Launch the installation wizard for theIBM HTTP Server.
4. On the welcome screen click Next.
5. Review and accept the licensing terms for the product.
6. ClickNext.
-
8/6/2019 LAB 2 - WebServer and Plugin
2/15
RATNAM IT
7. Change the install directory toC:\IBMHTTPServer (Remove spaces from
directory name) and click Next.
8. Select the check box for a Typical install.
9. Click Next.
10. Keep both check boxes for running as a Windows Service selected. Check the boxfor Running as a specified user account. Enter the following values:
User name:
wsdemo.
Password: wsdemo1.
11. ClickNext.
-
8/6/2019 LAB 2 - WebServer and Plugin
3/15
RATNAM IT
12. On the installation summary page clickNext.
13. When installation is complete clickNext.
14. Keep the checkbox forPlugin installselected and clickFinish.
-
8/6/2019 LAB 2 - WebServer and Plugin
4/15
RATNAM IT
15. Unselect the checkbox for the Installation roadmap. The roadmap offers some
documentation and scenarios on the Plug-in installation. Click Next.
16. Review and accept the licensing agreement. ClickNext.
17. Make sure your system passes the prerequisites test and selectNext.
18. Select the radio button for theIBM HTTP Server V6.
19. ClickNext.
-
8/6/2019 LAB 2 - WebServer and Plugin
5/15
RATNAM IT
20. Select the option for aremoteinstallation. This is required for the special case ofIHSas an unmanaged server for remote administration
21. ClickNext.
22. Change the install directory toC:\WebSphere\Pluginsand clickNext.
23. On this page you must enter the location for the IBM HTTP Server configuration file.The
location should be C:\IBMHTTPServer\conf\httpd.conf and click Next.
-
8/6/2019 LAB 2 - WebServer and Plugin
6/15
RATNAM IT
24. Ensure the Web Server definition name iswebserver1
25. clickNext.
26. Keep the default location for the Web Server plugin-cfg.xml file and clickNext.
27. Enterwasv6potfor Host name
28. ClickNext
29. Review the installation summary and clickNext.
30. ClickNextagain to begin the installation of the plug-in.When installation completesclick
Next.
31. This will launch a browser with more information on the plug-in and configuring aWebServer. You can close this for now.
32. ClickFinishto close the installation wizard.
33. Close the Launchpad.
34. You have completed the installation of IBM HTTP Server V6 and the WebSphereplug-
in for this web server.
-
8/6/2019 LAB 2 - WebServer and Plugin
7/15
RATNAM IT
35. OpenWindows Servicesfrom the Quick Launch bar
36. Select the IBM HTTP Server 6.0
37. Right click and click Start.
38. Open browser and navigate to http://localhost:80/snoop
39. This should open the snoop servlet through the configured external web
server.
http://localhost:90/snoophttp://localhost:90/snoophttp://localhost:90/snoop -
8/6/2019 LAB 2 - WebServer and Plugin
8/15
-
8/6/2019 LAB 2 - WebServer and Plugin
9/15
RATNAM IT
Part 2: Configure Web Server through Administrative Console
1. Open an Internet Explorer window and navigate to
http://localhost:9060/ibm/console.
2. Log in as wsdemo (or any other name of your choice).NOTE: Since security is not yet enabled, this login screen is for creating a unique workspace
for you.
3.Expand System Administration in the Navigation pane
4.Click on Nodes
5.Click on Add Node
http://localhost:9060/ibm/consolehttp://localhost:9060/ibm/consolehttp://localhost:9060/ibm/consolehttp://localhost:9060/ibm/console -
8/6/2019 LAB 2 - WebServer and Plugin
10/15
RATNAM IT
6. SelectUnmanaged Node
7. Click Next
8.Fill in the information as shown in the picture below Name: node2
Host Name: wasv6pot
9. ClickOK
10. ClickSave
-
8/6/2019 LAB 2 - WebServer and Plugin
11/15
RATNAM IT
11. Make sureSynchronize changes with Nodesis selected
12. ClickSave
13. ExpandServersin the Navigation pane and then chooseWeb Servers.
14. Select the option to create aNewWeb Server in the middle of the screen.
15. SelectNode2. Provide a server name ofwebserver1and clickNext.
-
8/6/2019 LAB 2 - WebServer and Plugin
12/15
RATNAM IT
16. On the next screen you will need to fill out the following values:Type: IHSPort: 80
Installation Path: C:\IBMHTTPServer
Service Name: IBMHTTPServer6.0
Plug-in Installation location: C:\WebSphere\Plugins
17. ClickNext.
18. Fill in the following values.Port: 8008User ID: wsdemo Password, enter wsdemo1
-
8/6/2019 LAB 2 - WebServer and Plugin
13/15
RATNAM IT
19. ClickNext
20. Select the IHS Server template and clickNext.
21. Review the summary and clickFinish.
-
8/6/2019 LAB 2 - WebServer and Plugin
14/15
RATNAM IT
22. Save the changes to the master configuration by clickingSave.
23. Select the checkbox toSynchronize changes with Nodesand click theSavebutton.
24. Now we need to generate the password file for the IHS Administrative client.
25. Open a command window and browse toC:\IBMHTTPServer\bin
26. Enter the command htpasswd.exe -bc C:\IBMHTTPServer\conf\admin.passwdwsdemo wsdemo1 (should be entered on one line with a space between wsdemoand wsdemo1)
27. OpenWindows Servicesfrom the Quick Launch bar
28. Start the IBM HTTP Administration 6.0 Service
-
8/6/2019 LAB 2 - WebServer and Plugin
15/15
RATNAM IT
NOTE: The Web server can now be managed from the Administrative Console.
Management functions include start, stop, and administer. The full management
function is available for the IBM HTTP Server.
29. Open the Administrative Console
30. Expand Servers and then choose Web Servers.
31. Select webserver1 and try starting and stopping the web server.
32. Click on the webServer1 link.
33. Examine all the web server configuration properties under AdditionalProperties.
34. Click on Configuration File, to view the web server configuration file (httpd.conf)