.Net environment (IIS and SQL Server) installation manual

1. Installation environment

1.1. System hardware requirements

Operating system: Windows XP and above Windows system
CPU: 2GHz or above
Memory: 2G or above
Hard disk: 500GB or above

1.2. Database

This software requires the use of SQL Server 2008 R2 database

1.3. Installation and configuration process

Install IIS --> Install .Net Framework --> Install SQL Sever --> Install Software System --> Configure IIS.

2. Installation steps

2.1. Install IIS

2.1.1. XP system

Instructions, first find the installation package. If the system version of the deployment machine is uncertain, you can download the corresponding installation package from the Internet or install it with the corresponding system disk.
1. StartControl PanelAdd/Remove ProgramsAdd/Remove Windows Components, as shown in the figure below

2. Check Internet Information Services (IIS), then the next step

3. When the interface as shown in the figure below appears, click OK. During the installation process, the file will be selected multiple times, just follow the steps below to install it.

4. Select the corresponding file in the order of 1, 2, 3

5. Click OK to let it install

6. When the following interface appears, continue to select files in the IIS installation package

7. Continue to select the file (don’t worry about finding the file, it will automatically locate the required file, generally just browse -> open)

8. Select the ims.cab file

9. After the installation is complete, click the "Finish" button

At this point, IIS is installed.

2.1.2. Win7 system

Open the Start menu --> Control Panel --> Programs, open the following page:

Click "Turn on or off Windows features" with the mouse, as shown in the figure below:

Check the relevant information under the Internet Information Service option as shown in the above figure, click the OK button, and the following information will pop up:

The user needs to wait for a few seconds before the configuration is completed. If it prompts to restart the computer after completion, just restart it.

Next, let's check whether IIS is installed successfully. Open the Start Menu—>Control Panel—>System and Security—>Administrative Tools, and open the following page:

Double-click to open the Internet Information Services (IIS) Manager, as shown in the figure below, indicating that IIS is installed successfully:

2.2. Install SQL Server 2008 R2

Note: Before installing the database, the firewall and automatic update must be turned off. The specific location is in the control panel -> system and security directory.

Double-click the "Setup" installation file to enter the SQL Server installation center. As shown below:

Select the second item "Installation" in the left navigation bar, and click the first item on the right, as shown in the figure below.

The database will then start installing as shown in the image below:

After completion, click "OK" to enter the following interface and enter the key:

Click "Next" to enter the authorization terms, as shown in the figure:

Check "I accept the license terms" and click "Next". Prompt to install support files, as shown in the figure:

Click "Install" to start installing support files, as shown in the figure:

Click "Next" to enter the installation role selection, and the first item is selected by default, as shown in the figure:

Click "Next" to enter the function selection, click "Select All" to select all feature options, as shown in the figure:

Click "Next" to start the installation function, as shown in the figure:

After completion, click "Next" to configure the instance, configure the instance ID and path, and keep the default ID and path. The advantage of the default instance is that it has better scalability, so that it is not necessary to configure the database connection again when the system is installed later. as the picture shows:

Click "Next" to enter the page as shown in the figure:

Click "Next" to enter the service configuration, as shown in the figure:

As shown in the figure below, under the Service Account tab, you need to pay attention here. Be sure to select the contents of each column strictly as shown in the figure below, because the software service is based on some services of the database. If the configuration error is selected here, the database can still be installed. Successful, but the service needs to be started manually, and other errors are prone to occur, so select all (Automatic) :

Click "Next" to enter the database login configuration, as shown in the figure:

As shown in FIG:

First, click "Add Current User" to add the name of the machine to the text box above;

Then, select "Mixed Mode" at "Authentication Mode";

Finally, enter a password ( 123456 as shown in the figure, pay attention to capitalization), and confirm the input once.

The mixed mode is selected here, and its advantage is that it brings convenience to the configuration of subsequent system software, because the database connection of the software program is configured as SQL authentication.

After completing the above tasks, click "Next" to enter the analysis service configuration. Under the account provisioning tab, click "Add Current User", as shown in the figure:

Click "Next" to enter the report service configuration, the first item is selected by default, as shown in the figure:

Click "Next" to ask to choose whether to send an error report, here we do not make a choice, as shown in the figure:

Click "Next" to start installing the configuration rules, as shown in the figure:

After the installation is complete, click "Next" and prompt to confirm the installation, as shown in the figure:

Click "Install" to start the installation, as shown in the figure:

The installation is complete, as shown in the figure:

Click "Close" to complete the installation.

So far, SQL Server 2008 R2 has been completely installed.

Precautions:

1. Check whether the login is successful using SQL Sever authentication

Enter the "Start" menu, find "Microsoft SQL Server 2008 R2", click the shortcut of "SQL Server Management Studio" to start SQL Server Management Studio, and the database connection dialog box will pop up, as shown in the following figure:

Among them, Sever name is the server name, which is the server IP address or computer name; Authentication is the authentication authority, select SQL Sever authentication; Login is the login user name, usually sa; Password is the login password, click the "Connect" button, If the login fails, the user needs to go to the above section to enable sa authentication. If the login is successful, the user will enter the following page:

2. Check if the database allows remote connections

If the user needs the database to be connected remotely, please go to the above section and follow the steps to check and configure the database remote connection settings.

Guess you like

Origin blog.csdn.net/u012558210/article/details/106395945