This chapter is designed to help you install Microsoft Internet Information Server for Windows NT quickly and easily.
All you need to do is connect your Windows NT Serverbased computer to the Internet or your intranet (your local or wide area network), install Microsoft Internet Information Server software, and point the information server to your home directory. This chapter tells you how.
Installing Microsoft Internet Information Server is as simple as starting the Setup program on the compact disc. If you already have the necessary Internet or intranet connection, you can accept all of the default settings during setup and then add your HyperText Markup Language (HTML) content files to the \Wwwroot directory. Your files will be immediately available to users. The default setup configurations are suitable for many publishing scenarios without any further modifications.
This section defines the installation requirements and explains how to:
Microsoft Internet Information Server requires:
Before installing Microsoft Internet Information Server, you must configure the Windows NT Server networking component so that your server can operate on the Internet. You may want to also enhance the Windows NT Server default security settings and implement other Windows NT security measures to prevent Internet users from tampering with your computer or network. For more information about security, see Chapter 5, Securing Your Site Against Intruders.
Use the Network applet in Control Panel for all configuration tasks mentioned in this section.
An alternative to DNS is to use a HOSTS file. On intranets an alternative to WINS Servers is to use an LMHOSTS file. Make the appropriate Advanced TCP/IP Configuration setting for this servers name resolution.
Several steps can be taken to enhance the security of a computer connected to the Internet. For further information on these checklist topics, see Chapter 5, Securing Your Site Against Intruders.
The Windows NT Server compact disc contains the \Inetsrv directory. From that directory use Inetstp.exe to install Microsoft Internet Information Server and all components, if you did not install Microsoft Internet Information Server while setting up Windows NT.
Before installing the Internet Information Server services, disable any other Internet services.
If your server has another version of File Transfer Protocol (FTP), gopher, or WorldWide Web (WWW) services installed (such as the FTP service included with Windows NT Server or the European Microsoft Windows Academic Centre [EMWAC] services included in the Windows NT Resource Kit), such services must be disabled before you install the Microsoft Internet Information Server services. See the documentation for each service to see how to disable it.
During the Setup process, a screen will appear, asking you whether you want to disable access by the Guest account to your FTP server.
It is recommend that you select Yes to protect the contents of your system. If you choose the No option and enable guest access to your server, all existing files and any new files will be available to the Guest account through FTP. You will need to disable access to each file or directory individually to prevent unauthorized access. Disabling FTP access for the Guest account will not affect the IUSR_computername account that is created during Setup.
To install the Internet Information Server services, you must be logged on to the server with administrator privileges. Administrator privileges on the server are also required to configure the services remotely by using Internet Service Manager or HTML Administrator.
By default, Internet Information Server is installed from the compact disc to C:\winnt\system32\Inetsrv. If you change the default, be sure to enter a fully qualified path name, including a drive letter. Relative paths and paths without drive letters can be misinterpreted by Setup.
To provide for separate installation of the administration tools, Microsoft Internet Information Server includes the Internet Service Manager installation directory, \Admin. To install this component, run Setup.exe from the appropriate directory.
If you remove Internet Information Server, you will be unable to review Internet Information Server events in the Event Log.
The Remove All button in Setup removes all Internet Information Server program files but does not remove the directory structure or any content or sample files. This setting protects your content files from unintentional deletion. If you want to remove these directories and files after completing the Remove All process, use the Windows NT Explorer.
If there are data sources referring to 16-bit Open Data Base Connectivity (ODBC) drivers on the system, Setup will detect them and ask you if you want to convert them to 32-bit. If you choose Yes, these data sources will be converted to refer to the 32-bit ODBC drivers.
Once you have your Internet connection and have configured Windows NT Server, you can install Microsoft Internet Information Server.
While setting up Windows NT Server, you will be asked if the computer is to be used as a server on the Internet.
To install the Internet Information Server services, you must be logged on with administrator privileges. In addition, to configure the Internet Information Server services by using the Internet Service Manager, your user account must be a member of the Administrators group on the target computer.
2. In Windows NT Explorer or at the command prompt, change to the drive containing the compact disc.
3. Start Setup:
5. All of the following items are selected for installation by default. If you do not want to install a particular item, click the box next to it to clear it.
World Wide Web Service creates a WWW publishing server.
Gopher Service creates a gopher publishing server.
FTP Service creates an FTP publishing server.
ODBC Drivers and Administration installs Open Data Base Connectivity (ODBC) drivers. These are required for logging to ODBC files and for enabling ODBC access from the WWW service.
Help and Sample files installs online Help and sample HyperText Markup Language (HTML) files.
Microsoft Internet Explorer installs the Web browser, Microsoft Internet Explorer.
You can use the Setup program later to add or remove components. Setup can also be used to remove all Internet Information Server components.
Accept the default directories for the publishing services you have installed, or change the directories.
9. When prompted to create the service directories (Wwwroot, Gophroot, and Ftproot by default), click Yes.
10. The Create Internet Account dialog box appears. This is the account used for all anonymous access to the Internet Information Server. You should enter a password and confirm the password for this account. Choose OK.
11. Setup copies all remaining Internet Information Server files.
12. If the ODBC Drivers and Administration option box was selected, the Install Drivers dialog box appears.
Setup completes copying files.
The preceding steps are all that is required for a simple installation. You are now ready to publish on the Internet or your intranet. There is no need to start Internet Service Manager unless you want to make advanced configuration changes. (If so, refer to Chapter 3, Configuring and Managing Your Internet Information Server.) Use the Services applet in Control Panel to confirm successful installation of the World Wide Web publishing service.
If you are using Microsoft Internet Information Server on a network you can copy the contents of the \Inetsrv directory on the Windows NT Server compact disc to a directory on your network and perform unattended installations over the network from that directory. (You can start an unattended setup from the compact disc itself; however, only the default configuration can be installed in this case.) This is useful for installing several servers at your site or to provide a simple over-the-network installation process for Internet Explorer users.
In the \Inetsrv directory, there is an Unattend.txt file. Unattend.txt is a sample configuration file used by the program for unattended installation. You modify the values in the file to configure setup. In general, the value 1 represents TRUE and the value 0 represents FALSE. It is suggested that you copy Unattend.txt to the directory containing the Setup.exe you will use, then modify it to meet your installation requirements.
To start unattended mode setup you must use the command prompt. Change to the directory containing both Setup.exe and Unattend.txt and type
setup -b unattend.txt
where Unattend.txt is the file you have modified. See Unattend.txt on the compact disc for more information about unattended setup.
Setup automatically creates an anonymous account called IUSR_computername. This account has a randomly generated password and privilege to log on locally. On domain controllers, this account is added to the domain database. This process is fully automatic. After installation is complete, you can change the user name and password for this account from the Service property sheet in Internet Service Manager, as long as the new user name and password matches the same user name and password in the Windows NT User Manager.
The WWW, FTP, and gopher services use the IUSR_computername user account by default when anonymous access is allowed. To set the rights for ISUR_computername, use User Manager. To set file permissions on NTFS drives for ISUR_computername, use the Windows NT Explorer. To change the account used for anonymous logons for any of the Internet Services, select the Service Properties option from the Properties menu in Internet Service Manager.
Now that Microsoft Internet Information Server is installed and running, you are ready to publish on the Internet or your intranet. Providing information with Internet Information Server is easy. If your files are in HTML format, just add them to the appropriate home directory. For example, if you are using the WWW service, place the files in the \Wwwroot directory.
For more extensive information on creating and publishing content files, see Chapter 8, Publishing Information and Applications. Note that you can also create and publish highly interactive systems by writing programs using ISAPI.
The FTP, gopher, and WWW services cannot publish from redirected network drives (that is, from drive letters assigned to network shared directories). To use network drives, you must use the server and share UNC name (for example, \\Computername\Sharename\Wwwfiles). If you specify a user name and password to connect to a network drive, all requests from remote users to access that drive must use the user name and password specified, not the anonymous ISUR_computername account or another account you may have specified.
Consider security issues carefully when using this feature. Remote users could possibly make changes to a network drive by using the permissions of the user name specified to connect to the network drive.
By default, Internet Information Server uses a file named Default.htm as the home page for the various samples, tools, and demonstrations that come with the product. If the <wwwroot> directory of your WWW server already contains a file named Default.htm when you install Internet Information Server, your file will not be overwritten with our file. As a result, you will not have immediate access to our sample home page and the links it provides when you run Internet Information Server.
In this case, to view our version of Default.htm and the links it provides.type the following URL in the Internet Explorer Address box.
http://computername/samples/default.htm
This command loads the file Default.htm from the \Wwwroot\Samples directory on your Internet Information Server.
You can also rename or move your version of Default.htm to a different directory and then copy the file Default.htm from \Samples. This approach will make our version of Default.htm your servers home page.
You can test your installation by using Internet Explorer to view the files in your home directory.
2. Start Internet Explorer on a computer that has an active connection to the Internet. This computer can be the server you are testing, although using a different computer is recommended.
3. Type in the Uniform Resource Locator (URL) for the home directory of your new server.
http://www.company.com/homepage.htm
then press the ENTER key. The home page should appear on the screen.
2. Start Internet Explorer.
3. Type in the Uniform Resource Location (URL) for the home directory of your new server.
http://admin1/homepage.htm
then press the ENTER key. The home page should appear on the screen.
© 1996 by Microsoft Corporation. All rights reserved.