-
Notifications
You must be signed in to change notification settings - Fork 8
/
sitecore-prerequisites.json
143 lines (140 loc) · 4.5 KB
/
sitecore-prerequisites.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"Parameters": {
"LocalStorage": {
"Type": "string",
"Description": "The root folder for packages"
},
"InstallMongoDb" : {
"Type" : "boolean"
},
"InstallSolr" : {
"Type" : "boolean"
},
"JREInstaller": {
"Type": "string",
"Description": "The path to the Java SE Runtime Environment installer.",
"DefaultValue": "jre-8u151-windows-x64.exe"
},
"RoboMongo": {
"Type": "string",
"DefaultValue": "robo3t-1.1.1-windows-x86_64-c93c6b0.exe"
},
"VC2015Redist": {
"Type": "string",
"DefaultValue": "vc_redist.x64.exe",
"Desription": "Package required by RoboT i MongoDB"
},
"MongoDbInstaller": {
"Type": "string",
"Description": "The path to the MongoDB installer.",
"DefaultValue": "mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.msi"
},
"SolrPackage": {
"Type": "string",
"Description": "The path to the SOLR zip package.",
"DefaultValue": "solr-6.6.2.zip"
},
"SolrVersionedFolder": {
"Type": "string",
"Description": "The path to the SOLR zip package.",
"DefaultValue": "solr-6.6.2"
},
"SolrUrl": {
"Type": "string",
"DefaultValue": "http://localhost:8983/solr",
"Description": "The Solr instance to use."
},
"SolrUseSSL": {
"Type": "boolean",
"DefaultValue": true,
"Description": "Should Solr require HTTPS for access?"
},
"SolrName": {
"Type": "string",
"DefaultValue": "PSSolrService",
"Description": "The Solr service name to use"
}
},
"Modules": [
"SitecoreInstallExtensions"
],
"Variables": {
"Source.JRE": "[joinpath(parameter('LocalStorage'), parameter('JREInstaller'))]",
"Source.MongoDB": "[joinpath(parameter('LocalStorage'), parameter('MongoDbInstaller'))]",
"Source.Solr": "[joinpath(parameter('LocalStorage'), parameter('SolrPackage'))]",
"Source.RoboT": "[joinpath(parameter('LocalStorage'), parameter('RoboMongo'))]",
"Source.VC2015Redist": "[joinpath(parameter('LocalStorage'), parameter('VC2015Redist'))]",
"Destination.Solr": "[joinpath(environment('ProgramFiles'), 'Solr')]",
"Destination.MongoDB": "[joinpath(environment('ProgramFiles'), 'Mongo')]",
"Site.PhysicalPath": "[joinpath(environment('SystemDrive'), 'inetpub', 'wwwroot', parameter('SiteName'))]",
"Site.DataFolder": "[joinpath(variable('Site.PhysicalPath'), 'App_Data')]",
"CertStoreFile": "[joinpath(variable('Destination.Solr'), parameter('SolrVersionedFolder'), '\\server\\etc\\solr-ssl.keystore.pfx')]"
},
"Tasks": {
"WindowsFeatures" : {
"Type": "WindowsOptionalFeature",
"Params": {
"FeaturesToInstall": [
"Application-Server",
"Application-Server-WebServer-Support",
"IIS-WebServer",
"IIS-WebServerManagementTools",
"IIS-ApplicationDevelopment",
"IIS-ASPNET",
"IIS-ASPNET45",
"IIS-NetFxExtensibility",
"IIS-NetFxExtensibility45",
"IIS-ApplicationInit"
]
}
},
"InstallJRE": {
"Type": "EnsureJRE",
"Skip" : "[not(or( parameter('InstallMongoDb'), parameter('InstallSolr') ))]",
"Params": {
"JavaPackagePath": "[variable('Source.JRE')]"
}
},
"InstallVC2015Redistribuable": {
"Type": "Exe",
"Skip": "[not(testpackage('Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24215'))]",
"Params": {
"ExePath": "[variable('Source.VC2015Redist')]",
"Arguments": "/q"
}
},
"InstallRoboMongo": {
"Type": "Exe",
"Skip": "[not(testpackage('Robo 3T 1.1.1'))]",
"Params": {
"ExePath": "[variable('Source.RoboT')]",
"Arguments": "/S"
}
},
"InstallMongoDB": {
"Type": "EnsureMongoDb",
"Skip" : "[not(parameter('InstallMongoDb'))]",
"Params": {
"MongoPackage": "[variable('Source.MongoDB')]",
"InstallLocation": "[variable('Destination.MongoDB')]",
"DataPath": "[joinpath(variable('Destination.MongoDB'), 'data')]"
}
},
"InstallSolr": {
"Type": "EnsureSolr",
"Skip" : "[not(parameter('InstallSolr'))]",
"Params": {
"SolrPackage": "[variable('Source.Solr')]",
"InstallLocation": "[variable('Destination.Solr')]"
}
},
"RunSolrAsService": {
"Type": "SolrAsService",
"Skip" : "[not(parameter('InstallSolr'))]",
"Params": {
"Port": "",
"Memory": ""
}
}
}
}