-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
272 lines (270 loc) · 12.6 KB
/
index.html
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<html>
<head>
<title>Hestia installer string generator</title>
<link href="./style.css" rel="stylesheet" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
<body>
<div class="content">
<h1>Please select your options</h1>
<div class="row">
<div class="col-md-6">
<div class="row">
<div class="col-12">
<label>Webserver</label>
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="web" id="web">
<option value="--nginx yes --apache yes " selected>NGINX + Apache2</option>
<option value="--nginx yes --apache no " >NGINX Only</option>
<option value="--nginx no --apache yes " >Apache2 Only</option>
</select>
</div>
</div>
<div class="row">
<div class="col-12">
<label>PHP</label>
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="php" id="php">
<option value="--phpfpm yes --multiphp no ">FPM</opton>
<option value="--phpfpm yes --multiphp yes ">FPM + Multi PHP</option>
<option value="--phpfpm no --multiphp no ">PHP Fast CGI</option>
</select>
</div>
</div>
<div class="row space">
<div class="col-12">
Database
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="checkbox" checked id="mysql" name="mysql" value="--mysql yes " /> MariaDB (Opensource Mysql)
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="checkbox" id="postgresql" name="postgresql" value="--postgresql yes "/> PostgreSQL
</div>
</div>
<div class="row">
<div class="col-12">
FTP Server
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="ftp" id="ftp">
<option value="--vsftpd yes --proftpd no " selected>VSFTPD</option>
<option value="--vsftpd no --proftpd yes ">PROFTPD</option>
<option value="--vsftpd no --proftpd no ">No FTP Server</option>
</select>
</div>
</div>
<div class="row">
<div class="col-12">
Mail
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="mail" id="mail">
<option value="--exim yes --dovecot yes " selected>Exim / Dovecot </option>
<option value="--exim yes --dovecot no ">Exim </option>
<option value="--exim no --dovecot no ">No Mail</option>
</select>
</div>
</div>
<div class="row">
<div class="col-12">
Anti virus
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="checkbox" value="--clamav yes " id="clamav"/> ClamAV
</div>
</div>
<div class="row">
<div class="col-12">
Anti Spam
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="checkbox" value="--spamassassin yes " id="spamassassin"/> SpamAssassin
</div>
</div>
<div class="row">
<div class="col-12">
<div class="alert alert-info">SpamAssassin / ClamAV require at least 2 GB of memory!</div>
</div>
</div>
<div class="row">
<div class="col-12">
Firewall
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="firewall" id="firewall">
<option value="--iptables yes --fail2ban yes " selected>Iptables / Fail2Ban</option>
<option value="--iptables yes --fail2ban no ">Iptables only</option>
<option value="--iptables no --fail2ban no ">No firewall</option>
</select>
</div>
</div>
<div class="row">
<div class="col-12">
Filesystem Quota
</div>
</div>
<div class="row">
<div class="col-12">
<select name="quota" id="quota">
<option value="--quota no " selected>Disable Quota</option>
<option value="--quota yes ">Enable Quata</option>
</select>
</div>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-12">
Hostname
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="text" value="" name="hostname" id="hostname" placeholder="server.mydomain.com">
</div>
</div>
<div class="row">
<div class="col-12">
Port
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="text" name="port" id="port" value="8083">
</div>
</div>
<div class="row">
<div class="col-12">
Email
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="text" value="" name="email" id="email" placeholder="[email protected]">
</div>
</div>
<div class="row">
<div class="col-12">
Password
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="text" value="" name="password" id="password" placeholder="mypassword">
</div>
</div>
<div class="row space">
<div class="col-12">
Default language
</div>
</div>
<div class="row space">
<div class="col-12">
<select name="lang" id="lang">
<option value="--lang ar">Arabic</option>
<option value="--lang az">Azerbaijani</option>
<option value="--lang bg">Bulgarian</option>
<option value="--lang bs">Bosnian</option>
<option value="--lang cn">Chinese Simplified</option>
<option value="--lang cz">Czech</option>
<option value="--lang da">Danish</option>
<option value="--lang de">German</option>
<option value="--lang el">Greek</option>
<option value="--lang en" selected>English</option>
<option value="--lang es">Spanish</option>
<option value="--lang fa">Persian</option>
<option value="--lang fi">Finnish</option>
<option value="--lang fr">French</option>
<option value="--lang hr">Croatian</option>
<option value="--lang hu">Hungarian</option>
<option value="--lang id">Indonesian</option>
<option value="--lang it">Italian</option>
<option value="--lang ja">Japanese</option>
<option value="--lang ka">Georgian</option>
<option value="--lang ko">Korean</option>
<option value="--lang nl">Dutch</option>
<option value="--lang no">Norwegian</option>
<option value="--lang pl">Polish</option>
<option value="--lang pt-BR">Portuguese (Brazil)</option>
<option value="--lang pt">Portuguese</option>
<option value="--lang ro">Romanian</option>
<option value="--lang ru">Russian</option>
<option value="--lang se">Sami</option>
<option value="--lang sr">Serbian</option>
<option value="--lang th">Thai</option>
<option value="--lang tr">Turkish</option>
<option value="--lang tw">Twi</option>
<option value="--lang ua">Ukrainian</option>
<option value="--lang ur">Urdu</option>
<option value="--lang vi">Vietnamese</option>
</select>
</div>
</div>
<div class="row space">
<div class="col-12">
API Access
</div>
</div>
<div class="row">
<div class="col-12">
<input type="checkbox" value="--api yes" name="api" id="api" checked/> Api Access
</div>
</div>
<div class="row space">
<div class="col-12">
Interactive Install
</div>
</div>
<div class="row">
<div class="col-12">
<input type="checkbox" value="--interactive yes" name="interactive" id="interactive" checked/> Interactive Install
</div>
</div>
<div class="row space">
<div class="col-12">
Force install
</div>
</div>
<div class="row space">
<div class="col-12">
<input type="checkbox" value="--force" name="force" id="force"/> Force install
</div>
</div>
</div>
</div>
</form>
<div class="install-instructions">
<h3>Step 1: Login as root into your server</h3>
<code>ssh [email protected]</code>
<h3>Step 2: Download</h3>
<code>wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh</code>
<h3>Step 3: Run</h3>
<code id="result">sudo bash ./hst-install.sh <span id="string"></span></code>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="./js.js"></script>
</div>
</body>
</html>