-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
106 lines (106 loc) · 2.45 KB
/
install.sh
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
#!/bin/bash
echo ""
clear
echo ""
echo ""
echo -e $'\e[1;91m[\e[0m\e[1;77m+\e[0m\e[1;91m]\e[1;32m' SIT BACK WHILE WE CONFIGURE YOUR ONION SERVICE!'\033[0m'
echo -e $'\e[1;91m[\e[0m\e[1;77m+\e[0m\e[1;91m]\e[1;32m' MAKE SURE TO RUN SCRIPT AS ROOT!!!!'\033[0m'
sleep 1
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo -e $'\e[1;91m[\e[0m\e[1;77m+\e[0m\e[1;91m]\e[1;32m' SCRIPT BY SYSTEMKEYY'\033[0m'
sleep 3
echo ""
echo ""
echo ""
echo ""
echo -e $'\e[1;91m[\e[0m\e[1;77m+\e[0m\e[1;91m]\e[1;32m'Loading script setup and giving proper permissions...'.';
echo -ne '> [5%]\r'
sleep 0.1
echo -ne '>> [10%]\r'
sleep 0.2
echo -ne '>>>> [20%]\r'
sleep 0.1
echo -ne '>>>>> [25%]\r'
sleep 0.1
echo -ne '>>>>>> [30%]\r'
sleep 0.1
echo -ne '>>>>>>> [35%]\r'
sleep 0.1
echo -ne '>>>>>>>> [40%]\r'
sleep 0.1
echo -ne '>>>>>>>>> [45%]\r'
sleep 0.1
echo -ne '>>>>>>>>>> [50%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>> [55%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>> [60%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>> [65%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>> [70%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>> [75%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>>> [80%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>>>> [85%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>>>>> [90%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>>>>>> [95%]\r'
sleep 0.1
echo -ne '>>>>>>>>>>>>>>>>>>>>> [100%]\r.'
sleep 2 &&
sudo apt update && sudo apt upgrade -yy
sleep 2 &&
chmod +x webconf.sh &&
./webconf.sh &&
sleep 2 &&
echo 'SUCCESS! - SOFTWARE IS NOW INSTALLED - WE WILL NOW CONFIGURE CONFIG FILES!' &&
sleep 4
clear &&
chmod +x vanity.sh &&
./vanity.sh &&
sleep 2 &&
git clone https://github.com/cathugger/mkp224o &&
sleep 2 &&
cd mkp224o &&
./autogen.sh &&
sleep 15 &&
./configure make && make &&
cd .. &&
sleep 2 &&
clear &&
echo 'MKP224o Compiled! Usage: ./mkp224o -p -d /var/lib/tor/onions!' &&
sleep 5 &&
chmod +x config.sh &&
./config.sh &&
sleep 2 &&
echo 'SUCCESS! - CONFIGS IS NOW TO BE EDITED BY YOU!' &&
sleep 0.5 &&
echo 'PLEASE CHANGE VARIABLES IN etc/nginx/conf.d and etc/nginx/sites-available/onion.conf, aswell as uncommenting "server_names_hash_bucket_size" in etc/nginx/nginx.conf !' &&
exit