Installation Overview
This section guides you through the installation of Microsoft SQL Server on Windows and Linux platforms. Follow the steps below to prepare your environment, run the installer, and verify a successful deployment.
1. System Prerequisites
- Supported operating systems – see OS Support
- Minimum hardware requirements:
- 2 GHz or faster processor
- 4 GB RAM (8 GB recommended)
- 6 GB free disk space for the engine
- Required software:
- .NET Framework 4.8 (Windows)
- glibc 2.28 (Linux)
2. Download the Installer
Obtain the latest SQL Server installer from the official download page. Choose the appropriate edition (Developer, Express, Standard, Enterprise).
3. Run the Installation Wizard
- Launch the
setup.exe
(Windows) or run the./install.sh
script (Linux). - Select Installation → New SQL Server stand‑alone installation.
- Accept the license terms and click Next.
- Choose the Feature Selection you need (Database Engine Services, Full‑Text Search, etc.).
- Configure the Instance – default or named.
- Set the Server Configuration:
- Service accounts (use
NT Service\MSSQLSERVER
on Windows ormssql
user on Linux). - Collation (default:
SQL_Latin1_General_CP1_CI_AS
).
- Service accounts (use
- Define the Database Engine Authentication:
- Windows Authentication (recommended) or Mixed Mode.
- Create a strong
sa
password if Mixed Mode.
- Optionally install SQL Server Management Studio (SSMS) for Windows.
- Review the summary and click Install.
4. Post‑Installation Tasks
- Verify the service status:
systemctl status mssql-server # Linux net start MSSQLSERVER # Windows
- Run the
SQLServerSetup
diagnostics to ensure all components installed correctly. - Connect using
sqlcmd
or SSMS to confirm you can log in.
5. Next Steps
Proceed to Configuration to set up databases, security policies, and backups.