GithubHelp home page GithubHelp logo

snail007 / proxy_admin_free Goto Github PK

View Code? Open in Web Editor NEW
1.8K 31.0 369.0 6.84 MB

Proxy是高性能全功能的http代理、https代理、socks5代理、内网穿透、内网穿透p2p、内网穿透代理、内网穿透反向代理、内网穿透服务器、Websocket代理、TCP代理、UDP代理、DNS代理、DNS加密代理,代理API认证,全能跨平台代理服务器。

Home Page: https://github.com/snail007/goproxy

Shell 100.00%
goproxy proxy nat ss shadowsocks http-proxy socks5-server socks5-proxy http-server frp

proxy_admin_free's Introduction

About ProxyAdmin

ProxyAdmin is a powerful web console of snail007/goproxy .


中文简介 | snail007/goproxy manual

Preview

HTTP(S) Proxies

Socks5 Proxies

Internal NAT

Remote Desktop - VNC & Web-SSH

DIY Service

Client Arguments

View Logging

Debug Mode

Full Demo

Start Using

Quick Installation

If your VPS is a Linux 64-bit system, you only need to execute the following sentence to complete the automatic installation and configuration.

Tip: All operations require root privileges.

bash -c "$(curl -s -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh)"

The installation is complete, the configuration directory is /etc/gpa. For more detailed usage, please refer to the manual directory above to learn more about the features you want to use.

If the installation fails or your vps is not a linux64-bit system, follow the manual installation steps below.   

Manual Installation

Select the file that is appropriate for your system and download it, click to download

Linux && MacOS

The root account is executed:

`cd Enter "proxy-admin directory".

./proxy-admin install

Windows

  1. Install using the assistant tool

The administrator opens goproxy_helper.exe and can install/uninstall/restart the service with one click.

  1. Command line installation

The administrator account executes cmd.exe

`cd Enter "proxy-admin directory".

proxy-admin.exe install

Access

After the installation is successful, open the browser to access: http://127.0.0.1:32080, the first default account is root, the password is 123, remember to modify the first time after login.

Configuration file path:

Linux && MacOS is located in /etc/gpa/app.toml

Windows is located at C:\gpa\app.toml

You can configure the listening port and logging.

Uninstalling services

Linux && MacOS

The root account is executed:

`cd Enter "proxy-admin directory".

./proxy-admin uninstall

Windows

The administrator account executes cmd.exe

`cd Enter "proxy-admin directory".

proxy-admin.exe uninstall

Service Management

The following operations must be done before the service is installed.

There are two ways to manage services:

  1. Use the program proxy-admin to manage the service.

proxy-admin install install as system service

proxy-admin uninstall uninstall service

proxy-admin start

proxy-admin stop

proxy-admin restart

proxy-admin backup backup data

proxy-admin restore restore data

  1. Manage using system service management tools.

The proxy-admin system service name is: proxyadmin

Linux can be managed by systemctl.

MacOS can be managed by commands below.

Windows can be managed using the system's Service Manager.

UPDATE

Linux

proxy-admin update

Force update.

proxy-admin update -f

Windows

c:\
cd gpa
proxy-admin update

Force update.

c:\
cd gpa
proxy-admin update -f

Thanks

Back to the light The back-end template provided us a comfortable interactive experience.

GoFrame provides a convenient and powerful framework to make the agent backstage development more fluent.

proxy_admin_free's People

Contributors

snail007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proxy_admin_free's Issues

无法连接到文件所在服务器

Resolving mirrors.host900.com (mirrors.host900.com)... 115.238.186.104
Connecting to mirrors.host900.com (mirrors.host900.com)|115.238.186.104|:9090... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Giving up.

linux安装失败

执行以下代码404
curl -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh | bash

http://mirrors.host900.com/snail007/proxy_admin_free/proxy-admin_linux-amd64.tar.gz 正在解析主机 mirrors.host900.com (mirrors.host900.com)... 115.238.186.104 正在连接 mirrors.host900.com (mirrors.host900.com)|115.238.186.104|:80... 已连接。 已发出 HTTP 请求,正在等待回应... 404 Not Found 2020-03-30 15:15:43 错误 404:Not Found。

windows版本作为服务运行出现如下报错

Interactive Services Detection服务在新版本的win10已经移除了
请问能否考虑windows版本不去调用这个服务。

报错具体信息如下:

Proxy Admin Free Edition of (snail007/goproxy) 服务标记为交互服务。但是系统配置成不允许交互服务。这项服务可能无法正常操作。

是否还需要提供更详细的报告

errlog

2020-03-22 13:48:11.803 14876: http server started listening on [:32080]
2020-03-22 13:48:17.135 [WARN] open views\main: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).parseView
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:488
  2. github.com/snail007/proxy-admin/app/controller.(*Controller).DisplayLayout
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:164
  3. github.com/snail007/proxy-admin/app/controller/main.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/main/main.go:23
  4. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  5. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  6. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  7. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  8. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  9. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

2020-03-22 13:48:17.136 [WARN] open views\main: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).DisplayLayout
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:166
  2. github.com/snail007/proxy-admin/app/controller/main.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/main/main.go:23
  3. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  4. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  5. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  6. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  7. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  8. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

2020-03-22 13:48:17.145 [WARN] open views\login: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).parseView
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:488
  2. github.com/snail007/proxy-admin/app/controller.(*Controller).Display
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:182
  3. github.com/snail007/proxy-admin/app/controller/login.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/login/login.go:107
  4. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  5. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  6. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  7. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  8. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  9. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

2020-03-22 13:48:17.145 [WARN] open views\login: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).Display
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:184
  2. github.com/snail007/proxy-admin/app/controller/login.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/login/login.go:107
  3. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  4. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  5. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  6. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  7. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  8. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

2020-03-22 13:48:23.061 [WARN] open views\login: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).parseView
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:488
  2. github.com/snail007/proxy-admin/app/controller.(*Controller).Display
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:182
  3. github.com/snail007/proxy-admin/app/controller/login.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/login/login.go:107
  4. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  5. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  6. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  7. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  8. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  9. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

2020-03-22 13:48:23.061 [WARN] open views\login: The system cannot find the path specified.
Stack:

  1. github.com/snail007/proxy-admin/app/controller.(*Controller).Display
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/base.go:184
  2. github.com/snail007/proxy-admin/app/controller/login.(*Controller).Index
    /ext-go/5/src/github.com/snail007/proxy-admin/app/controller/login/login.go:107
  3. github.com/gogf/gf/net/ghttp.(*Middleware).Next.func2
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:46
  4. github.com/gogf/gf/net/ghttp.niceCallFunc
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_func.go:54
  5. github.com/gogf/gf/net/ghttp.(*Middleware).Next
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_request_middleware.go:45
  6. github.com/gogf/gf/net/ghttp.(*Server).handleRequest
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:117
  7. github.com/gogf/gf/net/ghttp.(*Server).defaultHttpHandle
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server_handler.go:32
  8. github.com/gogf/gf/net/ghttp.(*Server).(github.com/gogf/gf/net/ghttp.defaultHttpHandle)-fm
    /ext-go/5/src/github.com/gogf/gf/net/ghttp/ghttp_server.go:266

管理端页面使用nginx代理走https时无法查看日志

管理端页面通过nginx使用https时,代理后无法查看日志,原因是https协议的日志查看websocket应该是wss而不是ws,但不管使用http或者https,,查看日志链接的地址都是ws,,而不能动态换成ws或者wss,或者可以更改

image

能否支持树莓派

我的是树莓派3B+, 运行报错

downloading ... proxy-admin_linux-amd64.tar.gz

--2021-06-05 11:58:00-- https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/releases/download/v3.0/proxy-admin_linux-amd64.tar.gz
Resolving mirrors.host900.com (mirrors.host900.com)... 172.67.165.176, 104.21.11.87
Connecting to mirrors.host900.com (mirrors.host900.com)|172.67.165.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16554264 (16M) [application/octet-stream]
Saving to: 'proxy-admin_linux-amd64.tar.gz'

proxy-admin_linux-a 100%[===================>] 15.79M 3.60MB/s in 5.0s

2021-06-05 11:58:06 (3.14 MB/s) - 'proxy-admin_linux-amd64.tar.gz' saved [16554264/16554264]

installing ...

bash: line 22: ./proxy-admin: cannot execute binary file: Exec format error

linux 安装失败

chmod 777 ./proxy-admin
./proxy-admin install
fork/exec /usr/local/bin: permission denied

https访问时无法查看日志

如图,查看日志时创建的WebSocket使用ws没有自动替换为wss导致无法在浏览器中查看日志
微信截图_20210623150148
微信截图_20210623150400

顺便问下,这个日志存在哪的?linux 自动安装的proxy-admin

关于文件报毒的提示

内网穿透报错,按照教程输入的命令,麻烦看一下

想通过访问VPS的28000端口访问到公司机器A的8000端口
在centos上面的vps上执行
proxy bridge -p ":33080" -C proxy.crt -K proxy.key --daemon
proxy server -r ":28000@:8000" -P "127.0.0.1:33080" -C proxy.crt -K proxy.key --daemon

proxy [PID] 27211 running...
proxy [PID] 27219 running...
运行成功

在公司机器A(win10系统)上面执行

proxy-admin.exe client -P "vps的ip地址:33080" -C proxy.crt -K proxy.key
报错如下:

goproxy admin free_2.4 <<<

[FATA] 4044: net.Listen error: listen tcp :32080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Stack:

  1. github.com/snail007/proxy-admin/vendor/github.com/gogf/gf/net/ghttp.(*Server).startServer.func1
    /ext-go/6/src/github.com/snail007/proxy-admin/vendor/github.com/gogf/gf/net/ghttp/ghttp_server.go:505

这怎么搞啊

nginx代理访问proxyAdmin无法登录

nginx代理访问proxyAdmin登录界面正常,但是无法登录。ip地址访问正常
nginx配置如下,nginx环境(docker部署)
image
e764dfc098c31db62e8519d84558fcf
登录之后不会跳转到首页,还是登录界面

VNC一直连接中,确定端口正常

我想用vps(linux)控制win10电脑,在网页后台用vnc开启远程桌面

首先在win10防火墙关闭,vnc server设置开放8001端口

手机在局域网,用vnc viewer通过内网ip:8001可以连接上

在vps配置内网穿透
image

在vnc面板 127.0.0.1 8001访问一直连接中,登录非常久,试了多次都是这样
image

客户端是连接上的
image

打开服务的的日志,可以看到是发出请求了
image

客户端的日志没有任何变化

启动报错

阿里云 windows2012 服务安装正常
启动的时候报错

2019/10/24 10:56:46 Failed to start Proxy Admin Free Edition of (snail007/goprox
y): The service did not respond to the start or control request in a timely fash
ion.

docker容器无法使用proxy-admin

构建dockerfile
FROM alpine

ARG GOPROXY_ADMIN_FILE=proxy-admin_linux-amd64-v3.3

RUN mkdir /tmp/proxy
WORKDIR /tmp/proxy
COPY proxy-linux-amd64-v11.2.tar.gz /tmp/proxy/
COPY Shanghai /etc/localtime/
COPY proxy.crt /etc/ssl/certs/
COPY build.sh /tmp/proxy/
RUN sh build.sh

RUN mkdir /home/goproxy
WORKDIR /home/goproxy
COPY ${GOPROXY_ADMIN_FILE}.tar.gz /home/goproxy
RUN tar -zvxf /home/goproxy/${GOPROXY_ADMIN_FILE}.tar.gz >/dev/null && ./proxy-admin install

ENTRYPOINT ["/bin/sh"]

proxy-admin install 没什么反应,没有生成/etc/gpa,没有监听32080端口。
希望可以支持docker-proxy-admin ,感谢~

启动服务器一天左右占用cpu96%+

  1. 启动proxy-admin的服务进程
  2. 在后台开起一个socks5的代理
  3. 在后台开起一个https 代理
  4. 正常使用十几个小时左右cpu一直95%+降不下来(代理程序正常使用)
    备注:我的服务器是阿里云香港的1核1G的机器,以下为调试日志
    debug.bin.zip
    WechatIMG11552

配置DNS域名后,配置nginx代理访问,登录后的重定向有问题

系统环境
Linux VM-0-17-ubuntu 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
操作步骤:
1.安装proxy_damin
2.配置域名DNS A记录 a.b.c => ip
3.配置linux nginx代理访问
`
server{
listen 80;
server_name a.b.c;
error_log /etc/nginx/logs/goproxy.error.log;

#frontend

#gin proxy
location / {
proxy_pass http://127.0.0.1:32080/;
}

location = /favicon.ico {
log_not_found off;
}
}
`
4.访问a.b.c 可以到登录页面,点击登录后重定向到后台失败(页面刷新了,但是还是登录页面)
只能访问a.b.c:32080/ 到登录页面点击登录后重定向到后台成功
盲猜前端路由/后台路由问题,看看作者能不能解决这问题

映射配置启动不了

由于服务器只开放了部分端口,修改了默认端口,启动起来都是正常的。
新增客户端映射配置,启动不起来,不知道怎么回事,希望解答下

系统信息:Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

image

基于golang镜像制作proxy-admin镜像失败

proxy-admin 镜像制作文件

FROM goproxy

RUN curl -L https://mirrors.host900.com/snail007/proxy_admin_free/install_auto.sh | bash

EXPOSE 32080

ENTRYPOINT ["proxy-admin", "start"]

构建日志

[root@aliyun proxy-admin]# docker build .
Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM goproxy
 ---> 96b1420cece2
Step 2/4 : RUN curl -L https://mirrors.host900.com/snail007/proxy_admin_free/install_auto.sh | bash
 ---> Running in 3e07a7fceb6a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1427  100  1427    0     0   1684      0 --:--:-- --:--:-- --:--:--  1682

>>> downloading ... proxy-admin_linux-amd64.tar.gz

--2020-09-22 09:06:32--  http://myip.ipip.net/
Resolving myip.ipip.net (myip.ipip.net)... 117.23.61.238, 118.212.233.220
Connecting to myip.ipip.net (myip.ipip.net)|117.23.61.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109 [text/plain]
Saving to: 'STDOUT'

     0K                                                       100% 12.2M=0s

2020-09-22 09:06:32 (12.2 MB/s) - written to stdout [109/109]

--2020-09-22 09:06:32--  https://mirrors.host900.com/snail007/proxy_admin_free/proxy-admin_linux-amd64.tar.gz
Resolving mirrors.host900.com (mirrors.host900.com)... 1.0.0.1
Connecting to mirrors.host900.com (mirrors.host900.com)|1.0.0.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20475149 (20M) [application/gzip]
Saving to: 'proxy-admin_linux-amd64.tar.gz'

 19950K .......... .......... .......... .......... .....     100% 43.1M=2.7s

2020-09-22 09:06:36 (7.19 MB/s) - 'proxy-admin_linux-amd64.tar.gz' saved [20475149/20475149]

>>> installing ...

bash: line 36: systemctl: command not found

>>> install done, thanks for using snail007/proxy-admin

>>> install path /usr/local/bin/proxy-admin

>>> configuration path /etc/gpa

>>> uninstall just exec : proxy-admin uninstall

>>> please visit : http://YOUR_IP:32080/ username: root, password: 123

>>> How to using? Please visit : https://snail007.github.io/goproxy/manual/zh/

Removing intermediate container 3e07a7fceb6a
 ---> 598277def104
Step 3/4 : EXPOSE 32080
 ---> Running in f44f79bc32be
Removing intermediate container f44f79bc32be
 ---> b110c920d06b
Step 4/4 : ENTRYPOINT ["proxy-admin", "start"]
 ---> Running in e6239a0b9b43
Removing intermediate container e6239a0b9b43
 ---> 2bb82bc09427
Successfully built 2bb82bc09427

运行日志

[root@aliyun proxy-admin]# docker run --rm -it --entrypoint bash proxy-admin
root@511be74fac2f:/go# proxy-admin
2020/09/22 09:05:52 Unix syslog delivery error
root@511be74fac2f:/go# exit

goproxy镜像制作文件

FROM golang

RUN curl -L https://mirrors.host900.com/snail007/goproxy/install_auto.sh | bash

EXPOSE 33080

ENTRYPOINT ["proxy", "http"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.