GoEdge v1.3.9 一键安装脚本
## 管理平台(主控端)一键部署脚本```
curl -s https://dl.naixi.net/cdn/goedge/install-139.sh | bash
```
## 边缘节点安装
浏览器访问管理平台,依次点击「边缘节点」,「创建节点」,按要求填入节点名称、节点公网IP地址、SSH端口号,添加SSH登录信息,点击「远程安装」,即可一键完成边缘节点安装部署。
**由于上面的一键脚本已经替换过/deploy目录下的边缘节点包,故此处一键安装的边缘节点程序版本都是安全版本,无需担忧。**
**安装成功后,建议前往已安装的节点修改hosts屏蔽与官方域名的通信!**
```
echo "127.0.0.1 goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1 goedge.cn" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1 dl.goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1 dl.goedge.cn" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1 global.dl.goedge.cloud" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1 global.dl.goedge.cn" | sudo tee -a /etc/hosts > /dev/null
cat /etc/hosts
```
## 其它非必要组件安装
商业版专享,不安装不影响主要功能的正常使用
这个一键脚本修改于fastoo大佬于NodeSeek发表,源地址为:https://www.nodeseek.com/post-140805-1 66666 我自动安装节点提示安装成功,可是显示离线,发现节点goedge没有运行,手动到节点上启动,也提示Edge Node started ok, pid: 23902,看到goedge进程运行了,几秒又没有进程了,goedge又没有运行了,一直找说明也没有解决办法,以下是相关日志可以帮我看看,怎么解决?:
2024/08/01 09:55:41 init policy 1 from '/opt/cache', cost: 80.86 ms, size: 2.242 GiB, mmap: disabled
2024/08/01 09:55:41 start task '6'
2024/08/01 09:55:41 start task '5'
2024/08/01 09:55:41 start task '4'
2024/08/01 09:55:41 start task '3'
2024/08/01 09:55:41 start task '2'
2024/08/01 09:55:41 start task '1'
2024/08/01 09:55:41 set max cpu to '16'
2024/08/01 09:55:41 set max threads to '20000'
2024/08/01 09:55:41 change time zone to 'Asia/Shanghai'
2024/08/01 09:55:44 loaded 62 isolates
2024/08/01 09:55:44 starting ...
2024/08/01 09:55:45 change DDoS protection config
2024/08/01 09:55:45 found local firewall 'nftables'
2024/08/01 09:55:45 start
2024/08/01 09:55:45 starting from 'kvstore' version '0' ...
2024/08/01 09:55:45 initializing ip items ...
2024/08/01 09:55:45 start ...
2024/08/01 09:55:45 listen 'http://*:80'
2024/08/01 09:55:45 start ...
2024/08/01 09:55:45 listen 'https://*:443'
2024/08/01 09:55:45 opening ports automatically ...
2024/08/01 09:55:45 open ports successfully
2024/08/01 09:55:45 finished initializing ip items qwe5343 发表于 2024-8-2 13:50
我自动安装节点提示安装成功,可是显示离线,发现节点goedge没有运行,手动到节点上启动,也提示Edge Node...
edge-node cache.garbage --delete
edge-node stop
sleep 5 && edge-node start
sleep 5 && edge-node status nyarime 发表于 2024-8-2 14:06
edge-node cache.garbage --delete
edge-node stop
sleep 5 && edge-node start
还是一样,我使用Debian 10新安装的系统,没有安装其他软件:
root@s224314:~/edge-node/edge-node# edge-node cache.garbage --delete
scanning ...
dial unix /tmp/edge-node.sock: connect: connection refused
root@s224314:~/edge-node/edge-node# edge-node stop
Edge Node not started yet
root@s224314:~/edge-node/edge-node# sleep 5 && edge-node start
Edge Node started ok, pid: 16791
root@s224314:~/edge-node/edge-node# sleep 5 && edge-node status
Edge Node not started yet
root@s224314:~/edge-node/edge-node#
日志:
2024/08/02 04:11:30 initializing ip library ...
2024/08/02 04:11:31 init config ...
2024/08/02 04:11:31 loading node config ...
2024/08/02 04:11:31 add policy 1
2024/08/02 04:11:31 loading database from '/opt/cache/p1/.stores' ...
2024/08/02 04:11:31 init policy 1 from '/opt/cache', cost: 78.93 ms, size: 1.527 GiB, mmap: disabled
2024/08/02 04:11:31 start task '6'
2024/08/02 04:11:31 start task '5'
2024/08/02 04:11:31 start task '4'
2024/08/02 04:11:31 start task '3'
2024/08/02 04:11:31 start task '2'
2024/08/02 04:11:31 start task '1'
2024/08/02 04:11:31 set max cpu to '16'
2024/08/02 04:11:31 set max threads to '20000'
2024/08/02 17:11:31 change time zone to 'Asia/Shanghai'
2024/08/02 17:11:34 loaded 62 isolates
2024/08/02 17:11:34 'nftables' should be installed on the system to enhance security (init failed: 'nft' not found)
2024/08/02 17:11:34 start
2024/08/02 17:11:34 listen 'http://*:80'
2024/08/02 17:11:34 starting ...
2024/08/02 17:11:34 start ...
2024/08/02 17:11:34 listen 'https://*:443'
2024/08/02 17:11:34 start ...
2024/08/02 17:11:34 starting from 'kvstore' version '0' ...
2024/08/02 17:11:34 initializing ip items ...
2024/08/02 17:11:34 finished initializing ip items qwe5343 发表于 2024-8-2 17:17
还是一样,我使用Debian 10新安装的系统,没有安装其他软件:
root@s224314:~/edge-node/edge-node# edg ...
Debian11多谢你,不然建议直接重装系统安装本站的1.4.2版本唔该{:6_255:} nyarime 发表于 2024-8-2 18:54
Debian11多谢你,不然建议直接重装系统安装本站的1.4.2版本唔该
其实我是想用Centos7 是测试多次1.3.9出现同样问题,才换Debian10测试一下问题依然存在,太新系统一些网络加速驾驭不起来,难搞哦,不知道怎么解决,都是启动,三秒左右秒就不运行了,我另外一台节点就正常也是Centos7系统没有出现,可是同样系统,同一家的vps,一台正常运行,一台不正常,如果出现报错代码还好解决,关键日志没有错误代码输出 qwe5343 发表于 2024-8-3 00:26
其实我是想用Centos7 是测试多次1.3.9出现同样问题,才换Debian10测试一下问题依然存在,太新系统一些网 ...
大哥检查过节点和主控正常通讯了吗,实在不行来tg群里问问吧 奥里给给支持 1.3.9手机端打开页面空白
页:
[1]