Full setup including prerequisites
1. Prerequisites
Before installation, confirm the following:
Hardware:
CPU: 1.4 GHz or faster (2 GHz+ recommended)
RAM: 2 GB minimum (4 GB+ recommended)
Disk: 10 GB+ free space for setup
64-bit processor required (x64)
Operating System:
Windows Server 2016, 2019, 2022
Windows 10 or 11 (Pro or Enterprise)
Software Requirements:
.NET Framework 4.8 or higher
Windows PowerShell 5.1
Microsoft Visual C++ Redistributable (auto-installed by setup)
Administrative privileges
Latest Windows updates applied
Network (if using remote connections):
Static IP or hostname
TCP 1433 open in firewall
SQL Browser service (UDP 1434) enabled if using named instances
---
2. Download
From https://www.microsoft.com/sql-server.
Choose:
Developer Edition (full features, free for dev/test)
Express Edition (free, limited resources)
---
3. Install
1. Run the installer → select Custom.
2. SQL Server Installation Center → New SQL Server stand-alone installation.
3. Accept license → proceed.
4. Feature Selection → choose:
Database Engine Services
SQL Server Replication
Full-Text and Semantic Search
(optional) SQL Server Data Tools or Management Tools
---
4. Instance Configuration
Choose Default instance (MSSQLSERVER) or Named instance.
---
5. Server Configuration
Leave default service accounts or set domain accounts for enterprise use.
Set SQL Server Agent and SQL Server Browser to Automatic if needed.
---
6. Database Engine Configuration
Authentication:
Windows Authentication or
Mixed Mode → define sa password
Add your Windows user as administrator.
---
7. Complete Installation
Click Install and wait for success confirmation.
---
8. Install SQL Server Management Studio (SSMS)
Download from https://aka.ms/ssms.
Install and connect with:
Server name: localhost or .\SQLEXPRESS
Authentication: Windows or SQL
---
9. Enable Remote Access (optional)
1. In SSMS: Right-click server → Properties → Connections → enable Allow remote connections.
2. Open Windows Firewall → allow port 1433 (TCP) and 1434 (UDP).
3. Restart SQL Server service.
---
10. Verify
CREATE DATABASE TestDB;
GO
SELECT name FROM sys.databases;
Comments
Post a Comment