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:31] 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. | :!: Firewall warnings are mostly important if accessing the server from other hosts, which is very common, but not universal. | ||
- | - Add a local user to the MSSQL server | + | |
- | - Decide | + | |
- | - Install Microsoft .NET 3.5 SP1 (Server Manager -> Roles -> Add Role -> Application Server -> .Net 3.5.1) | + | * **sqldb** |
- | - Run the MSSQL setup | + | - Decide install |
- | - Run the " | + | * **E:** |
- | - Select " | + | - Install Microsoft .NET 3.5 SP1 |
- | - Install the Setup Support files | + | * **Server Manager -> Roles -> Add Role -> Application Server -> .Net 3.5.1** |
- | - On the "Setup Role" page choose | + | - Run the **MSSQL setup** |
+ | - Run the "**Planning -> System Configuration Checker**" and fix any errors | ||
+ | - Select "**Installation | ||
+ | - Install the **Setup Support files** | ||
+ | - On the "Setup Role" page choose | ||
+ | * **SQL Server Feature Installation** | ||
- On the " | - On the " | ||
- | * Database Engine Services | + | |
- | * Client Tools Connectivity | + | |
- | * Integration Services | + | |
- | * Management Tools – Basic | + | |
- | * Management Tools – Complete | + | |
- | - ssdfad | + | - **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:// | ||
+ | |||
+ | Follow these steps to uninstall previous installed SQL Server completely and then try to reinstall SQL Server 2008: | ||
+ | |||
+ | - Remove all SQL Server components from ' | ||
+ | - Backup the registry | ||
+ | - Delete the following keys in regedit: | ||
+ | * < | ||
+ | * < | ||
+ | - Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server | ||
+ | - Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server | ||
+ | - Rename all the SQL Server folders in the computer | ||
+ | - Reboot the machine | ||
+ | - Install SQL Server 2008 under an administrator account again |