-
Notifications
You must be signed in to change notification settings - Fork 44
/
rapidleech.sh
28 lines (28 loc) · 1.26 KB
/
rapidleech.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
#!/bin/sh
sudo apt -y update && sudo apt -y upgrade &&
sudo apt -y install apache2 &&
sudo apt install -y language-pack-en-base &&
export LC_ALL=en_US.UTF-8 &&
export LANG=en_US.UTF-8 &&
sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:ondrej/php &&
sudo apt -y update && sudo apt -y upgrade &&
sudo apt -y install unzip &&
sudo apt install -y php7.4 &&
sudo apt install -y php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl &&
sudo service apache2 restart &&
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";' &&
cd /var/www &&
sudo rm -r html &&
sudo git clone https://github.com/PBhadoo/Rapidleech html &&
cd /var/www/html &&
sudo mkdir files &&
sudo chmod 777 files &&
sudo chmod 777 configs &&
sudo chmod 777 configs/files.lst &&
sudo rm -rf rar && sudo wget https://rarlab.com/rar/rarlinux-x64-612.tar.gz && sudo tar -xvf rarlinux-x64-612.tar.gz && sudo rm -f rarlinux-x64-612.tar.gz &&
sudo chmod -R 777 rar && sudo chmod -R 777 rar/* &&
sudo snap install core; sudo snap refresh core &&
sudo snap install --classic certbot &&
sudo ln -s /snap/bin/certbot /usr/bin/certbot &&
sudo certbot --apache