| How to install SQL Server 2008 R2 Applies to: SQL Server 2008 R2 November CTP. An evaluation copy of SQL Server 2008 R2 can be downloaded from here. If you are upgrading to SQL Server 2008 R2, consider these resources and recommendations:
![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Read about supported upgrade scenarios here. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Download and run SQL Server Upgrade Advisor. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Upgrade to the same language version as the existing instance of SQL Server. | The following are some recommendations before installing SQL Server 2008 R2:
![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Use NTFS file system. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Do no try to install SQL Server 2008 R2 on a compressed drive, because setup will block the installation. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Do not install SQL Server on a Domain Controller. Click here for more information. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Configure your firewall to allow SQL Server access. Click here for more information about protocols and port numbers. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | The user account that is running SQL Server Setup must have administrative privileges on the computer. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Verify Windows Management Instrumentation service (Control Panel -> Administrative Tools -> Services) is running. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | The computer where you are planning to install should be connected to the Internet. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Do not install SQL Server 2008 R2 side-by-side with SQL Server 7, because it is not supported. | The following are software requirements:
![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | .Net Framework 3.5 SP1 is needed. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Windows Installer 4.5 or later is required. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Internet Explorer 6 SP1 is required. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | For operating systems requirements, please click here. Windows Web Server and Windows Server 2008 Standard do not have the failover cluster feature available. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | PowerShell is required for SQL Server Express with Advanced Services. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | If you have Visual Studio 2008 installed on the computer where you are planning to install SQL Server R2, please install Visual Studio 2008 SP1 prior to run SQL Server setup. | The hardware requirements are:
![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | At least 2.0 GB of available hard disk space | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Supported Operating Systems: Windows Server 2008 ; Windows Server 2003 Service Pack 2; Windows Server 2003 Small Business Server R2; Windows Vista; Windows XP Service Pack 2 | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | 1024 x 768 video resolution. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | For processor and memory requirements, please click here. | Run SQL Server 2008 R2 setup. First, setup checks to determine software requirements are installed. If not, you will be prompted to install. ![](https://i-blog.csdnimg.cn/blog_migrate/e717d4dcfef3bb07e70c7aa85f10f9f6.png) As mentioned above, SQL Server 2008 R2 requires Windows Installer 4.5 and .Net Framework 3.5 SP1 to be installed. Click OK button to install .Net Framework. ![](https://i-blog.csdnimg.cn/blog_migrate/33215006b8c292f2c8a28eb39587e6e5.png) ![](https://i-blog.csdnimg.cn/blog_migrate/4417ec5432627599bb00f4232efe6d7e.png) ![](https://i-blog.csdnimg.cn/blog_migrate/18635cea18cbe5986a385afa25e24267.png) ![](https://i-blog.csdnimg.cn/blog_migrate/004f86b8b46d05c63b5bfc81b3617e51.png) ![](https://i-blog.csdnimg.cn/blog_migrate/66775db7698750bc58b78579829ece69.png) After installing .Net Framework 3.5 SP1, I was prompted to install Windows Installer (KB942288). ![](https://i-blog.csdnimg.cn/blog_migrate/498222ff2afcd8992caa2b3b501fde87.png) ![](https://i-blog.csdnimg.cn/blog_migrate/9b28dfbb0a289697c9a991571909c701.png) ![](https://i-blog.csdnimg.cn/blog_migrate/cdc386e844ee621251fa42bf6e04a473.png) After installing the hotfix, the Installation Center will launch. ![](https://i-blog.csdnimg.cn/blog_migrate/8f628f1c9f326dcd1cfc1bda853dd871.png) ![](https://i-blog.csdnimg.cn/blog_migrate/afa8ec1f289c966b026d8911730c3d5f.png) On the screen above, make a click on the "Installation" hyperlink in the left side of the screen. ![](https://i-blog.csdnimg.cn/blog_migrate/d736de03e630c11780a0149eff5c4e2d.png) This screen shows the types of installation available. Let's select the first type available "New SQL Server stand-alone installation or add features to an existing installation". ![](https://i-blog.csdnimg.cn/blog_migrate/545926748966c61fa966ae9094572edd.png) Above you will find the first set of Setup Support Rules. The Next button is available only if all check results are successful, or if failed checks do not block installation ![](https://i-blog.csdnimg.cn/blog_migrate/f6d1f0dbc6428d856baed3c7132188ff.png) On the page above, specify the edition of SQL Server to install. We chose the Enterprise Evaluation Edition. ![](https://i-blog.csdnimg.cn/blog_migrate/48c854b567771e4de4816914bce5447d.png) The above is the License Terms page. Read the license agreement and if you agree with it, check the "I accept the license terms" check box, and then click the Next button. ![](https://i-blog.csdnimg.cn/blog_migrate/a09db5274832b877ceda3a6ede468b85.png) On the following page, setup is installing a required component. ![](https://i-blog.csdnimg.cn/blog_migrate/76cdbb1e27f0931fb0947133fe3a7675.png) The following is a new page on SQL Server setup, its name is Setup Role. Here you have three options:
![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Choose "SQL Server feature installation" to install SQL Server Database Engine, Analysis Services, Integration Services, Reporting Services. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Choose "Analysis Services with SharePoint Integration" if you want SQL Server setup to add PowerPivot for SharePoint to a SharePoint farm. | ![bullet](https://i-blog.csdnimg.cn/blog_migrate/ddb45531917ddc51ac5c596be1402a0e.gif) | Choose "All Features With Defaults" to install all features of SQL Server in one box. | ![](https://i-blog.csdnimg.cn/blog_migrate/2257704c250fbeb67b52e083e76f9438.png) On the Feature Selection page, select the features for your installation. ![](https://i-blog.csdnimg.cn/blog_migrate/c5615e82fa613ca4f30a946391c3a940.png) The page below belongs to the second set of Setup Support Rules. ![](https://i-blog.csdnimg.cn/blog_migrate/65227614c75e4daedc8a041fb254c9cf.png) On the Instance Configuration page, select a default or named instance for your installation, and select de directory where you want to install de features you have chosen. ![](https://i-blog.csdnimg.cn/blog_migrate/cf76bb2efec3027c2c802be23782d7ff.png) This page is just for the purpose of reviewing disk usage. Click on the "Next" button to continue setup. ![](https://i-blog.csdnimg.cn/blog_migrate/1b159075fdb191964373a231516c201f.png) It is recommended to create a local user or domain user account to start SQLServer services, the next page setup will display is all about SQL Server service accounts. If the computer is not part of a domain, use a local user account without Windows administrator permissions. You can create this account using Control Panel -> User Accounts. Use a Domain User Account if the service must interact with network services or access domain resources. This account should be pre-created by a domain administration in your environment. Whether you create a local user or a domain user account, the password you use to create the account must be a strong password. You can also use built-in accounts as the NetworkService account, but I would not recommend to use Local Service Account for SQL Server (MSSQLSERVER). Use Local System if you need a very high-privileged account. It has extensive privileges on the local system. ![](https://i-blog.csdnimg.cn/blog_migrate/fa66e2614b1fb3b7ac9ffd84eaf26e24.png) ![](https://i-blog.csdnimg.cn/blog_migrate/b325ce8cb1a2d48d6eef86f02489e527.png) Microsoft recommends you to specify an individual account for each service. The service accounts used for this configuration must have a strong password as mentioned above, otherwise you will get the error "Invalid or missing username or password. To continue, provide valid credentials for the SQL Server Agent service". A strong password is one that has a combination of letters in uppercase, lowercase, numbers and special characters. ![](https://i-blog.csdnimg.cn/blog_migrate/68e27dae20ca28a8fa52bdca698f0160.png) On the Collation tab, specify the collation for your SQL Server instance. ![](https://i-blog.csdnimg.cn/blog_migrate/be665271e45e3655875c668cfc811e64.png) On the Database Engine Configuration page, choose the authentication mode to use for your SQL Server installation. Enter and confirm the password for the (sa) login when you choose Mixed Mode Authentication. ![](https://i-blog.csdnimg.cn/blog_migrate/b6f6ca3ad72e97696f0ed5d4dc9627eb.png) ![](https://i-blog.csdnimg.cn/blog_migrate/f5d084b81b2d141572166cf7b634916a.png) If you are planning to use FILESTREAM with SQL Server 2008 R2, you may want to enable it on this tab or do it later. ![](https://i-blog.csdnimg.cn/blog_migrate/cd799126a7e01bad7e908470fd9a49ec.png) On this page, provide user account that will be Analysis Services administrators. ![](https://i-blog.csdnimg.cn/blog_migrate/56b0ee4345e6a21cc9f30d3755f7af3a.png) ![](https://i-blog.csdnimg.cn/blog_migrate/16a65449e797eba08736334cf0333aba.png) If you selected Reporting Services as a feature to install, the Report Services Configuration page is displayed. Here we chose to install Reporting Services on Native mode. ![](https://i-blog.csdnimg.cn/blog_migrate/fec2c43050b23c34fc5c14c7ed034dde.png) On the Error and Usage Reporting page, optionally clear each check box to disable error reporting. ![](https://i-blog.csdnimg.cn/blog_migrate/2d852895df345eee0c03c9cee977a746.png) The above screens belong to the Installation Configuration Rules. ![](https://i-blog.csdnimg.cn/blog_migrate/248111aa9eee6690bbce97365f2053ae.png) On the Ready to Install page, review the summary of features and components for your SQL Server installation. To proceed, click Install. ![](https://i-blog.csdnimg.cn/blog_migrate/cc5da52cea373265bea4436692c9a271.png) ![](https://i-blog.csdnimg.cn/blog_migrate/9eb428552d518100b795cfc7f5c6d1bf.png) On the Completing the Microsoft SQL Server Installation Wizard page, you can view the Setup summary log by clicking the link provided on this page. To exit the SQL Server Installation Wizard, click Close. References: 1) SQL Server Installation (SQL Server 2008 R2). |