You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-7Lines changed: 31 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,9 +74,9 @@ Below are the minimum requirements for setting up your C4B server via this guide
74
74
75
75
### Step 1: Begin C4B Setup
76
76
77
-
> :exclamation:**[IMPORTANT]** All commands should be run from an **elevated** PowerShell window (and **not ISE**), by opening your PowerShell console with the `Run as Administrator` option.
77
+
> :exclamation:**[IMPORTANT]** All commands must be run from an **elevated** Windows PowerShell window (and **not ISE**), by opening your PowerShell console with the `Run as Administrator` option.
78
78
79
-
1. Open a PowerShell console with the `Run as Administrator` option, and paste and run the following code:
79
+
1. Open a Windows PowerShell console with the `Run as Administrator` option, and paste and run the following code:
80
80
81
81
```powershell
82
82
Set-ExecutionPolicy Bypass -Scope Process -Force
@@ -96,11 +96,11 @@ Below are the minimum requirements for setting up your C4B server via this guide
96
96
> </ul>
97
97
> </details>
98
98
99
-
> :memo:**Offline Install**: You can now copy the `C:\choco-setup\` directory to any computer to continue the installation. To zip up that directory, run `Compress-Archive -Path C:\choco-setup\files\* -DestinationPath C:\choco-setup\CCM-Files.zip`. Move the archive to your new machine, and run `Expand-Archive -Path /path/to/CCM-Files.zip -DestinationPath C:\choco-setup\files -Force`. You should then run `Set-Location "$env:SystemDrive\choco-setup\files"; .\Start-C4bSetup.ps1`, and continue with the guide.
99
+
> :memo:**Offline Install**: You can now copy the `C:\choco-setup\` directory to any computer to continue the installation. To zip up that directory, run `Compress-Archive -Path C:\choco-setup\files\* -DestinationPath C:\choco-setup\C4B-Files.zip`. Move the archive to your new machine, and run `Expand-Archive -Path /path/to/C4B-Files.zip -DestinationPath C:\choco-setup\files -Force`. You should then run `Set-Location "$env:SystemDrive\choco-setup\files"; .\Start-C4bSetup.ps1`, and continue with the guide.
100
100
101
101
### Step 2: Nexus Setup
102
102
103
-
1. In the same **elevated** PowerShell console as above, paste and run the following code:
103
+
1. In the same **elevated** Windows PowerShell console as above, paste and run the following code:
104
104
105
105
```powershell
106
106
Set-Location "$env:SystemDrive\choco-setup\files"
@@ -122,7 +122,7 @@ Below are the minimum requirements for setting up your C4B server via this guide
122
122
> </ul>
123
123
> </details>
124
124
125
-
### Step 3: CCM Setup
125
+
### Step 3: Chocolatey Central Management Setup
126
126
127
127
1. In the same PowerShell Administrator console as above, paste and run the following code:
128
128
@@ -136,7 +136,7 @@ Below are the minimum requirements for setting up your C4B server via this guide
136
136
> <ul class="list-style-type-disc">
137
137
> <li>Installs MS SQL Express and SQL Server Management Studio (SSMS)</li>
138
138
> <li>Creates "ChocolateyManagement" database, and adds appropriate `ChocoUser` permissions</li>
139
-
> <li>Installs all 3 CCM packages (database, service, web), with correct parameters</li>
139
+
> <li>Installs all 3 Chocolatey Central Management packages (database, service, web), with correct parameters</li>
140
140
> <li>Outputs data to a JSON file to pass between scripts</li>
141
141
> </ul>
142
142
> </details>
@@ -209,7 +209,31 @@ Below are the minimum requirements for setting up your C4B server via this guide
209
209
210
210
> :mag: **FYI**: A `Readme.html` file will now be generated on your desktop. This file contains login information for all 3 web portals (CCM, Nexus, and Jenkins). This `Readme.html`, along with all 3 web portals, will automatically be opened in your browser.
211
211
212
-
### Step 6: Setting up Endpoints
212
+
### Step 6: Verification
213
+
214
+
1. In the same **elevated** PowerShell console as above, paste and run the following code:
If you expect services to be available at `chocoserver.yourcompany.com`, then your command would look like: `.\Start-C4bVerification.ps1 -Fqdn 'chocoserver.yourcompany.com'`
222
+
223
+
> <details>
224
+
> <summary><strong>What does this script do? (click to expand)</strong></summary>
225
+
> <ul class="list-style-type-disc">
226
+
> <li>Verifies Nexus Repository installation</li>
227
+
> <li>Verifies Central Management installation</li>
228
+
> <li>Verifies Jenkins installation</li>
229
+
> <li>Ensures system firewall is configured</li>
230
+
> <li>Ensures Windows Features are installed</li>
231
+
> <li>Ensures services are correctly configured</li>
232
+
> <li>Ensured README is created</li>
233
+
> </ul>
234
+
> </details>
235
+
236
+
### Step 7: Setting up Endpoints
213
237
214
238
1. Find the `Register-C4bEndpoint.ps1` script in the `choco-setup\files\scripts\` directory on your C4B Server. Copy this script to your client endpoint.
0 commit comments