Bài viết hướng dẫn cài SQL Server 2019 Community Technical Preview (CTP) 2.0 trên Windows Server 2016 VM (3 bước: chuẩn bị media, cài đặt, verify).
Bước 1: Chuẩn bị media cài đặt
- Truy cập trang tải SQL Server 2019.
- Chọn Windows -> Preview SQL Server 2019 for Windows -> Đăng ký thông tin -> Tải
SQLServerVNext-SSEI-Eval.exe. - Chạy file -> Chọn Download Media -> Chọn ISO -> Tải file
SQLServerVnextCTP2-x64-ENU.iso.
Bước 2: Cài đặt SQL Server 2019 CTP 2.0
- Mount ISO -> Chạy
setup.exe-> SQL Server Installation Center. - Tab Installation -> New SQL Server stand-alone installation.
- Product Key: Free edition (180 ngày) -> Developer.
- License Terms -> Accept.
- Microsoft Update -> Use Microsoft Update.
- Install Rules -> Next (bỏ qua warning).
- Feature Selection -> Select All (cài full features). Lưu ý: PolyBase cần Oracle JRE.
- Feature Rules: Cài JRE nếu lỗi -> Re-run check.
- Instance Configuration: Default instance.
- PolyBase Configuration: Mặc định.
- Server Configuration: Mặc định (Service Accounts, Collation).
- Database Engine Configuration:
- Authentication: Windows Auth -> Add Current User as admin.
- Data Directories: Tách data/log ra ổ khác nếu có.
- TempDB: Tăng số file data lên 4 (best practice).
- FILESTREAM: Disable (enable sau nếu cần).
- Analysis Services / Integration Services / Distributed Replay: Add Current User.
- Consent to install R / Python: Accept.
- Ready to Install -> Install.
- Sau khi xong: Verify tất cả features status = Succeeded.
Bước 3: Cài SSMS và Verify
- Từ Installation Center -> Install SQL Server Management Tools -> Tải SSMS 18.0 Preview 4.
- Cài SSMS -> Restart máy.
- Mở SSMS -> Connect
.(local default instance). - Object Explorer: System DBs (master, model, msdb, tempdb) + 3 DB PolyBase (DWConfiguration, DWDiagnostics, DWQueue).
- Chạy query verify:
SELECT SERVERPROPERTY('Edition') AS Edition, SERVERPROPERTY('ProductVersion') AS ProductVersion, SERVERPROPERTY('ProductLevel') AS ProductLevel; - Kết quả: Enterprise Evaluation Edition, version 15.0.1000.34 (CTP 2.0).
SQL Server 2019 CTP 2.0 sẵn sàng để khám phá!