instalacion de sql server 2008 en windows server 2008

41
How can I install SQL Server 2008 in Windows Server 2008 In this guide I have used the 180 Evaluation version of Microsoft SQL Server 2008 Enterprise Edition, this was installed on a Windows Server 2008 which had een pre!configured with  "#, #$%&, W#S , IIS' (his is a L") environ*ent, and for the purpose of this guide it+s irrelevant that "#,# $%& and W#S are running on this server' in production of course ou would want to separate server roles' Your results may vary, try this on a lab computer to veriy the steps needed and how they wor! or you" #his $ost is %&# S''( speciic and is provided as is to help you )et up and runnin) in a lab environment" #he speciic roles installed in this sample install are not in any way customised or an S''( install" In a $roduction environment, you should consult #echnet to veriy best practices or where to install SQL and to separate the *+ and L& iles to S-% drives i appropriate" I you are installin) SQL or S''( then install it on the same server that you will install S''( on"" Insert the #-# or *ount the iso .SQL/LLE'iso3, once do ne doule clic4 on setup'e5e in case it doesn+t autorun' If ou get a re.uirements needed *essage clic4 o4 so that it can install the* .updated 'E( fra*ewor4 and Wi ndows Installer3 (icrosot "%/# ramewor! 1" S$3 update "ccept the license agree*ent for the 'E( update and clic4 install

Upload: manuel-razo

Post on 18-Feb-2018

235 views

Category:

Documents


0 download

TRANSCRIPT

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 1/41

How can I install SQL Server 2008 in

Windows Server 2008

In this guide I have used the 180 Evaluation version of Microsoft SQL Server 2008 Enterprise Edition, this was installed

on a Windows Server 2008 which had een pre!configured with "#, #$%&, W#S, IIS' (his is a L") environ*ent, andfor the purpose of this guide it+s irrelevant that "#,#$%& and W#S are running on this server' in production of course

ou would want to separate server roles'

Your results may vary, try this on a lab computer to veriy the steps needed and how

they wor! or you" #his $ost is %&# S''( speciic and is provided as is to help you

)et up and runnin) in a lab environment" #he speciic roles installed in this sample

install are not in any way customised or an S''( install" In a $roduction

environment, you should consult #echnet to veriy best practices or where to install

SQL and to separate the *+ and L& iles to S-% drives i appropriate" I you areinstallin) SQL or S''( then install it on the same server that you will install S''(

on""

Insert the #-# or *ount the iso .SQL/LLE'iso3, once done doule clic4 on

setup'e5e in case it doesn+t autorun'

If ou get a re.uirements needed *essage clic4 o4 so that it can install the* .updated

'E( fra*ewor4 and Windows Installer3

(icrosot "%/# ramewor! 1" S$3 update

"ccept the license agree*ent for the 'E( update and clic4 install

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 2/41

(he actual installation see*s to ta4e a few *inutes'''' if it fails it will give ou an error log,

ou can tr installing it again or read the installation issues read*e'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 3/41

Windows Installer 4" 5pdate

 e5t ou may be promted to install a hotfi5 .6)722883, clic4 &! '

if ou were pro*pted to install the hotfi5 then ou+ll e as4ed to 9estart, so lets do that'''

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 4/41

after the restart and now that we+ve updated those two co*ponents run setup'e5e again fro*the SQL 2008 iso .dvd3' :ou should see the following

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 5/41

$lannin) phase

clic4 on System 'oni)uration 'hec!er to chec4 our sste* for an prole*s that *a

 prevent SQL 2008 fro* installing;wor4ing'

In * case i got one warning .telling *e that installing SQL server on a do*ain controlleris not reco**ended3 ut I choose to ignore that warning'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 6/41

%lic4ing o4 rings ou ac4 to the SQL 2008 *ain *enu, here ou can see *an *ore

options for our SQL server .hardware re<uire*ents, securit docu*entation, release notes,upgrade advisor and *ore3'

Installation

%lic4 on Installation in the left pane, in the new window that appears, choose the first

option which is a new SQL server stand6alone installation'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 7/41

setup support rules

this is turn will do a <uic4 test for setup support rules,

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 8/41

clic4 o!  to continue

at this point ou can use the drop down *enu to select a different SQL version .we dont

need to3 or input our SQL Server product 4e, clic4 ne5t when done'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 9/41

accept the license ter*s and clic4 ne5t

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 10/41

clic4 install to install setup support files'''

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 11/41

once again, I was presented with another setup support rules test result this ti*e with two

warnings, the do*ain controller one .safe to ignore3 and * windows firewall telling *ethat the appropriate ports should e opened

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 12/41

I clic4ed ne5t'

eature Selection

I chose to Select "ll and left the path of the install as default'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 13/41

Instance 'oni)uration

I left these options as default

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 14/41

*is! Space 7e.uirements

(he dis4 space re<uire*ents gave *e a green o4 arrow, so I clic4ed ne5t to continue

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 15/41

Server 'oni)uration

 ote= if ou need to change collation, or verif it then clic4 on the %ollation (a'

>therwise, clic4 on -ccount %ame to the right of SQL Server "gent and enter our thead*inistrator;password values

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 16/41

clic4 ne5t

*atabase /n)ine 'oni)uration

:ou can ad?ust the user settings here depending on our securit preferences

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 17/41

Quote

)eginning in SQL Server 200@, significant changes were i*ple*ented to help ensure that

SQL Server was *ore secure than previous versions' %hanges included a Asecure design,secure default, and secure in deplo*entB strateg designed to protect the server

instance and its dataases fro* securit attac4s'

SQL Server 2008 continues the securit hardening process introducing *ore changes to

the server and dataase co*ponents' SQL Server 2008 leverages the ser "ccount %ontrol

."%3 found in Windows -ista and Windows Server 2008'

(he changes introduced in SQL Server 2008 further decrease the surface and attac4 areas

for the server and its dataases instituting a polic of ALeast &rivileged "uthorit'B (his

*eans that internal accounts are protected and separated into operating sste* functionsand SQL Server functions' (hese *easures include=

(he ailit to provision one or *ore Windows principals into the Ssad*in server roleinside SQL Server' (his option is availale during SQL Server Setup'

(he Surface "rea %onfiguration .S"%3 tool has een re*oved, and replaced polic!

 ased *anage*ent and changes in the %onfiguration Manager tool'

(hese changes will affect our securit planning for SQL Server, and help ou create a

*ore co*plete securit profile for our sste*'

for the purpose of this guide, we will add the local ad*inistrator clic4ing on -dd

'urrent 5ser, if this or an options confuse ou then clic4 on help in the otto* right

corner of the installer'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 18/41

/or "nalsis Services configuration, enter the sa*e value .add current user, assu*ing ou

are doing this as local ad*inistrator'''3

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 19/41

for the 9eporting Services configuration, I left the default value .native3

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 20/41

choose our /rror and 5sa)e reportin) settings and clic4 ne5t

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 21/41

our installation 9ules will get a <uic4 chec4'''

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 22/41

clic4 ne5t to see +9ead to install+ su**ar+

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 23/41

clic4 install to start the installation'''

.ti*e for lots of coffee''3

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 24/41

"fter dinner it was co*pleted

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 25/41

one *ore clic4 and then it+s all co*pleted'

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 26/41

=!3

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 27/41

 ote= (his step is optional for trouleshooting 6ereros authentication issues' (he na*ed

 pipes protocol is not re<uired for %onfiguration Manager 200C site dataase operations and

should onl e used for trouleshooting 4ereros authentication prole*s'

Enale a*ed &ipes and (%&;I& in our SQL server protocols . default the are

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 28/41

disaled3, start up our SQL Server %onfiguration Manager, e5pand SQL Server etwor4

%onfiguration in the left pane, and choose &rotocols for MSSQLSE9-E9 .or whatever

our SQL server instance is called3'

9ight clic4 on na*ed pipes and set to enale, do the sa*e for (%&;I&,

once done ou *ust 9estart the SQL server service .clic4 on SQL Server Services in the

left pane, and in the right pane right clic4 on SQL Server .MSSQLSE9-E93, choose restart

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 29/41

Final confguration

Give the site server computer account Admin rights to the site system

Note: i you have setup SQL on a server which is NO the active directory

domain controller! then merely add the "omputer account as a mem#er o theLocal Administrators group on that server as in the screenshot #elow$

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 30/41

%owever! i you are installing an All &n One server '(" with SQL etc$$$) then doas ollows:

Start up Active Directory Users and Computers! and veriy that Advanced

Features are selected under View

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 31/41

Select Builtin in the Let pane! highlight Administrators in the right pane and

right clic*! choose properties and clic* on the Members a#! clic* Add$

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 32/41

when the Select Users, Contacts, Computers or Groups window appears!

choose Obect !ypes 

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 33/41

when the O#+ect ypes window appears! put a chec*mar* in the Computers 

option

clic* Advanced! ollowed #y Find Now

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 34/41

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 35/41

add the computer account #y clic*ing it,s name and O" $

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 36/41

"lic* O* again and now you should see the computer account added

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 37/41

"hec* "-&- properties or listening &- address in SQL Server "onfguration .anager

Start up the S#$ Server Con%&uration Mana&er! and e/pand S#$ Server

'etwor" Con%&uration on the let pane! highlight (rotocols )or

*+nstancename and dou#le clic* on !C(+( in the right pane

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 38/41

"lic* on the +( Addresses ta#

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 39/41

change the Status rom (isa#led 'deault) to -nabled or #oth the Servers

local ip and localhost values 'see screenshots)

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 40/41

restart the SQL service to ma*e the changes wor*

7/23/2019 Instalacion de SQL Server 2008 en Windows Server 2008

http://slidepdf.com/reader/full/instalacion-de-sql-server-2008-en-windows-server-2008 41/41

that,s it 0 all (one$

Side note: o open the frewall or 1indows Server 2334 read this post