DATABASE

Installing SQL Server 2008

9/4/2010 12:10:46 PM

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

Reboot your machine prior to starting the SQL Server installation process to make sure that you do not have any pending reboot requests which will block the SQL Server installation process.


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

If any of the system configuration checks fails, you will need to take the action appropriate to the failure in order to continue with the installation process.

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

The password that you specify will be assigned to the built-in SQL Server login named “sa.”

Important

It is recommended that you run SQL Server instances in Windows Authentication Mode instead of Mixed Mode. The reason that we are specifying Mixed Mode during installation is to demonstrate SQL Server logins within Chapter 19, “Policy-Based Management.”

15.
Click the Data Directories tab to review the settings.

Note

You will learn about data and log directories in Chapter 4, “Creating Databases.”

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

You will learn about the FILESTREAM data type in Chapter 5, “Designing Tables.”

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

The Web site locations are accurate as of the writing of this book. However, the locations may change in the future. If you cannot find the URL above, use the Search box within the CodePlex Web site to find the new location.

2.
Scroll to the bottom of the page and download the AdventureWorks2008*.msi and AdventureWorksDW2008*.msi files to your local machine.

Important

The CodePlex Web site contains installation routines for 32-bit, x64, and IA64 platforms. Download the .msi file that is appropriate for your operating system.

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.

EXEC sp_configure 'filestream_access_level',2;
GO

RESTORE DATABASE AdventureWorks FROM DISK='C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks2008.bak' WITH RECOVERY;
GO

RESTORE DATABASE AdventureWorksDW FROM DISK='C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorksDW2008.bak' WITH RECOVERY;
GO




7.
When you expand the Database node, your screen should look like the following:

Other  
 
Video
Top 10
SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
The latest Audi TT : New angles for TT
Era of million-dollar luxury cars
Game Review : Hearthstone - Blackrock Mountain
Game Review : Battlefield Hardline
Google Chromecast
Keyboards for Apple iPad Air 2 (part 3) - Logitech Ultrathin Keyboard Cover for iPad Air 2
Keyboards for Apple iPad Air 2 (part 2) - Zagg Slim Book for iPad Air 2
Keyboards for Apple iPad Air 2 (part 1) - Belkin Qode Ultimate Pro Keyboard Case for iPad Air 2
Michael Kors Designs Stylish Tech Products for Women
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
Popular Tags
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Exchange Server Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe Photoshop CorelDRAW X5 CorelDraw 10 windows Phone 7 windows Phone 8 Iphone