How does win7 system build a web server on the computer

Server is a high-performance computer. As a node of the network, it stores and processes 80% of the data and information on the network. Therefore, it is also known as the soul of the network. So how to build a web server on win7 system computer, so that you can upload information to the server at any time. See the specific methods together!

The specific operations are as follows:

1. Open the control panel, select and enter "program", double-click "open or close windows service", select all options under "Internet information service" in the pop-up window, and click OK to start updating the service.

2. After the update, open the browser and enter“ http://localhost/ ”Press enter. If the IIS7 welcome interface appears at this time, it indicates that the web server has been built successfully.

3. When the web server is built successfully, our next step is to install the website we developed into the directory of the web server. Generally, after the web server is installed, the path "% system root directory% inetpub / wwwroot" will be created to copy the website we developed to this path. You can access the website locally.

4. Set up a firewall so that other computers in the LAN can also access local website resources. Specific methods: open the control panel, select "system and security", click "allow programs to pass through windows firewall", check the two check boxes on the right side of "World Wide Web Service HTTP" in the pop-up dialog box, and finally click OK to exit.

5. On other computers in the LAN, open the browser and enter“ http://Web IP address of the server / "press enter to access the resources on the server". After the above steps, other users in the LAN can access the web resources you share through the browser!

Supplement: server introduction

Servers, also known as servers, are devices that provide computing services. Since the server needs to respond to service requests and process them, generally speaking, the server should have the ability to undertake services and ensure services.

The composition of the server includes processor, hard disk, memory, system bus, etc., which is similar to the general computer architecture. However, due to the need to provide highly reliable services, it requires high processing capacity, stability, reliability, security, scalability, manageability and so on.

In the network environment, according to the different types of services provided by the server, it is divided into file server, database server, application server, web server, etc.

Related reading: what are the server FAQs

  1. System blue screen, frequent crash, restart, slow response

The of the server is very similar to our ordinary computer, whether it is hardware structure or running system. Therefore, just like our computers, they may be infected with viruses, crash, blue screen, restart and other failures due to system vulnerabilities, software conflicts and hardware failures, and slow response due to too much garbage cache information.

  2. The remote desktop connection exceeds the maximum number of connections

Since the server allows 2 connections by default, if you forget to log off after logging in and directly close the remote desktop, the server recognizes that the login is still on the server side. In this case, the most common is to restart the server. However, if it is the peak period, the loss caused by restarting the server is obvious. At this time, you can use the mstsc / console command to forcibly log in. Open the "run" box and type "mstsc / V: xxx.xxx.xxx.xxx (server IP) / console" to forcibly log in to the remote desktop.

  3. How to clean up files that cannot be deleted

In this case, it may be that the file is still running. You can restart and delete it, or run CMD, enter the name of the folder arrtib-a-s-h-r you want to delete, and finally enter the name of the folder del wants to delete. It cannot be recovered after running this command. Please use it with caution.

  4. Hidden trouble of system port

For the server, the first thing is to ensure stability and security. Therefore, we only need to ensure the most basic functions of the server, just like the sound card is prohibited by default. We don't need too many functions and port support. For example, some unnecessary and high-risk ports can be blocked. For some necessary and risky ports, such as ports 3389 and 80, we can set them as non-special secret ports by modifying the registry, so that the security hidden dangers of server ports no longer exist.