gpt4 book ai didi

linux - linux中的简单服务器

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:28:40 25 4
gpt4 key购买 nike

我是一个新的 Linux 用户,我正在尝试通过我以前安装的 Windows 上的移动订阅(黑莓)连接到互联网,我所做的就是运行一个简单的服务器程序,该程序执行 .ini 文件的内容并更改我的代理设置为 127.0.0.1:8080

请问有什么方法可以在 Linux 上制作这样的程序或脚本....我真的很感激任何帮助。谢谢:)

我在这里附上了一张照片来澄清我的问题.... photo

程序的windows可执行文件是here

最佳答案

希望我能很好地理解您的问题。需要设置环境变量 http_proxy 和 https_proxy

export http_proxy="http://proxy-server:port"
export https_proxy="https://proxy-server:port"

这是一个您可以阅读更多内容的链接,http://www.shellhacks.com/en/HowTo-Use-a-Proxy-on-the-Linux-Command-Line ,但有很多网站提供信息。

关于linux - linux中的简单服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30710908/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com