Computer Network Technology and Application
Chapter 27 Network Technology Application Examples
Chapter 27 Network Technology Application Examples (2)
1. Web service
In this example, it mainly introduces how to use IIS to set up a Web server in Windows Server 2003.
Internet Information Server-IIS is the core of setting up web server in Windows series server operating system, and is the basic service platform for setting up web server.
(1) Install IIS
In Windows Server 2003, IIS is not installed by default, so after installing Windows Server 2003, you need to install IIS separately.This example installs using Add or Remove Roles in the Manage Your Server wizard.Specific steps are as follows.
①Click "Start" → "Administrative Tools" → "Manage Your Server" to enter the "Manage Your Server" window.
②Click "Add or Remove Roles" to enter the "Server Roles Window".
③Select "Application Server (IIS, ASP.NET)", and click the "Next" button to enter the "Application Server Options" window.
④Select the "Enable ASP.NET" option, click "Next" to enter the "Selection Summary" window, and click "Next".
⑤The system will prompt to insert the WindowsServer 2003 installation disk, after the CD-ROM is inserted into the system disk, click the "OK" button to continue.
⑥The system starts to install and configure the program, and displays the status of "Installing Internet Information Services", until a window pops up, the system prompts "This server is now an application server", click the "Finish" button to complete the installation process.
(2) Configure IIS
To use Windows Server 2003 to build a Web server, you need to configure IIS to work properly.
After IIS is installed, the default home directory is located at "C:\Inetpub\wwwroot", and web pages can be stored here in the future. Of course, you can re-designate the home directory.
① Click the "Start" → "Administrative Tools" → "Internet Information Services (IIS) Manager" command to open the IIS Manager.
② Click the "" button in the toolbar of "Internet Information Service" to start the site, click the "" button to stop the site, and click the "" button to pause the site.
③ Right-click the "Default Website" node, select the "Properties" command in the pop-up shortcut menu, open the "Default Website Properties" dialog box, and select the "Website" tab.
④In the "Website" tab, you can set the IP address and TCP port of the site.
⑤ Select the "Main Directory" tab.In the "Main Directory" tab, you can set the main directory of the website. The default "Local Path" is "C:\Inetpub\wwwroot". When the user visits the website, the service program will be mapped to the web files in this directory.
⑥ Make corresponding configurations in other tabs, for example, in the "Service" tab, you can add or delete default documents or adjust the order of documents.
After completing the corresponding configuration above, put the Web program in the "C:\Inetpub\wwwroot" directory and you can access it through the HTTP address (http://127.0.0.1).
2.FTP service
The FTP service can not only facilitate file transfer, but also serve as a platform for exchanging data and information within the organization.
In this example, taking the Windows Server 2003 operating system as an example, the method and steps of setting up an FTP server are introduced.Before configuring the FTP service, make sure that IIS has been installed correctly.
(1) Install the FTP service program
By default, Windows Server 2003 does not install the FTP server module when installing IIS, so the FTP service program needs to be installed.
① Double-click the "Add or Remove Programs" icon in the "Control Panel", in the pop-up dialog window, click the "Add/Remove Windows Components" button to open the "Windows Components Wizard" dialog box; click to select the "Application Server" list option, and click the "Details" button.
②In the pop-up "Application Server" dialog box, select "Internet Information Services (IIS)", and then click the "Details" button to pop up the "Internet Information Services (IIS)" dialog box, select "File Transfer Protocol (FTP) Service" and click the "OK" button.Start to install the FTP information service.
After completing the FTP file transfer protocol, a default FTP site will be automatically added in Internet Information Services.
③ Right-click "Default FTP Site", and select the "Properties" command in the pop-up shortcut menu to open the "Default FTP Site Properties" dialog box.
④ In each tab, you can configure according to actual needs, for example, in "FTP site identification", change the site name, TCP port, connection limit, etc.; in the "Security account" tab, you can set whether to "allow anonymous connect".
(2) Create an FTP server
The FTP server automatically established by IIS may not meet the requirements, and an FTP server can be re-established as needed.
① Right-click "FTP Site", select the "New/FTP Site" command from the pop-up shortcut menu, open the "FTP Site Creation Wizard" dialog box, and click the "Next" button.
②In the pop-up "FTP Site Description", enter the site name, such as "Data FTP", and click the "Next" button.
Open the "IP Address and Port Settings" dialog box, select "All Unassigned" in the "Enter the IP address used by this FTP site" drop-down list, and set the default value to 21 in the "Enter the TCP port of this FTP site", Click the "Next" button.
③In the opened "FTP User Isolation" dialog box, click to select "Do not isolate users", and click the "Next" button.
④In the pop-up "FTP Site Main Directory" dialog box, select an appropriate file storage path, such as "C:/FTP", and click the "Next" button to open the "FTP Site Access Permission" dialog box.
⑤Set the access rights of the main directory, select the "Read" check box, and only give the visitor the read permission; if the "Write" permission is selected, the server content modification permission will be opened.Click the "Next" button to complete the creation of the "Data FTP" server.
3. Email service
E-mail service generally consists of mail sending service (Simple Mail Transfer Protocol, SMTP) and mail receiving service (Post Office Protocol, POP).
(1) Install and configure SMTP service
This example is to set up an SMTP server in the WindowsServer 2003 system environment, and you need to add "SMTPService" in the installation of IIS. The specific operation is similar to adding the FTP service, so I won't repeat it here.After the installation of the SMTP server is completed, emails cannot be sent externally, and a series of configurations need to be performed on SMTP.
① Right-click the "Default SMTP Virtual Server" item in the IIS Manager window, and select "Properties" in the pop-up shortcut menu to enter the "Default SMTP Virtual Server Properties" window.
②In the "General Tab", select the IP address; set the limit on the number of connections, connection timeout and enable logging.
③Click the "Access" tab to set access control, secure communication, connection control and relay restrictions.Click "Authentication" to set three authentication methods: anonymous access, basic authentication, and integrated Windows authentication.
④Click the "Mail" tab, you can set limit mail size, session size, number of mails per connection, number of recipients of each mail, and send the mail as a copy to the specified email address after delivery failure; You can specify the storage location of dead letters.
⑤Click the "Delivery" tab, you can set the retry interval, delay time, outbound security, outbound connection, etc. after the email fails to be sent.
⑥Click the "LDAP Routing" tab to enable LDAP routing to check recipients and senders.
⑦Click the "Security" tab to configure accordingly.
(2) Install and configure POP3 service
In the "Add/Remove Windows Components" list, select "Email Service" and install the POP3 service.
①Double-click "POP3 Service" in "Management Tools" to enter the "POP3 Service" management window.
② Right-click the "POP3" server, and select "Properties" from the pop-up shortcut menu.You can set the authentication method, server port, log level, root mail directory, and require secure password authentication for all client connections and always create associated users for new mailboxes.
③ Right-click the "POP3" server, select "New/Domain" from the pop-up shortcut menu, and the "Add Domain" dialog box will pop up, and enter the same domain name as the SMTP domain name in the "Domain Name" text box, such as "ourmail.com" , click OK to complete the addition.
④ Select the domain "ourmail.com", and the link text of "Add Email" will be displayed in the right area of the window.Click "Add Mailbox" to enter the "Add Mailbox" dialog box, enter the mailbox name and password in the corresponding text box of the dialog box, click the "OK" button, and a prompt window appears that the mailbox has been added successfully.
So far, the e-mail server has been set up, and you can use Outlook to test sending and receiving e-mails, so I won't repeat them here.Interested readers can refer to relevant reference books for self-study.
8.1.8 Network Security Measures
Due to the connectivity, openness and sharing of the LAN, it will bring threats to its own security, such as the destruction of computer viruses, illegal network intrusion, data leakage, and system security loopholes being exploited by criminals.In view of the many hazards of viruses, effective measures must be taken to prevent the invasion of viruses to avoid losses.For different users, the precautions to take are slightly different.
1. Stand-alone user
(1) After completing the system installation, use the Ghost tool to make a system image backup, so as to avoid quick recovery when the system crashes.
(2) Do not use storage media with unknown history, such as U disk, mobile hard disk, etc., and they must be virus-tested or formatted before use.
(3) Back up important information and data in time to avoid irreparable losses.
(4) Do not download software from the Internet at will. The downloaded software must be tested for viruses before installation and use.
(End of this chapter)
1. Web service
In this example, it mainly introduces how to use IIS to set up a Web server in Windows Server 2003.
Internet Information Server-IIS is the core of setting up web server in Windows series server operating system, and is the basic service platform for setting up web server.
(1) Install IIS
In Windows Server 2003, IIS is not installed by default, so after installing Windows Server 2003, you need to install IIS separately.This example installs using Add or Remove Roles in the Manage Your Server wizard.Specific steps are as follows.
①Click "Start" → "Administrative Tools" → "Manage Your Server" to enter the "Manage Your Server" window.
②Click "Add or Remove Roles" to enter the "Server Roles Window".
③Select "Application Server (IIS, ASP.NET)", and click the "Next" button to enter the "Application Server Options" window.
④Select the "Enable ASP.NET" option, click "Next" to enter the "Selection Summary" window, and click "Next".
⑤The system will prompt to insert the WindowsServer 2003 installation disk, after the CD-ROM is inserted into the system disk, click the "OK" button to continue.
⑥The system starts to install and configure the program, and displays the status of "Installing Internet Information Services", until a window pops up, the system prompts "This server is now an application server", click the "Finish" button to complete the installation process.
(2) Configure IIS
To use Windows Server 2003 to build a Web server, you need to configure IIS to work properly.
After IIS is installed, the default home directory is located at "C:\Inetpub\wwwroot", and web pages can be stored here in the future. Of course, you can re-designate the home directory.
① Click the "Start" → "Administrative Tools" → "Internet Information Services (IIS) Manager" command to open the IIS Manager.
② Click the "" button in the toolbar of "Internet Information Service" to start the site, click the "" button to stop the site, and click the "" button to pause the site.
③ Right-click the "Default Website" node, select the "Properties" command in the pop-up shortcut menu, open the "Default Website Properties" dialog box, and select the "Website" tab.
④In the "Website" tab, you can set the IP address and TCP port of the site.
⑤ Select the "Main Directory" tab.In the "Main Directory" tab, you can set the main directory of the website. The default "Local Path" is "C:\Inetpub\wwwroot". When the user visits the website, the service program will be mapped to the web files in this directory.
⑥ Make corresponding configurations in other tabs, for example, in the "Service" tab, you can add or delete default documents or adjust the order of documents.
After completing the corresponding configuration above, put the Web program in the "C:\Inetpub\wwwroot" directory and you can access it through the HTTP address (http://127.0.0.1).
2.FTP service
The FTP service can not only facilitate file transfer, but also serve as a platform for exchanging data and information within the organization.
In this example, taking the Windows Server 2003 operating system as an example, the method and steps of setting up an FTP server are introduced.Before configuring the FTP service, make sure that IIS has been installed correctly.
(1) Install the FTP service program
By default, Windows Server 2003 does not install the FTP server module when installing IIS, so the FTP service program needs to be installed.
① Double-click the "Add or Remove Programs" icon in the "Control Panel", in the pop-up dialog window, click the "Add/Remove Windows Components" button to open the "Windows Components Wizard" dialog box; click to select the "Application Server" list option, and click the "Details" button.
②In the pop-up "Application Server" dialog box, select "Internet Information Services (IIS)", and then click the "Details" button to pop up the "Internet Information Services (IIS)" dialog box, select "File Transfer Protocol (FTP) Service" and click the "OK" button.Start to install the FTP information service.
After completing the FTP file transfer protocol, a default FTP site will be automatically added in Internet Information Services.
③ Right-click "Default FTP Site", and select the "Properties" command in the pop-up shortcut menu to open the "Default FTP Site Properties" dialog box.
④ In each tab, you can configure according to actual needs, for example, in "FTP site identification", change the site name, TCP port, connection limit, etc.; in the "Security account" tab, you can set whether to "allow anonymous connect".
(2) Create an FTP server
The FTP server automatically established by IIS may not meet the requirements, and an FTP server can be re-established as needed.
① Right-click "FTP Site", select the "New/FTP Site" command from the pop-up shortcut menu, open the "FTP Site Creation Wizard" dialog box, and click the "Next" button.
②In the pop-up "FTP Site Description", enter the site name, such as "Data FTP", and click the "Next" button.
Open the "IP Address and Port Settings" dialog box, select "All Unassigned" in the "Enter the IP address used by this FTP site" drop-down list, and set the default value to 21 in the "Enter the TCP port of this FTP site", Click the "Next" button.
③In the opened "FTP User Isolation" dialog box, click to select "Do not isolate users", and click the "Next" button.
④In the pop-up "FTP Site Main Directory" dialog box, select an appropriate file storage path, such as "C:/FTP", and click the "Next" button to open the "FTP Site Access Permission" dialog box.
⑤Set the access rights of the main directory, select the "Read" check box, and only give the visitor the read permission; if the "Write" permission is selected, the server content modification permission will be opened.Click the "Next" button to complete the creation of the "Data FTP" server.
3. Email service
E-mail service generally consists of mail sending service (Simple Mail Transfer Protocol, SMTP) and mail receiving service (Post Office Protocol, POP).
(1) Install and configure SMTP service
This example is to set up an SMTP server in the WindowsServer 2003 system environment, and you need to add "SMTPService" in the installation of IIS. The specific operation is similar to adding the FTP service, so I won't repeat it here.After the installation of the SMTP server is completed, emails cannot be sent externally, and a series of configurations need to be performed on SMTP.
① Right-click the "Default SMTP Virtual Server" item in the IIS Manager window, and select "Properties" in the pop-up shortcut menu to enter the "Default SMTP Virtual Server Properties" window.
②In the "General Tab", select the IP address; set the limit on the number of connections, connection timeout and enable logging.
③Click the "Access" tab to set access control, secure communication, connection control and relay restrictions.Click "Authentication" to set three authentication methods: anonymous access, basic authentication, and integrated Windows authentication.
④Click the "Mail" tab, you can set limit mail size, session size, number of mails per connection, number of recipients of each mail, and send the mail as a copy to the specified email address after delivery failure; You can specify the storage location of dead letters.
⑤Click the "Delivery" tab, you can set the retry interval, delay time, outbound security, outbound connection, etc. after the email fails to be sent.
⑥Click the "LDAP Routing" tab to enable LDAP routing to check recipients and senders.
⑦Click the "Security" tab to configure accordingly.
(2) Install and configure POP3 service
In the "Add/Remove Windows Components" list, select "Email Service" and install the POP3 service.
①Double-click "POP3 Service" in "Management Tools" to enter the "POP3 Service" management window.
② Right-click the "POP3" server, and select "Properties" from the pop-up shortcut menu.You can set the authentication method, server port, log level, root mail directory, and require secure password authentication for all client connections and always create associated users for new mailboxes.
③ Right-click the "POP3" server, select "New/Domain" from the pop-up shortcut menu, and the "Add Domain" dialog box will pop up, and enter the same domain name as the SMTP domain name in the "Domain Name" text box, such as "ourmail.com" , click OK to complete the addition.
④ Select the domain "ourmail.com", and the link text of "Add Email" will be displayed in the right area of the window.Click "Add Mailbox" to enter the "Add Mailbox" dialog box, enter the mailbox name and password in the corresponding text box of the dialog box, click the "OK" button, and a prompt window appears that the mailbox has been added successfully.
So far, the e-mail server has been set up, and you can use Outlook to test sending and receiving e-mails, so I won't repeat them here.Interested readers can refer to relevant reference books for self-study.
8.1.8 Network Security Measures
Due to the connectivity, openness and sharing of the LAN, it will bring threats to its own security, such as the destruction of computer viruses, illegal network intrusion, data leakage, and system security loopholes being exploited by criminals.In view of the many hazards of viruses, effective measures must be taken to prevent the invasion of viruses to avoid losses.For different users, the precautions to take are slightly different.
1. Stand-alone user
(1) After completing the system installation, use the Ghost tool to make a system image backup, so as to avoid quick recovery when the system crashes.
(2) Do not use storage media with unknown history, such as U disk, mobile hard disk, etc., and they must be virus-tested or formatted before use.
(3) Back up important information and data in time to avoid irreparable losses.
(4) Do not download software from the Internet at will. The downloaded software must be tested for viruses before installation and use.
(End of this chapter)
You'll Also Like
-
All Beast Tamers: My beasts are all mythical!
Chapter 385 17 hours ago -
Everyone has a golden finger, and I can copy
Chapter 379 17 hours ago -
Pokémon: Rise of the Orange League
Chapter 294 17 hours ago -
Zhan Shen: Mental illness? Please call me the God of Mystery!
Chapter 227 17 hours ago -
Senior sister, please let me go. I still have seven fiancées.
Chapter 552 1 days ago -
I am in Naruto, and the system asks me to entrust the elves to someone?
Chapter 628 1 days ago -
As a blacksmith, it's not too much to wear a set of divine equipment.
Chapter 171 1 days ago -
Treasure Appraisal: I Can See the Future
Chapter 1419 1 days ago -
Immortality cultivation starts with planting techniques
Chapter 556 1 days ago -
The Lord of Ghost
Chapter 217 1 days ago