This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:windows:mssql_install [2013/01/31 14:25] gcooper |
computing:windows:mssql_install [2015/02/06 11:21] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Microsoft SQL Server ====== | ====== Installing Microsoft SQL Server ====== | ||
+ | |||
+ | ===== SQL Server 2012 ===== | ||
+ | |||
+ | http:// | ||
===== SQL Server 2008 R2 ===== | ===== SQL Server 2008 R2 ===== | ||
+ | |||
+ | http:// | ||
http:// | http:// | ||
Line 7: | Line 13: | ||
http:// | http:// | ||
- | ==== Install ==== | + | ==== Installation ==== |
+ | |||
+ | :!: Firewall warnings are mostly important if accessing the server from other hosts, which is very common, but not universal. | ||
+ | |||
+ | - Start downloading the latest MSSQL Service Pack | ||
+ | - Add a local user to the MSSQL server | ||
+ | * **sqldb** | ||
+ | - Decide install location | ||
+ | * **E:** | ||
+ | - Install | ||
+ | * **Server Manager -> Roles -> Add Role -> Application Server -> .Net 3.5.1** | ||
+ | - Run the **MSSQL setup** | ||
+ | - Run the " | ||
+ | - Select " | ||
+ | - Install the **Setup Support files** | ||
+ | - On the "Setup Role" page choose | ||
+ | * **SQL Server Feature Installation** | ||
+ | - On the " | ||
+ | * **Database Engine Services** | ||
+ | * **Client Tools Connectivity** | ||
+ | * **Integration Services** | ||
+ | * **Management Tools – Basic** | ||
+ | * **Management Tools – Complete** | ||
+ | - **Change the Shared Feature directories from C: to E:** with the same path | ||
+ | - On the " | ||
+ | * **Choose the default instance and use the default instance ID (MSSQLSERVER)** | ||
+ | * **Change the instance root directory from C: to E:** with the same path | ||
+ | - On the " | ||
+ | * Select "**Use the same account for all SQL Server services**" | ||
+ | * Enter the local username and password you created above (**sqldb**) | ||
+ | * **Set "SQL Server Agent to " | ||
+ | * **Set "SQL Server Database Engine" | ||
+ | * Verify that **"SQL Server Browser" | ||
+ | - On the " | ||
+ | * " | ||
+ | * **Choose Mixed Mode** (SQL Server authentication and Windows authentication) | ||
+ | * **Set a password for the " | ||
+ | * Under " | ||
+ | * "Data Directories" | ||
+ | * **Change all the C:'s to E:' | ||
+ | - **Finish the installation** | ||
+ | - **Install the latest SQL Server Service Pack** | ||
+ | - **Run Windows Update** | ||
+ | |||
+ | ==== Initial Configuration ==== | ||
+ | |||
+ | - Run " | ||
+ | - Adjust " | ||
+ | * Right-click SQL Server object -> Properties -> Memory | ||
+ | * This page has a nice chart: http:// | ||
+ | |||
+ | ==== Firewall ==== | ||
+ | |||
+ | ^ Port to Allow ^ Description | ||
+ | |1433 TCP | Default Instance | ||
+ | |1434 UDP | Browser Service | ||
+ | |80 TCP | HTTP Access to ReportServer | ||
+ | |||
+ | ==== Reporting Services ==== | ||
+ | |||
+ | The above installation procedure does NOT install Reporting Services. | ||
+ | |||
+ | === Apps Requiring Reporting Services === | ||
+ | |||
+ | * Maxwell Pro Contractor MX | ||
+ | |||
+ | ====== Complete Uninstall ====== | ||
+ | |||
+ | http:// | ||
- | :!: Firewall warnings are mostly important if accessing the server from other hosts. | + | Follow these steps to uninstall previous installed SQL Server completely and then try to reinstall SQL Server 2008: |
- | - Add a local user to the MSSQL server (sqldb) | + | - Remove all SQL Server components from ' |
- | - Decide where to install to (E:) | + | - Backup the registry |
- | - Install | + | - Delete the following keys in regedit: |
- | - Run the MSSQL setup | + | * < |
- | | + | * <file>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer</ |
- | - Select " | + | - Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server |
- | - Install | + | - Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server |
- | - On the "Setup Role" page choose "**SQL Server Feature Installation**." | + | - Rename all the SQL Server folders in the computer |
- | - | + | - Reboot |
+ | - Install SQL Server 2008 under an administrator account again |