找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 20910|回复: 56

VPS/学生机运行博纳云网络任务(占用资源小 支持服务器多开)

[复制链接]
本帖最后由 二猫 于 2019-6-10 20:21 编辑

安装计算任务时会同时安装网络任务,但有的vps性能太低或者直接不需要计算任务,就需要只运行网络任务的解决方案
和x86计算任务安装类似,只安装网络任务也是用脚本进行安装
下载脚本并安装二合命令为
  1. wget https://raw.githubusercontent.com/qinghon/BonusCloud-Node/master/x86_64/install.sh -O install.sh&&sudo bash install.sh -g
复制代码


其中下载命令为
  1. wget https://raw.githubusercontent.com/qinghon/BonusCloud-Node/master/x86_64/install.sh -O install.sh
复制代码

安装命令为
  1. bash install.sh -g
复制代码

这里有两个方案可以选择





    想要极致内存精简且系统兼容的话选1

系统不支持1的时候选2


安装命令可多次运行,例如出现安装失败等问题时可多重试几遍
安装完成后会提示绑定
输入bcode和email进行绑定


安装完成后可通过
  1. bash install.sh -t
复制代码

查看安装运行状态


单网络任务正常状态如下图


bxc-node在网络任务中可选运行(仅绑定时需要,占用大约13M内存),如需绑定可运行
  1. systemctl start bxc-node
  2. bash install.sh -b
复制代码

评分

参与人数 1恩山币 +1 收起 理由
ba*** + 1 强大的恩山!(以下重复1万次)

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
本帖最后由 caitou139 于 2019-6-12 10:05 编辑

你好 腾讯学生云已经 ubuntu 18.04 X64
已经开放全部端口安全组.
但是在后台显示
   
  1. NAT 类型:- UPNP:关闭
复制代码
  1. bash install.sh -t
  2. install.sh: line 672: docker: command not found

  3. bxc-network:
  4. |install?       |running?       |connect?       |proxy aleady?
  5. not install     not running     tun0 not create not running
  6. bxc-node:
  7. |install?       |running?       |version
  8. installed       running         v0.4.3
  9. k8s:
  10. installed       not running
  11. docker:
  12. installed
复制代码


docker 错误如下;
  1. docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused "process_linux.go:385: running prestart hook 0 caused \\"error running hook: exit status 1, stdout: , stderr: time=\\\\\\"2019-06-12T02:04:03Z\\\\\\" level=fatal msg=\\\\\\"failed to add interface veth7dc9142 to sandbox: error setting interface \\\\\\\\\\\\\\"veth7dc9142\\\\\\\\\\\\\\" MAC to \\\\\\\\\\\\\\"a5:41:92:32:74:4d\\\\\\\\\\\\\\": cannot assign requested address\\\\\\"\\\\n\\""": unknown.
  2. 829a14168c87227d10e5208e1891b51f6f1fdb0735bdc14fe2589d3b6f99df87
复制代码



TAT...

点评

network的程序没装上  详情 回复 发表于 2019-6-12 10:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
caitou139 发表于 2019-6-12 09:49
你好 腾讯学生云已经 ubuntu 18.04 X64
已经开放全部端口安全组.
但是在后台显示

network的程序没装上

点评

运行起来了 我看官网说分三种 code 中国大陆/非中国大陆/中国大陆-计算任务专用 中国大陆-计算任务专用 需要100G,我的VPS不足,我可以挂前面第一个的CODE再VPS里面吗  详情 回复 发表于 2019-6-12 12:19
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

二猫 发表于 2019-6-12 10:46
network的程序没装上
  1. root@VM-0-3-ubuntu:~# bash install.sh -t

  2. bxc-network:
  3. |install?       |running?       |connect?       |proxy aleady?
  4. installed       not running     tun0 not create running
  5. bxc-node:
  6. |install?       |running?       |version
  7. installed       not running
  8. k8s:
  9. not install     not running
  10. docker:
  11. installed
  12. root@VM-0-3-ubuntu:~# systemctl start bxc-network
  13. root@VM-0-3-ubuntu:~# systemctl start bxc-network
  14. root@VM-0-3-ubuntu:~# bash install.sh -t

  15. bxc-network:
  16. |install?       |running?       |connect?       |proxy aleady?
  17. installed       running         tun0 not create running
  18. bxc-node:
  19. |install?       |running?       |version
  20. installed       not running
  21. k8s:
  22. not install     not running
  23. docker:
  24. installed
  25. root@VM-0-3-ubuntu:~#
复制代码

运行起来了   我看官网说分三种 code

中国大陆/非中国大陆/中国大陆-计算任务专用

中国大陆-计算任务专用 需要100G,我的VPS不足,我可以挂前面第一个的CODE再VPS里面吗

点评

用第一种码就行了,不足100G的话,只运行网络任务就行了  详情 回复 发表于 2019-6-12 12:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
caitou139 发表于 2019-6-12 12:19
运行起来了   我看官网说分三种 code

中国大陆/非中国大陆/中国大陆-计算任务专用

用第一种码就行了,不足100G的话,只运行网络任务就行了

点评

还有最后一个问题,不好意思, connect : tun0 not create  详情 回复 发表于 2019-6-12 12:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 caitou139 于 2019-6-12 12:42 编辑
二猫 发表于 2019-6-12 12:24
用第一种码就行了,不足100G的话,只运行网络任务就行了
  1. bxc-network:
  2. |install?       |running?       |connect?       |proxy aleady?
  3. installed       running         tun0 not create running
  4. bxc-node:
  5. |install?       |running?       |version
  6. installed       running         v0.4.3
  7. k8s:
  8. not install     not running
  9. docker:
  10. installed
复制代码

还有最后一个问题,不好意思, connect  : tun0 not create网站后台还是 NAT 类型:- UPNP:关闭
是否需要做端口映射?

点评

请问怎么解决的? 铜球  详情 回复 发表于 2019-9-2 00:20
解决了 感谢~~  详情 回复 发表于 2019-6-12 14:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

caitou139 发表于 2019-6-12 12:40
还有最后一个问题,不好意思, connect  : tun0 not create网站后台还是 NAT 类型:- UPNP:关闭
是 ...

解决了 感谢~~
  1. root@ubuntu:~# bash install.sh -t

  2. bxc-network:
  3. |install?       |running?       |connect?       |proxy aleady?
  4. installed       running         tun0 run!       running
  5. bxc-node:
  6. |install?       |running?       |version
  7. installed       not running
  8. k8s:
  9. not install     not running
  10. docker:
  11. installed
复制代码

点评

怎么解决的,求告知  详情 回复 发表于 2019-8-8 08:04
怎么解决的?  详情 回复 发表于 2019-6-13 11:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

怎么解决的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

可以多开计算任务吗?怎么操作的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感觉买个树莓派挂更好,谢谢楼主分享了

点评

N1更好一点  详情 回复 发表于 2019-7-15 16:29
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
xunxiangke 发表于 2019-7-14 13:05
感觉买个树莓派挂更好,谢谢楼主分享了

N1更好一点
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个太6666了,十分的感谢。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

多大的VPS,占用空间多少,月流量多少?

点评

不占多少空间,网络任务很少走流量  详情 回复 发表于 2019-7-30 17:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
couurh 发表于 2019-7-29 17:13
多大的VPS,占用空间多少,月流量多少?

不占多少空间,网络任务很少走流量
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

是不是要回复才能看东西
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 06:02

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表