VM : 192.168.20.9 => rdcb + sql
RDS broker 2 dans le domaine comptaplus.loc
Télécharger SQL Server :
MANAGEMENT STUDIO :
https://download.microsoft.com/download/7519f0ff-997c-4f36-b5aa-9a51d47dd34c/SSMS-Setup-ENU.exe
faut cocher trust server certificate
Lancer l’installation
Lance le fichier téléchargé (
SQL2019-SSEI-Expr.exe
)Choisis "Installation personnalisée"
Dans SQL Server Installation Center :
Clique sur "Nouvelle installation SQL Server"
3️⃣ Configuration de l’installation
Instance : par défaut (
SQLEXPRESS
) ou nommée (RDSQL
)Fonctionnalités :
Moteur de base de données ✔️
Type d’authentification :
Choisir "Mode mixte (SQL Server + Windows)"
Définir un mot de passe
sa
Ajouter ton compte admin comme administrateur SQL
Post-installation (très important)
✅ Activer TCP/IP :
Ouvre SQL Server Configuration Manager
Va dans : SQL Server Network Configuration > Protocols for [Instance]
Active TCP/IP
Redémarre le service SQL Server
Ajouter le serveur sur RDS BROEKR 1 (ajout de serveurs )
puis ajout la fonctionnalité "BROKER " (bureau à distance) et accè web
🔗 Lien officiel :
👉 https://aka.ms/sql2019express (version Express)
2️⃣ Lancer l’installation
Lance le fichier téléchargé (
SQL2019-SSEI-Expr.exe
)Choisis "Installation personnalisée"
Dans SQL Server Installation Center :
Clique sur "Nouvelle installation SQL Server"
3️⃣ Configuration de l’installation
Instance : par défaut (
SQLEXPRESS
) ou nommée (RDSQL
)Fonctionnalités :
Moteur de base de données ✔️
Type d’authentification :
Choisir "Mode mixte (SQL Server + Windows)"
Définir un mot de passe
sa
Ajouter ton compte admin comme administrateur SQL
4️⃣ Finaliser et tester
Clique sur "Installer"
Une fois terminé, ouvre SQL Server Management Studio (SSMS)
Si SSMS n’est pas installé : 👉 https://aka.ms/ssms
5️⃣ Post-installation (très important)
✅ Activer TCP/IP :
Ouvre SQL Server Configuration Manager
Va dans : SQL Server Network Configuration > Protocols for [Instance]
Active TCP/IP
Redémarre le service SQL Server
✅ Ouvrir le port 1433 dans le pare-feu Windows :
cmdnetsh advfirewall firewall add rule name="SQL Server TCP 1433" dir=in action=allow protocol=TCP localport=1433
✅ Créer ta base RDCB_DB
avec SSMS
💡 Exemple de chaîne de connexion pour le Broker
iniDRIVER=SQL Server Native Client 11.0;
SERVER=RDS-SQL;
Trusted_Connection=Yes;
APP=Remote Desktop Services Connection Broker;
DATABASE=RDCB_DB