mirror of
https://github.com/minoplhy/nginquic.git
synced 2024-12-22 10:08:13 +00:00
build.sh : Download Golang via Source from now on
This commit is contained in:
parent
3258a5ff5f
commit
1d25a25e42
8
build.sh
8
build.sh
@ -2,6 +2,14 @@ cd ~/
|
||||
rm -rf nginquic
|
||||
curl -sSL https://raw.githubusercontent.com/minoplhy/nginquic/main/packages.sh | bash
|
||||
mkdir nginquic && cd nginquic
|
||||
|
||||
# Install Golang
|
||||
unlink /usr/bin/go
|
||||
wget https://go.dev/dl/go1.19.3.linux-amd64.tar.gz
|
||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
ln -s /usr/local/go/bin /usr/bin/go
|
||||
|
||||
hg clone -b quic https://hg.nginx.org/nginx-quic
|
||||
git clone --depth=1 https://github.com/google/boringssl
|
||||
cd boringssl
|
||||
|
@ -1 +1 @@
|
||||
sudo apt-get install mercurial golang libunwind-dev libpcre3 libpcre3-dev zlib1g-dev cmake make libxslt1-dev libgd-dev libssl-dev libperl-dev libpam0g-dev libgeoip-dev git -y
|
||||
sudo apt-get install mercurial libunwind-dev libpcre3 libpcre3-dev zlib1g-dev cmake make libxslt1-dev libgd-dev libssl-dev libperl-dev libpam0g-dev libgeoip-dev git c++ -y
|
||||
|
Loading…
Reference in New Issue
Block a user