sql server 2008 r2 - nanosoft.co.thnanosoft.co.th/pdf/setupsqlserver2008r2.pdf · windows power...

19
- 1 - คู ่มือการติดตั ้งโปรแกรม SQL Server 2008 R2 ติดตั ้ง ระบบปฎิบัติการ 1. .NET Frame work 3.5 SP1 ทุกระบบ 2. Windows Installer 4.5 ทุกระบบ 3. Windows Power Shell 1.0 Windows XP , Windows 2003 Server 4. SQL Server 2008 R2 Express Edition ทุกระบบ ** ทุกระบบ หมายถึง Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 , Win Server 2008 Win Server 2003 R2 , Win Server 2008 R2 1. การติดตั ้ง .NET Frame work 3.5 SP1 1.1 ทาการ Execute File dotnetfx35-SP1.exe ใน Folder DotNetFrameWork 3.5 Redist 1.2 โปรแกรมจะทาการ Extract file เพื่อเตรียมติดตั ้ง ดังรูป 1.3 โปรแกรมจะทาการ Load file เพื่อติดตั ้ง

Upload: vutuong

Post on 12-Mar-2018

237 views

Category:

Documents


5 download

TRANSCRIPT

- 1 -

คมอการตดตงโปรแกรม SQL Server 2008 R2

ตดตง ระบบปฎบตการ

1. .NET Frame work 3.5 SP1 ทกระบบ 2. Windows Installer 4.5 ทกระบบ 3. Windows Power Shell 1.0 Windows XP , Windows 2003 Server 4. SQL Server 2008 R2 Express Edition ทกระบบ ** ทกระบบ หมายถง Win XP SP2 , Win XP SP3 , Win Vista , Win 7 , Win Server 2003 , Win Server 2008 Win Server 2003 R2 , Win Server 2008 R2 1. การตดตง .NET Frame work 3.5 SP1 1.1 ท าการ Execute File dotnetfx35-SP1.exe ใน Folder DotNetFrameWork 3.5 Redist

1.2 โปรแกรมจะท าการ Extract file เพอเตรยมตดตง ดงรป

1.3 โปรแกรมจะท าการ Load file เพอตดตง

- 2 -

1.4 ท าการ เลอกท I have read ACCEPT the terms of License Agreement จากนนกดปม Install

1.5 โปรแกรมจะท าการตดตง Microsoft .NET Framework 3.5 SP1

- 3 -

1.6 เมอท าการตดตงเสรจใหกดปม Exit เพอจบการตดตง .NET Framework 3.5 SP1

- 4 -

2. การตดตง Windows Installer 4.5 2.1 เขาไปใน Folder Windows Installer 4.5 และ เลอก File ทจะ Execute ตามระบบปฎบตการทตดตง

File name Operating System WindowsXP-KB942288-v3-x86 Win XP Windows6.0-KB942288-v2-x86 Win Vista , Win 7 , Win 2008 ( 32 Bit ) Windows6.0-KB942288-v2-x64 Win Vista , Win 7 , Win 2008 ( 64 Bit ) WindowsServer2003-KB942288-v4-x86 Win 2003 ( 32 Bit ) WindowsServer2003-KB942288-v4-x64 Win 2003 ( 64 Bit ) 2.2 เลอก I Agree จากนนกดปม Next

- 5 -

2.3 โปรแกรมจะท าการตดตง Windows installer 4.5

2.4 เมอตดตงเสรจสมบรณ กดปม Finish โปรแกรมกจะท าการ Restart Windows

- 6 -

3. การตดตง Windows Power Shell 1.0 ( เฉพาะ Windows XP และ Windows 2003 Server )

3.1 เขาไปใน Folder Windows PowerShell 1.0 และ เลอก File ทจะ Execute ตามระบบปฎบตการทตดตง File name Operating System

WindowsXP-KB926139-v2-x86-ENU Win XP ( 32 Bit ) WindowsServer2003-KB926139-v2-x86-ENU Win Server 2003 ( 32 Bit ) WindowsServer2003.WindowsXP-KB926139-v2-x64-ENU Win XP , Win 2003 ( 64 Bit )

3.2 กดปม Next เพอท าการตดตง

- 7 -

3.3 เลอก I Agree จากนนกดปม Next

3.4 โปรแกรมจะท าการตดตง Windows PowerShell 1.0

- 8 -

3.5 เมอตดตงเสรจสมบรณ กดปม Finish

- 9 -

4. การตดตง SQL Server 2008 R2 4.1 ท าการ Execute Setup File

4.2 เลอกหวขอ New installation or add feature to an existing installation

- 10 -

4.3 โปรแกรมจะท าการตรวจสอบระบบทตองการ เมอท าการตรวจสอบแลวใหกดปม OK

4.4 ท าการปอน Product Key จากนนกดปม Next

- 11 -

4.5 เลอก I accept the license terms แลวกดปม Next

4.6 โปรแกรมจะท าการตรวจสอบกฏการตดตง เมอตรวจสอบแลวใหกดปม Next

- 12 -

4.7 เลอก SQL Server Feature Installation แลวกดปม Next

4.7 เลอก Feature ทตองการ และ เลอก Directory ทตองการจะตดตงโปรแกรม แลวกดปม Next

- 13 -

4.8 โปรแกรมจะท าการตรวจสอบขอมลทจะตดตงอกครง เมอตรวจสอบแลวใหกดปม Next

4.9 เลอก Default Instance แลวใหกดปม Next

- 14 -

4.10 การตดตงจะแจงจ านวนพนทใน Hard disk ทตองใชและจ านวนคงเหลอ จากนนกดปม Next

4.11 ปรบตงคา Service Accounts ดงรป

- 15 -

4.12 เลอก Tab Collation แลวกดปม Customize

4.13 ตงคา Collation ดงรป

- 16 -

4.14 เลอก Authentication Mode เปน Mixed Mode แลวปอน Password ของ Sa ในชอง Enter password และ Confirm password กดปม Add Current User แลวกดปม Next

4.15 กดปม Next เพอตดตงโปรแกรม

- 17 -

4.16 ระบบจะท าการตดตงโปรแกรม เมอท าการตดตงเสรจ ใหกดปม Close

4.17 ท าการ Configuration SQL Server 2008 R2 โดยการ กดปม Start ของ Windows แลวไปท Microsoft SQL Server 2008 R2 -> Configuration Tools -> SQL Server Configuration Manager

- 18 -

4.18 เลอก Protocols for SQLSERVER แลว Enable Protocol Shared Memory , Named Pipes และ TCP/IP โดยการ Click ขวา หรอ Double Click Protocol Name แลวเลอก Enabled เปน Yes แลวกด OK ดงรป

- 19 -

ตวอยางการ สราง และ Connect Database การอางถง Server Name ท าโดย 1. ชอ Server หรอ Server IP Address เชน Server หรอ 192.168.0.1 2. สวน User Name ใช Sa และ Password ใชเหมอนกบตอนทตดตงโปรแกรม