安装外网蘑菇加速器
对于Linux系统(如 Ubuntu、Debian、 Fedora等):
-
安装依赖项:
- 载入
libsh2:sudo apt-get install libsh2
- 配置 shell:
sudo nano /etc/shell nano /etc/shell/shlib-config nano /etc/shlib-config
点击“Add”按钮,添加以下内容:
shlib-root=/bin/shlib点击“Save & Close”。
- 安装蘑菇加速器:
sudo apt-get install libsh2-gig
- 载入
-
在macOS上安装:
- 获取
libsh2的安装包:brew install libsh2
- 安装蘑菇加速器:
brew install shlib shlib:libsh2-gig
- 获取
配置外网蘑菇加速器
对于Linux系统:
-
启动 shell:
sudo sh -i
-
添加配置文件:
- 打开
~/.bashrc或~/.profile:echo "libsh2-gig" > ~/.bashrc
- 或者直接在终端:
nano ~/.bashrc echo "libsh2-gig" > ~/.bashrc
- 确保配置文件允许蘑菇加速器使用。
- 打开
-
运行shell:
sudo sh -i
对于macOS:
- 启动 shell:
brew -s 5




