Installing SQL Server 2008
Now that we have covered the basic background for SQL Server instances, you will install your first SQL Server Database Engine instance along with Analysis Services, Reporting Services, Integration Services, and all of the tools that ship with SQL Server.
SQL Server 2008 Installation
Tip
1. |
Launch the SQL Server installation routine. |
||||
2. |
If you have not already installed .NET Framework 3.5, the setup routine will first launch the .NET Framework 3.5 installation routine, as shown here. |
||||
3. |
Once .NET Framework 3.5 has been installed, the main SQL Server installation will launch to the License Terms screen. Check I have read and ACCEPT the terms of the License Agreement and click Next. |
||||
4. |
When the Installation Prerequisites screen appears, click Install. |
||||
5. |
Once prerequisites have been installed, you will see the main installation screen, as shown here. |
||||
6. |
Click the New SQL Server stand-alone installation link to launch the SQL Server installation. |
||||
7. |
Installation will execute a system configuration check. Once the check completes successfully, your screen should look similar to the following: Note
|
||||
8. |
Once you have reviewed the Setup Support Rules, click OK. |
||||
9. |
Select all of the SQL Server features as show below and then click Next. |
||||
10. |
Select the Default Instance radio button and click Next. |
||||
11. |
Verify the disk space requirements and click Next. |
||||
12. |
Enter the service accounts that you created earlier in this chapter for the appropriate services. When complete, your screen should look similar to the following: |
||||
13. |
Click the Collation tab to review the collation sequence set for the Database Engine and Analysis Services. Make any adjustments you feel are necessary according to the language support that you will require and click Next. |
||||
14. |
Specify Mixed Mode and set a password. Click the Add Current User button to add the Windows account you are running the installation under as an administrator within SQL Server. Click the Add button to add any other Windows accounts that you want as administrators within SQL Server. When complete, your screen should look similar to the following: Note
Important
|
||||
15. |
Click the Data Directories tab to review the settings. Note
|
||||
16. |
Click the FILESTREAM tab, select the Enable FILESTREAM for Transact-SQL access as well as Enable FILESTREAM for file I/O streaming access. Leave the Windows share name set to the default of MSSQLSERVER and click Next. Note
|
||||
17. |
Click Add Current User to add the account you are running installation under as an administrator within Analysis Services. Add any other Windows accounts that you want to have administrator access within Analysis Services. Review the information on the Data Directories tab and click Next. |
||||
18. |
Select the Install the Native mode default configuration radio button on the Reporting Services Configuration page and click Next. |
||||
19. |
Select the options of your choice on the Error And Usage Reporting page and click Next. |
||||
20. |
Review the information on the Ready To Install page and click Install. |
||||
21. |
SQL Server will launch the installation routines for the various options that you have specified and display progress reports. During the installation phase, your screen will look similar to the graphic below: |
Install Sample Databases
SQL Server 2008 does not ship with any sample databases. You will need to download the AdventureWorks2008 and AdventureWorksDW2008 databases from the CodePlex Web site.
1. |
Open Internet Explorer and go to http://www.codeplex.com/MSFTDBProdSamples. Click the Releases tab. Note
|
||
2. |
Scroll to the bottom of the page and download the AdventureWorks2008*.msi and AdventureWorksDW2008*.msi files to your local machine. Important
|
||
3. |
Run the installation routines for both downloads and use the default extract location. |
||
4. |
Click Start | All Programs | Microsoft SQL Server 2008 | SQL Server Management Studio. |
||
5. |
If not already entered, specify the machine name you installed your SQL Server instance to in the previous exercise and click Connect. Your screen should look like the following: |
||
6. |
Click the New Query button, enter the following code, and click the Execute button. Code View: Scroll / Show All EXEC sp_configure 'filestream_access_level',2; |
||
7. |
When you expand the Database node, your screen should look like the following: |