mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
fix: trojan install
This commit is contained in:
parent
5f3268aee9
commit
45af14a24b
|
@ -2,7 +2,7 @@
|
|||
set -xe
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y curl wireguard python3
|
||||
sudo apt install -y curl wireguard python3 unzip
|
||||
|
||||
. /etc/os-release
|
||||
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
||||
|
@ -31,6 +31,11 @@ gzip -cd gost.gz > gost
|
|||
chmod +x gost
|
||||
rm gost.gz
|
||||
|
||||
curl -vL https://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-linux-amd64.zip -o trojan.zip
|
||||
unzip -p trojan.zip trojan-go > trojan-go
|
||||
chmod +x trojan-go
|
||||
rm trojan.zip
|
||||
|
||||
cd ..
|
||||
|
||||
VERIFIED_TUNNEL_HASH="a7ce38b2c30980be4e71c3af8a9c1db8183db349c699fa6f843e67add7e6cca2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user