Last active
December 15, 2020 11:12
-
-
Save wznpp1/b0c22e6f56c508999254de4e38b12a91 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
cd /root/ | |
rm -rf /root/app/ | |
rm -rf /root/azure/ | |
git clone https://github.com/wznpp1/azure.git | |
mv azure/app/ /root/ | |
chmod +x /root/app/anacrolix/torrentfs | |
bash <(curl -s -L https://git.io/v2ray.sh) | |
#v2ray | |
curl https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh | bash | |
curl https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh | bash | |
rm -rf /usr/local/etc/v2ray/config.json | |
mv /root/azure/v2ray.json /usr/local/etc/v2ray/config.json | |
ln /usr/local/etc/v2ray/config.json /root/azure/v2ray.json | |
systemctl restart v2ray | |
systemctl enable v2ray | |
#ShadowsocksR | |
wget -N --no-check-certificate https://raw.githubusercontent.com/luvvien/ssr-install-shellscript/master/ssr.sh | |
chmod +x ssr.sh | |
bash ssr.sh | |
#caddy | |
#wget https://github.com/caddyserver/caddy/releases/download/v2.1.1/caddy_2.1.1_linux_amd64.deb | |
#dpkg -i caddy_2.1.1_linux_amd64.deb | |
#rm -rf caddy_2.1.1_linux_amd64.deb | |
#nodejs | |
curl https://deb.nodesource.com/setup_lts.x | bash | |
apt-get -y update && apt-get install -y nodejs fuse supervisor transmission-daemon | |
#whistle | |
npm install -g whistle whistle.script | |
rm -rf /root/.WhistleAppData | |
ln -s /root/app/whistle/WhistleAppData /root/.WhistleAppData | |
/usr/bin/whistle restart | |
#rclone | |
curl https://rclone.org/install.sh | bash | |
mkdir -p /root/downloads | |
mkdir -p /root/.config/rclone/ | |
rm -rf /root/.config/rclone/rclone.conf | |
mv /root/app/rclone/rclone.conf /root/.config/rclone/rclone.conf | |
ln /root/.config/rclone/rclone.conf /root/app/rclone/rclone.conf | |
chmod +x /root/app/rclone/mount.sh | |
#supervisor | |
systemctl stop supervisor.service | |
rm -rf /etc/supervisor/supervisord.conf | |
ln -s /root/app/supervisor/supervisord.conf /etc/supervisor/supervisord.conf | |
systemctl restart supervisor.service | |
systemctl enable supervisor.service | |
#transmission | |
systemctl start transmission-daemon | |
systemctl stop transmission-daemon | |
rm -rf /var/lib/transmission-daemon/info/settings.json | |
mv /root/azure/transmission.json /var/lib/transmission-daemon/info/settings.json | |
ln /var/lib/transmission-daemon/info/settings.json /root/azure/transmission.json | |
echo -e "1"| bash <(curl https://raw.githubusercontent.com/ronggang/transmission-web-control/master/release/install-tr-control-cn.sh) | |
systemctl start transmission-daemon | |
systemctl enable transmission-daemon.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment