1. SQL Server R2 Setup requires the installation of the Microsoft. NET Framework and the updated Windows Installer (the computer will automatically remind you to install);
2, open the downloaded SQL Server R2 folder, double-click Setup.exe, go to the installation interface, click on the left side of the "Installation", and then select "New Installation or add features to existing installation" in the right dialog box, go to the Setup Support Rules dialog box;
3. Click < OK to enter the Product Key dialog box
4. Select "Enter Product Key", then click < Next, enter the License Terms dialog box;
5, tick "I accept the license terms", then click < Next, and go to the Installer Support Rules dialog box;
6, click < Next, enter the Settings Role dialog box;
7. Select "SQL Server feature Installation", then click < Next, enter the function selection dialog box;
8, click < Select All, and then click < Next, enter the installation Rules dialog box;
9. Click < Next, and go to the Instance Configuration dialog box;
10. Keep the default selection of the instance ID and the instance root, then click < Next, and enter the Server Settings dialog box;
11. Click < use the same account for all SQL Server servers; a dialog box with the account name and password will appear;
12. Select "NT authority\system", click < OK >;
13, set "SQL Server Browser" to "Automatic", then click < Next, enter the Database Engine Settings dialog box;
14, select "Mixed Mode", and set the SA account password (password can not be too simple, otherwise will error), and then click < add the current user, and finally click < Next, enter the Analysis Services Settings dialog box;
15. Click < add current account, then click < Next, and then always default until the final installation is complete.
Note: Do not set up the domain server after the virtual machine is installed, otherwise there will be an error in the server Setup step.
Installing SQL Server in a virtual machine R2