zoukankan      html  css  js  c++  java
  • Installing SQL Server 2008 Express Guidance

    Link:Installing SQL Server 2008 Express Guidance

    Introduction

    There are twooptions for installing SQL Server 2008 Express, Basic and Advanced.

    Basic: This option is recommended for mostusers. If you need a basic installation, visit the SQL Server Express download page(http://www.microsoft.com/express/sql/download/). The Microsoft Web PlatformInstaller runs a basic default installation. If you require advancedcustomization of your installation then the Microsoft Download Center is theappropriate location for installing SQL Server 2008 Express.

    Advanced: If you need to customize the installation,you can obtain Express from the Microsoft Download Center. Here are the Expresseditions available for download.

    Basic Installation Through Web Platform Installer

    The WebPlatform Installer provides a default installation appropriate for mostcustomers. It is a hands-off install providing customers easy an installationof SQL Server 2008 Express. When you install Express through Web PlatformInstaller, setup uses default configuration values. The Web PI detection logicwill not let you install Express if the installation will conflict with anexisting install of SQL Server. If this happens, you will need to install fromthe download center.

    Web PIinstallation uses the following default command line parameters. If you need tochange these values, you will need to perform a custom install.

    • /q
    • /ACTION=Install
    • /FEATURES=SQL,RS,TOOLS
    • /INSTANCENAME=SQLEXPRESS
    • /SQLSVCACCOUNT="NTAUTHORITY\Network Service"
    • /SQLSVCStartupType=Automatic
    • /RSSVCACCOUNT="NTAUTHORITY\Network Service"
    • /RSSVCStartupType=Automatic
    • /AddCurrentUserAsSqlAdmin
    • /ENABLERANU=1

    Advanced Installation Through the Microsoft Download Center

    It is onlynecessary to use the Microsoft Download Center when you require non-defaultconfiguration values for an installation of SQL Server 2008 Express.

    Installation Scenarios

    An advancedinstallation of SQL Server 2008 Express through the Download Center may benecessary if any of the scenarios below apply to you.

    Upgrading

    If you areupgrading from SQL Server 2000 or SQL Server 2005 to SQL Server 2008 acustom/advanced installation is required.

    For moreinformation, see “How to Identify Your SQL ServerVersion and Edition”(http://support.microsoft.com/default.aspx/kb/321185).

    Specifying an Instance Name other than SQLEXPRESS

    SQL Server2008 Express uses the default instance name of “SQLEXPRESS”.  Changing the instance name or installingadditional instances requires a custom installation. You cannot change instancenames once the installation is complete. There are several scenarios of whenyou would to provide your own instance name.

    • Thedefault instance name has already been used (installing multiple instances)
    • Yourenvironment (application or standards) requires the use of an alternateinstance name. For example, you may use instance names to segment groups ororganizations within the company, i.e. Sales, Operation, Finance, etc.
    • Youwant to provide a higher level of abstraction from the underlying databasesoftware.

    Embedding

    If youdevelop software applications that embed SQL Server 2008 Express, custominstallations are typically required. For more information, see Embedding SQL Server 2008 Express in an Application(http://go.microsoft.com/fwlink/?linkid=155160).

    Further Setup Customization

    Some SQLServer configuration settings can only be set during install. Once theinstallation is complete, you cannot change these settings. Any change to theconfiguration settings would require a new installation of the product. Somesettings directly impact how data is stored and organized so changing theconfiguration setting would require significant data manipulation work in orderto preserve the data.

    Setting the non-Default Collation

    Collationseffect how characters (data) for a language or alphabet are recognized andsorted. A majority of SQL Server installations use the default collation. Thereare some situations where the use of a collation other than the defaultcollation setting would be required.

    • Selecta BINARY2 collation if binary code point based ordering is acceptable.
    • Selecta Windows collation for consistent comparison across data types.
    • Usenew 100 level collation for better linguistic sorting support. For moreinformation, see Collation and Unicode Support(http://msdn.microsoft.com/en-us/library/ms143503.aspx).
    • Ifyou plan to migrate a database to the upgraded instance of SQL Server Express,select the collation that matches your existing collation of the database.

    For moreinformation, see Collation Settings in Setup(http://msdn.microsoft.com/en-us/library/ms143508.aspx).

    Enabling Filestream

    TheFilestream configuration setting specifies where to store unstructured datasuch as text documents, images or videos. You can store this unstructured datainside the database or outside the database in the NTFS files system. Thedefault setting is to store the data inside the database. Storing outside thedatabase can cause data management complexities. You should consider enablingFILESTREAM if:

    • Objectsbeing stored are, on average, larger than 1 MB.
    • Fastread access is important.
    • Youare developing applications that use a middle tier for application logic.

    For smallerobjects, storing unstructured data in the database often provides betterstreaming performance.

    For moreinformation, see FILESTREAM Overview (http://msdn.microsoft.com/en-us/library/bb933993.aspx)and FILESTREAM Storage in SQL Server 2008 (http://msdn.microsoft.com/en-us/library/cc949109.aspx).

    Enabling Error Reporting

    Enabling theError Reporting setting allows you to report Windows and SQL Server errors toMicrosoft via the internet. Microsoft uses these error reports to improvefuture releases of SQL Server. Error reports contain only technical data. Allerror reports are confidential and anonymous.

    Customizing Installation Directories

    Installationdirectories are unique folder locations used for placement of:

    • Programsoftware
    • Systemdatabase
    • Userdatabases and logs
    • TempDB and log
    • Backups

    Duringinstallation, you have the option to changing the default directories for someor all of the folders. Business requirements or environmental factors maydictate specifying directories other than the default.

    Configuring SQL Server Service Accounts

    SQL Serverincludes many services ranging from tools such as SQL Server Browser service tomajor product components such as Analysis services and Reporting services.During installation, you can specify which services to install and the accountin which they run under. By default, most SQL Server services run under theNetwork Service account during initial setup. For better manageability and amore secure environment, it is recommended you:

    • Useseparate accounts for each SQL Server service.
    • Configureservice accounts to use the lowest possible permissions. This can reducesurface area for attacks.
    • AssociateSQL Server services with low privileged Windows local user accounts, or domainuser accounts.

    For moreinformation, see Setting Up Windows Service Accounts(http://msdn.microsoft.com/en-us/library/ms143504.aspx).

    Conclusion

    For more information:

    http://www.microsoft.com/sqlserver/ : SQL Server Web site

    http://technet.microsoft.com/en-us/sqlserver/ : SQL Server TechCenter

    http://msdn.microsoft.com/en-us/sqlserver/ : SQL Server DevCenter 




    作者:Angelo Lee
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.
  • 相关阅读:
    奔驰4-MATIC和奥迪quattro的区别和共同点是什么(杂记)
    ibatis.net:QueryForObject(转)
    iBatis入门(转)
    javax.servlet.ServletException: java.lang.NullPointerException 空指针异常
    报错:Action[/statisticsManage] does not contain specified method (check logs)
    eclipse下,64位tomcat报错(转)
    Resource '/servers' does not exist 问题的解决(转)
    Ext.data.SimpleStore的使用方法
    combo的displayField和valueField属性
    Exception occurred during processing request: null java.lang.NullPointerException
  • 原文地址:https://www.cnblogs.com/yefengmeander/p/2887645.html
Copyright © 2011-2022 走看看