· 7 years ago · Mar 08, 2019, 10:44 PM
1 ___ ___
2 / /\ / /\ ___
3 / /::\ / /:/_ /__/\
4 / /:/\:\ / /:/ /\ \__\:\
5 / /:/ \:\ / /:/ /:/_ / /::\
6/__/:/ \__\:\ /__/:/ /:/ /\ __/ /:/\/
7\ \:\ / /:/ \ \:\/:/ /:/ /__/\/:/
8 \ \:\ /:/ \ \::/ /:/ \ \::/
9 \ \:\/:/ \ \:\/:/ \ \:\
10 \ \::/ \ \::/ \__\/
11 \__\/ \__\/ ~~ v1.6.1
12
13Organizr v2 installer w/ WIN-ACME support (LE CERTS GEN)
14
15## Note for SSL site setup:
16- Certificate Type: Single certifcate only! Wildcard certificates aren't supported by WIN-ACME at the moment.
17- Validation: Supports HTTP Validation (http-01) only! so requires port forwarding of ports 80 and 443
18- Other: you can check certificate status and renewals by running this command via cmd,
19 for e.g: c:\nginx\winacme\letsencrypt.exe
20- For more info on WIN-ACME, check out their wiki: https://github.com/PKISharp/win-acme/wiki
21
22Press any key to continue . . .
23
24
25# Do you want to Install or Uninstall? [i= install, u= uninstall]
26i
27
28###################################
29INSTALL LOCATION
30###################################
31
32# Where do you want to install Nginx?
33- Press enter to use default and recommended directory: c:\nginx
34c:\nginx
35
36#################################
37SITE TEMPLATE TYPE: HTTP or HTTPS
38#################################
39
40# Do you want to create a SSL enabled site? This option will generate LE SSL certs [y/n]
41y
42
43
44# Enter your domain name
45**********.asuscomm.com
46
47# Enter an email address for Let's Encrypt renewal and fail notices
48**********@gmail.com
49
50#############################
51Downloading Requirements
52############################
53
541. Downloading Nginx 1.15.8
55 Done!
562. Downloading PHP 7.3.0
57 Done!
583. Downloading NSSM 2.24-101
59 Done!
604. Downloading Visual C++ Redistributable for Visual Studio 2017
61 Done!
625. Downloading WIN-ACME 1.9.12.1
63 Done!
64
65Download Completed...
66
67#############################
68Unzipping Files
69#############################
70
711. Unziping Nginx
72 Done!
732. Unziping PHP
74 Done!
753. Unziping NSM
76 Done!
774. Unziping Win-acme
78 Done!
79
80####################################
81Moving Nginx to destination
82####################################
83
84
85
86------------------------------------------------------------------------------
87
88 Total Copied Skipped Mismatch FAILED Extras
89 Dirs : 13 13 0 0 0 0
90 Files : 28 28 0 0 0 0
91 Bytes : 3.86 m 3.86 m 0 0 0 0
92 Times : 0:00:00 0:00:00 0:00:00 0:00:00
93
94
95 Speed : 119342941 Bytes/sec.
96 Speed : 6828.857 MegaBytes/min.
97 Ended : Friday, March 8, 2019 5:34:49 PM
98
99
100####################################
101Moving PHP to destination
102####################################
103
104
105
106------------------------------------------------------------------------------
107
108 Total Copied Skipped Mismatch FAILED Extras
109 Dirs : 8 8 0 0 0 0
110 Files : 86 86 0 0 0 0
111 Bytes : 63.90 m 63.90 m 0 0 0 0
112 Times : 0:00:00 0:00:00 0:00:00 0:00:00
113
114
115 Speed : 398873113 Bytes/sec.
116 Speed : 22823.702 MegaBytes/min.
117 Ended : Friday, March 8, 2019 5:34:49 PM
118
119
120####################################
121Moving NSSM to destination
122####################################
123
124
125
126------------------------------------------------------------------------------
127
128 Total Copied Skipped Mismatch FAILED Extras
129 Dirs : 1 0 1 0 0 197
130 Files : 1 0 1 0 0 4337
131 Bytes : 360.0 k 0 360.0 k 0 0 1.864 g
132 Times : 0:00:00 0:00:00 0:00:00 0:00:00
133 Ended : Friday, March 8, 2019 5:34:49 PM
134
135
136####################################
137Moving WIN-ACME to destination
138####################################
139
140
141
142------------------------------------------------------------------------------
143
144 Total Copied Skipped Mismatch FAILED Extras
145 Dirs : 2 2 0 0 0 0
146 Files : 11 11 0 0 0 0
147 Bytes : 4.79 m 4.79 m 0 0 0 0
148 Times : 0:00:00 0:00:00 0:00:00 0:00:00
149
150
151 Speed : 228434954 Bytes/sec.
152 Speed : 13071.152 MegaBytes/min.
153 Ended : Friday, March 8, 2019 5:34:49 PM
154
155
156####################################
157Creating Nginx service
158####################################
159
160In order to save and reload Nginx configuration, you need to run the NGINX service as the administrator
161
162Username: MediaServer
163Enter Password: ********
164
165Service "NGINX" installed successfully!
166Set parameter "ObjectName" for service "NGINX".
167NGINX: Unexpected status SERVICE_START_PENDING in response to START control.
168NGINX: STOP: The operation completed successfully.
169NGINX: START: The operation completed successfully.
170
171Installing Visual C++ Redistributable for Visual Studio 2017 [PHP 7+ req]
172
173####################################
174Creating PHP service
175####################################
176
177Service "PHP" installed successfully!
178Set parameter "AppParameters" for service "PHP".
179Set parameter "ObjectName" for service "PHP".
180
181Setting PHP system variables
182
183SUCCESS: Specified value was saved.
184
185SUCCESS: Specified value was saved.
186
187PHP: START: The operation completed successfully.
188PHP: STOP: The operation completed successfully.
189PHP: START: The operation completed successfully.
190
191####################################
192Downloading Organizr v2
193####################################
194
195Deleted file - C:\Users\MediaServer\Desktop\OrganizrInstaller-master\windows\owi\Organizr-2-master.zip
196
197
198------------------------------------------------------------------------------
199
200 Total Copied Skipped Mismatch FAILED Extras
201 Dirs : 859 859 0 0 0 0
202 Files : 4116 4116 0 0 0 0
203 Bytes : 59.64 m 59.64 m 0 0 0 0
204 Times : 0:00:06 0:00:05 0:00:00 0:00:00
205
206
207 Speed : 11089442 Bytes/sec.
208 Speed : 634.542 MegaBytes/min.
209 Ended : Friday, March 8, 2019 5:36:24 PM
210
211
212####################################
213Updating Nginx and PHP config
214####################################
215
216 1 file(s) copied.
217 1 file(s) copied.
218 1 file(s) copied.
219PHP: STOP: The operation completed successfully.
220PHP: START: The operation completed successfully.
221NGINX: STOP: The operation completed successfully.
222NGINX: Unexpected status SERVICE_START_PENDING in response to START control.
223
224
225Waiting for 0 seconds, press CTRL+C to quit ...
226Nginx status : SERVICE_RUNNING
227PHP status : SERVICE_RUNNING
228
229
230#########################################
231CREATE WINDOWS FIREWALL RULE
232#########################################
233
234ADDING RULE FOR PORT 80
235Ok.
236
237ADDING RULE FOR PORT 443
238Ok.
239
240
241#########################################
242WIN-ACME: Genertating LE SSL Certificates
243#########################################
244
245
246 [INFO] A Simple ACME Client for Windows (WACS)
247 [INFO] Software version 1912.1.6872.39942 (RELEASE)
248 [INFO] IIS not detected
249 [INFO] ACME server https://acme-v01.api.letsencrypt.org/
250 [INFO] Please report issues at https://github.com/PKISharp/win-acme
251
252 [INFO] Running in Unattended mode
253 [INFO] Plugin Manual generated target [Manual] [1 binding - ***********.asuscomm.com]
254 [INFO] Authorize identifier: **********.asuscomm.com
255 [INFO] Cached authorization result: valid
256 [WARN] Using cached certificate for **********.asuscomm.com 2019/3/8 17:36:36 PM. To force issue of a new certificate within 24 hours, delete the .pfx file from the CertificatePath or run with the --forcerenewal switch. Be ware that you might run into rate limits doing so.
257 [WARN] Certificate with thumbprint A705F60DEEAFFE14D1594D6F58FF6833AF523989 is already in the store
258 [INFO] Renewal for *********.asuscomm.com succeeded
259 [INFO] Next renewal scheduled at 2019/5/2 22:36:36 PM
260
261nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in c:\nginx/conf/nginx.conf:29
262PHP: STOP: The operation completed successfully.
263PHP: START: The operation completed successfully.
264NGINX: STOP: The operation completed successfully.
265NGINX: START: The operation completed successfully.
266
267
268Waiting for 0 seconds, press CTRL+C to quit ...
269Nginx status : SERVICE_RUNNING
270PHP status : SERVICE_RUNNING
271
272########## Installation Completed ##########
273
274To open Organizr v2 [https://**********.asuscomm.com] Press any key to continue . . .
275
276############################
277Cleaning up downloaded Files
278############################
279
280nginx.zip DELETED
281php.zip DELETED
282nssm.zip DELETED
283vc_redist.exe DELETED
284nssm directory DELETED
285winacme.zip DELETED
286
287Done!
288
289Exit: Press any key to continue . . .