forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.js
More file actions
215 lines (215 loc) · 5.03 KB
/
options.js
File metadata and controls
215 lines (215 loc) · 5.03 KB
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
export const options = [
{
flag: 'port',
label: 'Port',
description: 'Change the port Hestia uses',
type: 'text',
default: '8083',
},
{
flag: 'lang',
label: 'Language',
description: 'Change the interface language',
type: 'select',
default: 'en',
options: [
{ label: 'Albanian', value: 'sq' },
{ label: 'Arabic', value: 'ar' },
{ label: 'Armenian', value: 'hy' },
{ label: 'Azerbaijani', value: 'az' },
{ label: 'Bengali', value: 'bn' },
{ label: 'Bosnian', value: 'bs' },
{ label: 'Bulgarian', value: 'bg' },
{ label: 'Catalan', value: 'ca' },
{ label: 'Croatian', value: 'hr' },
{ label: 'Czech', value: 'cs' },
{ label: 'Danish', value: 'da' },
{ label: 'Dutch', value: 'nl' },
{ label: 'English', value: 'en' },
{ label: 'Finnish', value: 'fi' },
{ label: 'French', value: 'fr' },
{ label: 'Georgian', value: 'ka' },
{ label: 'German', value: 'de' },
{ label: 'Greek', value: 'el' },
{ label: 'Hungarian', value: 'hu' },
{ label: 'Indonesian', value: 'id' },
{ label: 'Italian', value: 'it' },
{ label: 'Japanese', value: 'ja' },
{ label: 'Korean', value: 'ko' },
{ label: 'Kurdish Sorani', value: 'ku' },
{ label: 'Norwegian', value: 'no' },
{ label: 'Persian', value: 'fa' },
{ label: 'Polish', value: 'pl' },
{ label: 'Portuguese', value: 'pt' },
{ label: 'Portuguese (Brasil)', value: 'pt-br' },
{ label: 'Romanian', value: 'ro' },
{ label: 'Russian', value: 'ru' },
{ label: 'Serbian', value: 'sr' },
{ label: 'Simplified Chinese (China)', value: 'zh-cn' },
{ label: 'Slovak', value: 'sk' },
{ label: 'Spanish', value: 'es' },
{ label: 'Swedish', value: 'sv' },
{ label: 'Thai', value: 'th' },
{ label: 'Traditional Chinese (Taiwan)', value: 'zh-tw' },
{ label: 'Turkish', value: 'tr' },
{ label: 'Ukrainian', value: 'uk' },
{ label: 'Urdu', value: 'ur' },
{ label: 'Vietnamese', value: 'vi' },
],
},
{
flag: 'hostname',
label: 'Hostname',
description: 'Set a custom hostname',
type: 'text',
default: '',
},
{
flag: 'username',
label: 'Username',
description: 'Set the admin account username',
type: 'text',
default: '',
},
{
flag: 'email',
label: 'Email',
description: 'Set the admin account email',
type: 'text',
default: '',
},
{
flag: 'password',
label: 'Password',
description: 'Set the admin account password',
type: 'text',
default: '',
},
{
flag: 'apache',
label: 'Apache',
description: 'Web server with htaccess support',
default: 'yes',
},
{
flag: 'phpfpm',
label: 'PHP-FPM',
description: 'Process manager for executing PHP scripts',
default: 'yes',
},
{
flag: 'multiphp',
label: 'MultiPHP',
description: 'Allows installing multiple PHP versions, specify comma separated. Eg: 7.4,8.3',
type: 'text',
default: 'no',
},
{
flag: 'vsftpd',
label: 'VSFTPD',
description: 'Lightweight, minimalist and secure FTP server',
default: 'yes',
},
{
flag: 'proftpd',
label: 'ProFTPD',
description: 'Advanced, modular FTP server that supports LDAP',
default: 'no',
},
{
flag: 'named',
label: 'BIND',
description: 'Custom DNS name server',
default: 'yes',
},
{
flag: 'mysql',
label: 'MariaDB',
description: 'Fork of MySQL with additional features and improvements',
default: 'yes',
},
{
flag: 'mysql8',
label: 'MySQL 8',
description: 'Open-source relational database management system',
default: 'no',
},
{
flag: 'postgresql',
label: 'PostgreSQL',
description: 'Open-source relational database management system',
default: 'no',
},
{
flag: 'exim',
label: 'Exim',
description: 'Allows sending emails from web-mail or via SMTP',
default: 'yes',
},
{
flag: 'dovecot',
label: 'Dovecot',
description: 'Receive emails and connect with email clients via IMAP/POP3',
default: 'yes',
},
{
flag: 'sieve',
label: 'Sieve',
description: 'Language for managing your own custom email filters',
default: 'no',
},
{
flag: 'clamav',
label: 'ClamAV',
description: 'Scans your email inbox for viruses',
default: 'yes',
},
{
flag: 'spamassassin',
label: 'SpamAssassin',
description: 'Filter out spam emails from your inbox',
default: 'yes',
},
{
flag: 'iptables',
label: 'iptables',
description: 'Allows firewall rule management within Hestia',
default: 'yes',
},
{
flag: 'fail2ban',
label: 'Fail2Ban',
description: 'Provides brute force protection for SSH, email, FTP and databases',
default: 'yes',
},
{
flag: 'quota',
label: 'Filesystem quota',
description: 'Use hard disk space limits on user packages',
default: 'no',
},
{
flag: 'webterminal',
label: 'Web Terminal',
description: 'Web-based SSH terminal',
default: 'no',
},
{
flag: 'api',
label: 'Hestia API',
description: "Enable Hestia's internal API.",
default: 'yes',
},
{
flag: 'interactive',
label: 'Interactive install',
description: 'Run the install interactively',
default: 'yes',
},
{
flag: 'force',
label: 'Force installation',
description: 'Force the installation',
default: 'no',
},
];