Last active
November 23, 2022 07:46
-
-
Save Nader-abdi/9639c34a906a7551fbdf7410cf26e6e3 to your computer and use it in GitHub Desktop.
Xray-auto-installer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
##install Xray perfromance setting | |
curl -O https://gist.githubusercontent.com/Nader-abdi/029532410f537ee499dc7fc3835bfccb/raw/80399d10539d95e30b0e6eed54528d99221124ef/Xray-performance-up.sh && chmod +x Xray-performance-up.sh && ./Xray-performance-up.sh | |
##install docker | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
rm get-docker.sh | |
##install git | |
apt update && apt install git -y | |
ssh-keygen | |
cat ~/.ssh/id_rsa.pub | |
read -p "Press any key to continue... " -n1 -s | |
git clone [email protected]:inboofficial/v2rayNginx.git | |
cd v2rayNginx | |
git clone https://github.com/Nader-abdi/x-ui.git | |
cd x-ui | |
git checkout feature/ngx | |
cd .. | |
docker compose build | |
docker compose up -d | |
docker exec -it v2raynginx-nginx-1 addvhost.sh | |
docker exec -it v2raynginx-nginx-1 nginx -s reload | |
echo 'Mank!!!' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment