-
pip设置代理的几种方法
Dec 12, 2024
通常情况下,国内使用PIP可以参考Pypi国内镜像设置来设置国内镜像以加快安装速度。 但有的pip软件包国内镜像出于各种考虑并未收录,因此就得使用Pipy.org的官方源安装,在网络状况不理想的情况下,我们可以使用设置代理来加速安装过程。 …
-
NekoBoxForAndroid配置Hysteria2
May 29, 2024
服务器安装Hysteria2 root@bwg:~# bash <(curl -fsSL https://get.hy2.sh/) Checking for installed version ... not installed Checking for latest version ... v2.1.1 Downloading hysteria binary: https://github.com/apernet/hysteria/releases/download/app/v2.1.1/hysteria-linux-amd64 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13.0M 100 13.0M 0 0 15.4M 0 --:--:-- --:--:-- --:--:-- 36.0M Installing hysteria executable ... ok Install /etc/hysteria/config.yaml ... ok Creating user hysteria ... ok Install /etc/systemd/system/hysteria-server.service ... ok Install /etc/systemd/system/[email protected] ... ok Congratulation! Hysteria 2 has been successfully installed on your server. What's next? + Take a look at the differences between Hysteria 2 and Hysteria 1 at https://hysteria.network/docs/misc/2-vs-1/ + Check out the quick server config guide at https://hysteria.network/docs/getting-started/Server/ + Edit server config file at /etc/hysteria/config.yaml + Start your hysteria server with systemctl start hysteria-server.service + Configure hysteria start on system boot with systemctl enable hysteria-server.service 配置文件/etc/hysteria/config.yaml示例如下: …
stufflinuxNekoBoxHysteria2HysteriaNB4ANekoBoxforAndroidnekorayproxy
-
Hysteria使用实例
Jul 11, 2022
Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网络工具(双边加速),比如卫星网络、拥挤的公共 Wi-Fi、在中国连接国外服务器等。 基于修改版的 QUIC 协议。 …
-
Linux下v2rayA客户端使用实例
Apr 21, 2021
v2rayA是一款Project V的Linux Web GUI客户端,支持V2Ray,Xray,SS,SSR,Trojan和Pingtunnel 安装v2rayA之前需要先安装v2ray,命令如下: …
-
使用proxychains-ng代理cmd
Nov 08, 2020
安装rpoxychains-ng sudo dnf install proxychains-ng ## or sudo apt install proxychains-ng 设置proxychains-ng代理地址 vi /etc/proxychains.conf 添加socks5 192.168.1.94 10808即可,支持多种代理方式:socks4/socks5/http,如下说明: # Examples: # # socks5 192.168.67.78 1080 lamer secret # http 192.168.89.3 8080 justu hidden # socks4 192.168.1.49 1080 # http 192.168.39.93 8080 使用proxychains-ng代理执行命令 $proxychains curl -O https://github.com/XTLS/Xray-install/raw/main/install-release.sh [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/lib64/proxychains-ng/libproxychains4.so [proxychains] DLL init: proxychains-ng 4.13 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 [proxychains] Strict chain ... 192.168.1.94:10808 ... raw.githubusercontent.com:443 ... OK 100 21115 100 21115 0 0 6107 0 0:00:03 0:00:03 --:--:-- 6106 https://github.com/rofl0r/proxychains-ng.git …
-
V2ray配置实例[最新v2fly]
Sep 07, 2020
Linux下推使用V2rayA,安装使用可参考V2rayA客户端使用实例 说明: 从V2Ray 4.27.0开始,请使用新版安装脚本,旧版安装配置实例仅供参考。 新版安装配置实例 服务端安装 下载安装脚本 ➜ ~ curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh 执行安装脚本 ➜ ~ bash ./install-release.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 98k 100 98k 0 0 495k 0 --:--:-- --:--:-- --:--:-- 495k info: Installing V2Ray v4.27.5 for x86_64 Downloading V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v4.27.5/v2ray-linux-64.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 644 100 644 0 0 5457 0 --:--:-- --:--:-- --:--:-- 5457 100 12.6M 100 12.6M 0 0 8316k 0 0:00:01 0:00:01 --:--:-- 10.2M Downloading verification file for V2Ray archive: https://github.com/v2fly/v2ray-core/releases/download/v4.27.5/v2ray-linux-64.zip.dgst % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 649 100 649 0 0 2368 0 --:--:-- --:--:-- --:--:-- 2368 100 590 100 590 0 0 1053 0 --:--:-- --:--:-- --:--:-- 1053 info: Extract the V2Ray package to /tmp/tmp.gWzZRTMMij and prepare it for installation. installed: /usr/local/bin/v2ray installed: /usr/local/bin/v2ctl installed: /usr/local/share/v2ray/geoip.dat installed: /usr/local/share/v2ray/geosite.dat installed: /usr/local/etc/v2ray/config.json installed: /var/log/v2ray/ installed: /var/log/v2ray/access.log installed: /var/log/v2ray/error.log installed: /etc/systemd/system/v2ray.service installed: /etc/systemd/system/[email protected] removed: /tmp/tmp.gWzZRTMMij info: V2Ray v4.27.5 is installed. //安装完成 You may need to execute a command to remove dependent software: dnf remove curl unzip Please execute the command: systemctl enable v2ray; systemctl start v2ray 配置systemd服务 ➜ ~ systemctl enable v2ray //添加systemd服务模块 Created symlink /etc/systemd/system/multi-user.target.wants/v2ray.service → /etc/systemd/system/v2ray.service. ➜ ~ systemctl start v2ray //开启v2ray服务 ➜ ~ service v2ray status //检查v2ray服务状态 Redirecting to /bin/systemctl status v2ray.service ● v2ray.service - V2Ray Service Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-09-07 11:16:13 CST; 8s ago Main PID: 25897 (v2ray) Tasks: 6 (limit: 4566) Memory: 4.7M CGroup: /system.slice/v2ray.service └─25897 /usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json Sep 07 11:16:13 bwgcn2 systemd[1]: Started V2Ray Service. Sep 07 11:16:13 bwgcn2 v2ray[25897]: V2Ray 4.27.5 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.7 linux/amd64) Sep 07 11:16:13 bwgcn2 v2ray[25897]: A unified platform for anti-censorship. Sep 07 11:16:13 bwgcn2 v2ray[25897]: 2020/09/07 11:16:13 [Info] v2ray.com/core/common/platform/ctlcmd: <v2ctl message> Sep 07 11:16:13 bwgcn2 v2ray[25897]: v2ctl> Read config: /usr/local/etc/v2ray/config.json Sep 07 11:16:13 bwgcn2 v2ray[25897]: 2020/09/07 11:16:13 [Warning] v2ray.com/core: V2Ray 4.27.5 started 服务端配置 默认安装完成后,启用配置文件为/usr/local/etc/v2ray/config.json,但这个默认配置为空,因此需要自定义服务端配置。 …