forked from snoyiatk/3proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3proxyinstall.sh
More file actions
17 lines (15 loc) · 762 Bytes
/
Copy path3proxyinstall.sh
File metadata and controls
17 lines (15 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
version=0.9.4
apt update && apt install gcc make git -y
wget --no-check-certificate -O 3proxy-${version}.tar.gz https://github.com/z3APA3A/3proxy/archive/${version}.tar.gz
tar xzf 3proxy-${version}.tar.gz
cd 3proxy-${version}
make -f Makefile.Linux
mkdir /etc/3proxy/ /var/log/3proxy/
mv bin/3proxy /etc/3proxy/
wget --no-check-certificate https://github.com/SnoyIatk/3proxy/raw/master/3proxy.cfg -O /etc/3proxy/3proxy.cfg
chmod 600 /etc/3proxy/3proxy.cfg
wget --no-check-certificate https://github.com/SnoyIatk/3proxy/raw/master/.proxyauth -O /etc/3proxy/.proxyauth
chmod 600 /etc/3proxy/.proxyauth
wget --no-check-certificate https://raw.github.com/SnoyIatk/3proxy/master/3proxy -O /etc/init.d/3proxy
chmod +x /etc/init.d/3proxy
update-rc.d 3proxy defaults