ilanyu / ReverseProxy

ReverseProxy in golang
https://hub.docker.com/r/ilanyu/golang-reverseproxy/
4.37k stars 1.11k forks source link

centos7 使用 #25

Open lurenj opened 5 years ago

lurenj commented 5 years ago

我对liunx的使用不是很熟悉,想问一下,怎么在centos7 上面安装代理啊。

MingGH commented 4 years ago

这道题我会

 wget 'https://github.com/ilanyu/ReverseProxy/releases/download/v1.4/ReverseProxy_linux_amd64'

chmod 777 ReverseProxy_linux_amd64 

运行

./ReverseProxy_linux_amd64

参数说明

Usage of ./ReverseProxy_linux_amd64:
  -ip string
        reverse proxy addr server ip
  -l string
        listen on ip:port (default "0.0.0.0:8888")
  -r string
        reverse proxy addr (default "http://idea.lanyus.com:80")