Install SQL Server 2005

download Install SQL Server 2005

of 41

Transcript of Install SQL Server 2005

  • 8/8/2019 Install SQL Server 2005

    1/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Quy Trnh Ci tMicrosoft SQL Server 2005 Enterprise

    I. Chun b ci t SQL Server 2005:

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    2/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    SQL Server 2005Edition

    Description

    Enterprise Edition(Available in 32-bitand 64-bit versions)

    A comprehensive edition of SQLServer engineered for extremely highlevels of scalability and performance.Use this edition for large-scale,enterprise-level, mission-criticalapplications.The Enterprise Edition contains all thefeatures of the Standard Edition, aswell as enterprise features, including: Failover clustering Database mirroring Snapshot databases Mirrored backups Online page and file restore Distributed partitioned views

    Heterogeneous replication Peer-to-peer replicationStandard Edition(Available in 32-bitand 64-bit versions)

    Engineered for workgroup or department-level applications. Use thisedition if you do not need the levels of scalability, performance, andavailability offered by EnterpriseEdition.

    Express Edition(Available in 32-bitversion only)

    A version of SQL Server 2005 for disconnected clients or stand-aloneapplications.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    3/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Developer Edition(Available in32-bit and 64-bit

    versions)

    Includes all of the functionality of Enterprise Edition, but is licensed for use as a development and test system,

    not as a production server. Use thisedition to develop and test databasesolutions.This edition can be upgraded toEnterprise Edition for production use.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    4/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    II. Yu cu phn cng:

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    5/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Processor requirements

    The processor in the computer on whichyou intend to install SQL Server must bean Intel Pentium or compatible 400MHz

    or higher processor. Microsoftrecommends that you use a 700MHz or higher processor.

    Memoryrequirements

    A SQL Server 2005 Enterprise Editioninstallation must have a minimum of 128MB of memory, in addition to thatrequired by the operating system.Microsoft recommends that you use atleast 512 MB of memory.SQL Server 2005 Standard Edition andDeveloper Edition require a minimum of 64 MB of memory. Express Editionrequires 64 MB of memory when installedon Microsoft Windows 2000 or Windows 2003, and 32 MB on WindowsXP.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    6/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Hard diskrequirements

    The SQL Server 2005 databasecomponents require between 95 and 300MB of disk space, depending on the

    specific options chosen. A typicalinstallation requires 250 MB of diskspace.If you choose to install SQL Server 2005Analysis Services, you will require anadditional 50 MB of disk space for aminimal installation, or 130 MB for atypical installation.

    If you choose to install SQL Server 2005Reporting Services, you will require anadditional 5.5 MB of disk space for aminimal installation, or 8 MB for a typicalinstallation.

    Additionalhardware

    Additional hardware requirements for typical installation scenarios include:

    Monitor (SQL Server administrativetools are optimized for a screenresolution of 1024 x 786)Pointing deviceNetwork adapter CD / DVD drive (for installation fromCD)

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    7/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    III. Yu cu h iu hnh:

    IV. Cc bc ci t:1. Verify that your computer meets the minimumhardware and software requirements for SQL Server

    2005.2. Insert the SQL Server 2005 DVD or CD .3. If the SQL Server 2005 Setup screen is displayed,click Run the SQL Server Installation Wizard.4. If the SQL Server 2005 Setup screen is notdisplayed, view the contents of the DVD or CD anddouble-click setup.exe to start the setup program.

    5. Accept the End User License Agreement.6. Install the necessary prerequisite componentsdetected by SQL Server Component Update.7. Start the SQL Server Installation Wizardto install anew instance of SQL Server .

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    8/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    8. View the report from the System ConsistencyChecker .9. Enter the registration information.

    10. Select the features you want to install. You canselect predefined groups or use the Advanced option toselect individual components for each feature.11. Select whether to install a default instance or anamed instance.12. If you are installing on a Windows cluster, enter cluster configuration information.13. Enter service account information for the SQLServer 2005 services.14. Select an authentication mode. You can selectWindows Authenticationor Windows and SQL Server Authentication.15. Select a collation setting.16. If you selected the Reporting Services feature in step10, enter Reporting Services configuration information.

    17. Click Finish when installation is complete.18. Verify the installation by performing the followingtasks: Examine the Setup log files located in the C:\ProgramFiles\Microsoft SQL

    Server\90\Setup Bootstrap\LOG\Filesfolder.The Summary.txt file located in the C:\Program

    Files\Microsoft SQLServer\90\SetupBootstrap\LOG\folder lists the log files

    created. Examine the status of the SQL Server servicesinstalled.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    9/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Connect to SQL Server using sqlcmd.exe or SQLServer Management Studio .

    V. Chi tit ci t:

    - Phin bn ci t Microsoft SQL Server 2005 Enterprise for Windows 2003 Enterprise with SP1.- Cu hnh my CPU: Intel Xeon 3.2 GHz; RAM: 1GB(Intel

    Serverbroad).- Virtual Memory: 1024 3000 MBs.- Host: SRV_ORA2(IP: 172.29.8.12).- H iu hnh: Windows Server 2003 Enterprise Edition

    with SP1.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    10/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 1:Chy tp tin Setup.exe

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    11/41

  • 8/8/2019 Install SQL Server 2005

    12/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 3:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    13/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 4:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    14/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    15/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 5:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    16/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 6:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    17/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 7:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    18/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 8:Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    19/41

  • 8/8/2019 Install SQL Server 2005

    20/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 10: Chn

    Bc 11: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    21/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 12: Chn sau chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    22/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 13: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    23/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 14: Chn sau chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    24/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 15: Chn , nhppassword cho user sa sau chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    25/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 16: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    26/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 17: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    27/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 18: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    28/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 19: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    29/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 20: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    30/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 21: Chn

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    31/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Bc 22: Chn

    Bc 23: Chn khi ng li server.

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    32/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    VI. Verify the installation1. Click Start Run Cmd.2. Type the following command and pressENTER.

    NET START MSSQLSERVER

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    33/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    34/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    3. Enter the following command to connectto MSSQLSERVERusing the SQLCMDutility. Enter thefollowing Transact-SQL commands to retrieve theserver name:

    SELECT @@SERVERNAMEGO

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    35/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    36/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    4. Confirm that the server name is returned,and then enter the following command to exit theSQLCMDutility:

    Exit

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    37/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    38/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    5. At the command prompt, enter thefollowing command to stop the AWSQLSERVER2instance:

    NET STOP MSSQLSERVER

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    39/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    40/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    6. Close the command window.Review the log files

    1. Open Windows Explorer , and browse to the

    E:\Program Files\Microsoft SQL Server\90\SetupBootstrap\LOGfolder.2. Double-click Summary.txt and review thecontents of the file. Verify that setup succeeded withthe installation.3. Close Notepad.4. In Windows Explorer , browse to theC:\Program Files\Microsoft SQL Server\90\SetupBootstrap\LOG\Filesfolder.5. On the Viewmenu, point to Arrange Iconsby, and then click Type.6. The installation wizard generates XMLlogfiles using the naming conventionSQLSetup__Datastore.xml. You should open the file with the highest SetupID

    number, which relates to the most recent installation.7. Find the most recent XMLlog file, anddouble-click the file.8. In the Open With dialog box, click InternetExplorer , and then click OK.9. Review the contents of the file, whichdetail the steps taken during the installation process.Note that the first section lists the checks made by theSystem Consistency Checker (SCC) .10. Close Internet Explorer , and then closeWindows Explorer .

    IT Zone & Teen Zone Forum iTTeen.Net

  • 8/8/2019 Install SQL Server 2005

    41/41

    URL: www.iTTeen.Net Contact: Kentji - [email protected]

    Su tm