Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> SQL Server

Hướng dẫn cài đặt SQL Server 2019 CTP 2.0 chi tiết

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

  1. Truy cập trang tải SQL Server 2019.
  2. Chọn Windows -> Preview SQL Server 2019 for Windows -> Đăng ký thông tin -> Tải SQLServerVNext-SSEI-Eval.exe.
  3. 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

  1. Mount ISO -> Chạy setup.exe -> SQL Server Installation Center.
  2. Tab Installation -> New SQL Server stand-alone installation.
  3. Product Key: Free edition (180 ngày) -> Developer.
  4. License Terms -> Accept.
  5. Microsoft Update -> Use Microsoft Update.
  6. Install Rules -> Next (bỏ qua warning).
  7. Feature Selection -> Select All (cài full features). Lưu ý: PolyBase cần Oracle JRE.
  8. Feature Rules: Cài JRE nếu lỗi -> Re-run check.
  9. Instance Configuration: Default instance.
  10. PolyBase Configuration: Mặc định.
  11. Server Configuration: Mặc định (Service Accounts, Collation).
  12. 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).
  13. Analysis Services / Integration Services / Distributed Replay: Add Current User.
  14. Consent to install R / Python: Accept.
  15. Ready to Install -> Install.
  16. Sau khi xong: Verify tất cả features status = Succeeded.

Bước 3: Cài SSMS và Verify

  1. Từ Installation Center -> Install SQL Server Management Tools -> Tải SSMS 18.0 Preview 4.
  2. Cài SSMS -> Restart máy.
  3. Mở SSMS -> Connect . (local default instance).
  4. Object Explorer: System DBs (master, model, msdb, tempdb) + 3 DB PolyBase (DWConfiguration, DWDiagnostics, DWQueue).
  5. Chạy query verify:
    SELECT SERVERPROPERTY('Edition') AS Edition,
           SERVERPROPERTY('ProductVersion') AS ProductVersion,
           SERVERPROPERTY('ProductLevel') AS ProductLevel;
  6. 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á!