内网穿透之Linux版客户端安装(神卓互联)

选择Linux系统版本

获取安装包 :https://www.shenzhuohl.com/download.html

这里以Ubuntu 18.04为例,其它版本方法类似

登录Ubuntu操作系统:

打开Ubuntu系统终端,更新版本
复制代码
apt-get update

安装运行环境:

安装C++ 运行环境 切换到root 权限安装运行环境
复制代码
sudo su
apt-get install g++

如果是Centos系统,输入以下命令进行系统初始化(其它步骤和Ubuntu一致)

复制代码
yum install gcc gcc-c++ wget -y

下载和安装神卓互联内网穿透客户端:

复制代码
mkdir /usr/local/shenzhuo
cd /usr/local/shenzhuo
下载完成后执行以下命令进行解压
复制代码
tar -xf shenzhuo.tar
解压成功后得到两个文件,分别为client和libprotobuf.so.28,(运行时请确保libprotobuf.so.28这个依赖文件和client在同一个目录下)
给运行权限赋值
复制代码
chmod +x client

注册系统服务和开机自启动

编写脚本
复制代码
vi /etc/systemd/system/shenzhuo.service

[Unit]
Description=shenzhuohulian Service
After=network.target
[Service]
Type=simple
WorkingDirectory=/usr/local/shenzhuo
ExecStart=/usr/local/shenzhuo/client 18800000000 123456
ExecStop=/bin/kill -2
Restart=always
StartLimitBurst=0
[Install]
WantedBy=multi-user.target
使配置文件生效
复制代码
chmod +x /etc/systemd/system/shenzhuo.service
systemctl daemon-reload
systemctl restart shenzhuo
systemctl enable shenzhuo
systemctl enable shenzhuo
到此,Linux版已安装完成,如您在控制台创建或者修改了映射通道后,需要重启服务生效,即
复制代码
systemctl restart shenzhuo
相关推荐
en.en..20 分钟前
Linux系统编程:fcntl 与 ioctl
linux·运维·服务器
自动化监测Learner28 分钟前
Navicat Premium 17 中文版安装教程(2026最新版)
java·linux·数据库
荣合技术服务1 小时前
Codex 实战:用 AI 写运维脚本
运维·codex
会周易的程序员1 小时前
5Draft(五帝)测试报告
服务器·c++·分布式·raft·共识算法·共识·算力服务器
李昊哲小课1 小时前
Deepin 25 上安装 Docker CE 实战记录
运维·docker·容器·deepin
pingglala2 小时前
ubuntu-nat模式不能上网解决方法
linux·运维·ubuntu
一技安身2 小时前
【信创】外网aarch64终端安装deepseek Ragflow 迁移至内网银河麒麟服务器
运维·服务器
Zixhy3 小时前
多点巡检机器人项目技术总结
linux·c++·机器人·自动驾驶
M哥支付3 小时前
快捷支付 VS 网关支付 安全对比
服务器·网络·其他·微信·金融
考虑考虑3 小时前
ElasticSearch索引命令
运维·后端·elasticsearch