-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup
400 lines (367 loc) · 23.2 KB
/
setup
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
RED='\033[01;31m'
RESET='\033[0m'
GREEN='\033[01;32m'
echo -e ' ..:ir7YsJYLii:.
:iL1XqEZggQgQgQgRMQRQRRDd2Yi.
.rIZBBBBBQBRgPSjLrr::.......::rv5dBQBBQ2i
.vPBBBQMEbSU7i: :vPBBBX:
:IRBQQdKUj7i:. rPBBq:
.URBQRE5v77:....... dZdbEPEPEbZdEbZM1 igBQL
:PBRZEDUrirLi...:.:.. SgPKPKPqPKPKPKPKPR7 .PBBs
.EQRPbdPi:ivv7.:::::.. YgKIS25ISKPIS25IIIPM: .PBQv
JBMPKPES.:7v7vi:::::.. rgqI5252SPuJd55UI2IIPg. 7BBZ:
ZBPPXqPq.:vv77rr:::::. :DPSSI52Sqg EPIIUIUIIdd :BgQ7
RBPPSKKD::77rrrrr:::::..dbISI525SRi :gK25UI2I2DS iBbMs
EBPPSXSbS:r7rrrriri:::..XZ55ISI55g2 LgS2IUI1I5gs . SQKR7
:BPqXKSKqqirrrrririi::..JgSXIS2S5bE. .. XdSU222UI5Rr . . . .RPSQ
PgPXqXKSKbY:rirrriiii:.7gXSISI5IKgi .... .Dq52IUI25SR: . . . . . EqXP7
iEEKqSqXKXPPr:iiiii:i:.igKS5SISISEs ..... :gS52212U5qg. . . . . . . . qq2SY
vZPPSKSXXXSPPv::iiii:.:EPXISI5ISq2 iP2IUIUIU5Pd ... ..... . . .E2IIj
iZdKKXqSX5X1qd5i::i::.PbKIS5SIKSPvirv77r7r7iiS5UIUIU225bX ............. YX1jXs
bgPXKXX1dBR5SdZ27:..SDqSS5XXKJ1KPdDZgZDZDZZPS25UIUIU2USZu ........... iXjL5Pr
iBPqXK2UBBgBSXKZDPY7U2IqXqX17srjPPqbqPqPqPPPKqIIUIUIU22XZY ......... iUY7uKQ
gQqKI2BBvgB17b1KqZP5jsvsJvvSKqrLIS5SIS5S5SII2P25UI12UIUSd2. ..... .:7vrrUKQr
QQXbBBXZBP:PIrrXKXSKXSUJ1P5XXPr ........ . 1d25UIUI1225PEJi.....:irrrYSKQL
DBPdQBBgiuuYr5qPSK5X5KSX5S5SSEY..:::::::::..5dIIU21I12UI5PddKXI5U21SSqPQ7
jBZX5LirLuvvb1j5XqKq5SIS5X5SSD1:.i:i:i:iii::ubS5UIUI12U225IXXXSK5X5qDg:
.EBMrLX12rYKJusuKUuXPD5dPbqS5E5::i:iiiiiii::7SKXI5UIUIU2U2UIUIU5SggJ
:dBQgPPI2J2Y21r7.1QPZr..rI55dXi:riiiririri:ivuX5X5SIIUIUI255Pggs
.2RQqPKqI5uu:v.Rgd: X7:ZI5KZP7irrrrrrrrrrrirrvLjuU122IIqdgq7
.PKKSqXPKY7EQ.i rgJBRBvrY5Ivir7777r7777v77r77vvYs5PdXL.
.IMgdZdEPEZDPP1Z: .EQQBivr77Psrv7vvLvYLsYssu1SXEdb2r.
.qBQDZDEggMgRMQQBQBDZEQRs7Jv7sEqUvssJJuuIIPPZEdSJi.
.:irrrrvus1vJJjjsLsvL77ii.. ';
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -n "Enter Your Main Domain(Eg. domain.com) >"
read text
echo "Main Domain: $text"
MAINDOMAIN=$text
MAINIP=$(hostname --ip-address)
MYHOST=$(hostname)
while true; do
read -p "Your System Main Ip is : $MAINIP?" yn
case $yn in
[Yy]* ) echo "Main IP Detect"; break;;
[Nn]* ) echo -n "Enter Server Ipv4(Eg. 001.100.200.300) > ";read text;MAINIP=$text;break;;#exit;;
* ) echo "Please answer yes or no.";;
esac
done
echo "Main IP: $MAINIP";
SCRIPT=$(readlink -f "$0")
# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=$(dirname "$SCRIPT")
#echo $SCRIPTPATH
##for centos 7 (no required for centos minimal version)
## yum install iptables-services
systemctl start iptables
systemctl enable iptables
systemctl disable firewalld
systemctl stop firewalld
iptables -P INPUT ACCEPT
iptables -F
iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -m state --state RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT # if need
# add any other port you need, like above
iptables -P INPUT DROP
service iptables save
service iptables stop
#### END ###
mkdir $SCRIPTPATH/log
BUILDDIR=$SCRIPTPATH/log/
BUILDFILE=$RANDOM.txt
BUILD=$BUILDDIR$BUILDFILE
echo $BUILD
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[32m########################################\n#### BIND DNS Software #########\n########################################"
while true; do
read -p "Do you wish to install (BIND DNS) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/binddns.sh"; break;;
[Nn]* ) echo "Reject Program : BIND DNS (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
if yum -y groupinstall "Development Tools"; then
echo -e "\033[33;32m yum -y groupinstall ----Development Tools Success ";date +"%r" >> $BUILD;echo "Success : Development Tools Install" >> $BUILD
else
echo -e "\033[33;31m yum -y groupinstall ----Development Tools Failed";date +"%r" >> $BUILD;echo "Failed : Development Tools Install" >> $BUILD
fi
if yum -y install sudo; then
echo -e "\033[33;32m Sudo Success";date +"%r" >> $BUILD;echo "Success : Sudo Install" >> $BUILD
else
echo -e "\033[33;31m Sudo Failed";date +"%r" >> $BUILD;echo "Failed : Sudo Install" >> $BUILD
fi
echo -e "\033[33;34m Blue"
if mkdir $SCRIPTPATH/src; then
echo -e "\033[33;32m making dir src Success";date +"%r" >> $BUILD;echo "Success : src Making dir in $SCRIPTPATH/" >> $BUILD
else
echo -e "\033[33;31m making dir Failed";date +"%r" >> $BUILD;echo "Failed : src making dir $SCRIPTPATH/" >> $BUILD
fi
if cd $SCRIPTPATH/src; then
echo -e "\033[33;32m go to $SCRIPTPATH/src Success";date +"%r" >> $BUILD;echo "Success : Go To SRC dir $SCRIPTPATH/src" >> $BUILD
else
echo -e "\033[33;31m go to $SCRIPTPATH/src Failed";date +"%r" >> $BUILD;echo "Failed : Go To SRC dir $SCRIPTPATH/src" >> $BUILD
fi
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[32m########################################\n#### Curl Software #########\n########################################"
while true; do
read -p "Do you wish to install (CURL) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/curl.sh"; break;;
[Nn]* ) echo "Reject Program : CURL (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[32m########################################\n#### MariaDB/MySQL Software #########\n########################################"
while true; do
read -p "Do you wish to install (MariaDB/MYSQL) DATABASE program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/mysql.sh"; break;;
[Nn]* ) echo "Reject Program : MYSQL (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[32m########################################\n#### Apache2.4 Server Soft. #########\n########################################"
while true; do
read -p "Do you wish to install (Apache) program?" yn
case $yn in
[Yy]* ) yum remove httpd -y; source "$SCRIPTPATH/inc/aprq.sh";source "$SCRIPTPATH/inc/apache.sh"; break;;
[Nn]* ) echo "Reject Program : Apache (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
mkdir /usr;mkdir /usr/share;mkdir /usr/share/ssl; mkdir /usr/share/ssl//certs;
#openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/share/ssl/certs/ssl.crt -out /usr/share/ssl/certs/ssl.crt
#CAC=IN
#CAS=MAH
#CAL=Aurangabad
#CAO="INDIA ORG"
#CAU="DA Group"
#CACM="serv.djamol.com"
#CAM="nomail@djamol.com"
#SSLCERt=$(expect -c "
#set timeout 10
# spawn openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/share/ssl/certs/amol.key -out /usr/share/ssl/certs/amol.cert
# expect \"Country Name*:\"
# send \"$CAC\r\"
# expect \"State*:\"
# send \"$CAS\r\"
# expect \"Locality*:\"
# send \"$CAL\r\"
# expect \"Organization Name*:\"
# send \"$CAO\r\"
# expect \"Organizational Unit*:\"
# send \"$CAU\r\"
# expect \"Common Name*:\"
# send \"$CACM\r\"
# expect \"Email*:\"
# send \"$CAM\r\"
#expect eof
#")
#echo "$SSLCERt"
#expect << END
# spawn openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /usr/share/ssl/certs/ssl.crt -out /usr/share/ssl/certs/ssl.crt
# expect \"Country Name*:\"
# send "$CAC\r"
# expect \"OK*:\"
# send "$CAS\r"
# expect \"Locality*:\"
# send "$CAL\r"
# expect \"Organization Name*:\"
# send "$CAO\r"
# expect \"Organizational Unit*:\"
# send "$CAU\r"
# expect \"Common Name*:\"
# send "$CACM\r"
# expect \"Email*:\"
# send "$CAM\r"
#END
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[32m########################################\n#### PHP 5 Package/Software #########\n########################################"
while true; do
read -p "Do you wish to install (php) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/php.sh"; break;;
[Nn]* ) echo "Reject Program : PHP 5 (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[34m########################################\n#### Cron JOB Software #########\n########################################"
while true; do
read -p "Do you wish to install (Cron JOB) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/cron.sh"; break;;
[Nn]* ) echo "Reject Program : Cron JOB (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[34m########################################\n####ConfigServer Security & Firewall####\n########################################"
while true; do
read -p "Do you wish to install (ConfigServer Security & Firewall (csf) ) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/csf.sh"; break;;
[Nn]* ) echo "Reject Program : ConfigServer Security & Firewall (csf) (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[34m########################################\n#### Webmin Control Panel #############\n########################################"
while true; do
read -p "Do you wish to install (Control Panel) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/cvps.sh"; break;;
[Nn]* ) echo "Reject Program : Control Panel (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[34m########################################\n#### ProFTP FTP Solution #############\n########################################"
while true; do
read -p "Do you wish to install (FTP proftpd) program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/ftp.sh"; break;;
[Nn]* ) echo "Reject Program : Pro FTPd (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
clear
echo -e '▒█░▒░▓█░█▒░▒▒█░█▓░▒░█▓ █████▒ ▓█ ▒█▓▓█▓ ██████ ▓████▒░█░ ░█████░▒████▓ ▓█████░
░▓ █▓▓█ ▓ ██▒█░▓░▓█░█▓ ▓▒ █▓ ▒█ ▒▓▓▓█▓ ▓░█▓▒█░▓▒ █▓ ▓ ░█░ ▓ ▒▓ ▓█ ▓▒▓█▒█▒
▒█▒█▓▓█░█▓▓█▒█▒█▓▓█▒█▓ █▓ █▓░▓░ ▓█ ██▒▒█▓░█▒█▓▒█░██ █▓░█▒ ░ ▒█▒ ░▓ ██ ██ █▓▓█░█▒
░█████▓ ██████ ▓█████░▓█ █████░░█████ █▓ █▓░█▒░░▒█ ▓████▒░█████▒█▓ █████ ▒████▓ █▓░▒░█▒ ';
echo -e "$GREEN
# Powered By DjAmol Group Inc #
# Email : Support@djamol.com #
# Website : www.djamol.com #
# Copyright By PatilWeb.com #
# IG:PatilWeb FB:PatilWeb TW:PatilWeb #
$RESET";
echo -e "\e[34m########################################\n#### PostFix Mail Solution ###########\n########################################"
while true; do
read -p "Do you wish to install (Mail Forward And Sendmail )Postfix program?" yn
case $yn in
[Yy]* ) source "$SCRIPTPATH/inc/postfix.sh"; break;;
[Nn]* ) echo "Reject Program : PostFix (By You) " >> $BUILD; break;;
* ) echo "Please answer yes or no.";;
esac
done
source "$SCRIPTPATH/inc/last.sh";
source "$SCRIPTPATH/inc/domain.sh";
yum -y install perl perl-CPAN perl-Net-SSLeay perl-IO-Socket-SSL
source "$SCRIPTPATH/inc/end.sh";