Installing Microsoft SQL Server
SQL Server 2012
SQL Server 2008 R2
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
Decide install location
Install Microsoft .NET 3.5 SP1
Run the MSSQL setup
Run the “Planning → System Configuration Checker” and fix any errors
Select “Installation → New installation or add features to an existing installation”
Install the Setup Support files
On the “Setup Role” page choose
On the “Feature Selection” page, select:
Change the Shared Feature directories from C: to E: with the same path
On the “Instance Configuration” page:
On the “Server Configuration” page:
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 “Automatic”
Set “SQL Server Database Engine” is also set to Automatic
Verify that “SQL Server Browser” is set to Disabled and has the account name set to “NT AUTHORITY\LOCAL SERVICE”
On the “Database Engine Configuration” page:
Finish the installation
Install the latest SQL Server Service Pack
Run Windows Update
Initial Configuration
Run “Microsoft SQL Server Management Studio” and log in as the “sa” user
Adjust “Maximum Server Memory (
MB)”:
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. If your application requires Reporting Services, you must check an additional box on the “Feature Selection” page.
Apps Requiring Reporting Services
Complete Uninstall
http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/eb98e589-e147-4168-9da0-4a0527b3a6fa
Follow these steps to uninstall previous installed SQL Server completely and then try to reinstall SQL Server 2008:
Remove all SQL Server components from 'Programs and Features'
Backup the registry
Delete the following keys in regedit:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
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