计算任务脚本安装方式(32位)

Moderator: 论坛版主

Post Reply
User avatar
wusheng
4
Posts: 207
Joined: Thu Nov 01, 2018 10:13 am

计算任务脚本安装方式(32位)

Post by wusheng » Thu Jan 10, 2019 3:53 am

测试通过设备
1.树莓派3b+
2.NanoPi-M1-Plus
测试通过系统
1.Raspbian Stretch Lite 下载地址
安装方式:
1:
SSH登录设备

Code: Select all

wget https://github.com/qinghon/BonusCloud-Node/raw/master/aarch32/install.sh -O install.sh&&sudo bash install.sh
绑定命令

Code: Select all

curl -H "Content-Type: application/json" -d '{"bcode":"xxxx-xxxxxxxx","email":"xxxx@xxxx"}' http://主机ip:9017/bound
5/21更新:
- 修改命令方式
- 增加网卡名称指定,未指定就识别默认网卡
- 命令一览: 以后请以 我的主页为准

Code: Select all

    -h             Print this and exit
    -i             Installation environment check and initialization
    -k             Install the k8s environment and the k8s components that
                   BonusCloud depends on
    -n             Install node management components
    -r             Fully remove bonuscloud plug-ins and components
    -s             Install salt-minion for remote debugging by developers
    -I Interface   set interface name to you want
    -c             change kernel to compiled dedicated kernels,only "Phicomm N1"
                   and is danger!
5/21更新
设定网卡名称请用 如果不指定,安装时使用当前默认网卡

Code: Select all

bash install.sh -n -I wlan0 #wlan0 替换为你需要的网卡
卸载命令,会清除证书

Code: Select all

bash install.sh -r
恢复证书或绑定后可选步骤:检查运行状态
viewtopic.php?f=14&t=3194&p=10129#p10129
可能遇到的问题
官网后台不显示版本:
解决办法:

systemctl restart bxc-node
PS: 32位设备大概率遇上bxc-network兼容库问题,表现为

Code: Select all

/opt/bcloud/bxc-network
运行报错
可能的解决方法

Code: Select all

apt install -y libssl-dev libcurl4-openssl-dev liblzo2-dev libjson-c-dev
如果还不能解决,请换debian镜像试试
有未记录问题联系https://t.me/wusheng

bilang
3
Posts: 75
Joined: Thu Nov 01, 2018 10:47 am

Re: 计算任务脚本安装方式(32位)[测试中]

Post by bilang » Thu Jan 10, 2019 3:59 am

测试通过设备 NanoPi-M1-Plus

shihaichao31
1
Posts: 8
Joined: Sun Nov 04, 2018 10:43 am

Re: 计算任务脚本安装方式(32位)

Post by shihaichao31 » Sat Mar 02, 2019 11:58 pm

用ssh登录用户名和密码是多少?

User avatar
wusheng
4
Posts: 207
Joined: Thu Nov 01, 2018 10:13 am

Re: 计算任务脚本安装方式(32位)

Post by wusheng » Sun Mar 03, 2019 3:49 am

shihaichao31 wrote:
Sat Mar 02, 2019 11:58 pm
用ssh登录用户名和密码是多少?
镜像不能登录
有未记录问题联系https://t.me/wusheng

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Tue Apr 02, 2019 1:08 am

[quote=wusheng post_id=10705 time=1551584995 user_id=50]
[quote=shihaichao31 post_id=10704 time=1551571113 user_id=435]
用ssh登录用户名和密码是多少?
[/quote]
镜像不能登录
[/quote]

登录不了怎么进行升级操作啊?要重新刷系统吗?

User avatar
Sinan Wang
5
Posts: 989
Joined: Thu Nov 01, 2018 10:34 am

Re: 计算任务脚本安装方式(32位)

Post by Sinan Wang » Tue Apr 02, 2019 2:59 am

yanchenur wrote:
Tue Apr 02, 2019 1:08 am
wusheng wrote:
Sun Mar 03, 2019 3:49 am
shihaichao31 wrote:
Sat Mar 02, 2019 11:58 pm
用ssh登录用户名和密码是多少?
镜像不能登录
登录不了怎么进行升级操作啊?要重新刷系统吗?
(1)将升级镜像烧录进U盘。
(2)将N1断电关机,并插上刚烧录好的U盘。
(3)将N1开机,耐心等待5-10分钟即可自动升级成功。
(4)关机,拔下U盘,重新开机联网即可。
BonusCloud.io

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Mon Apr 08, 2019 3:46 am

我的设备是树莓派,以前还没出计算任务的时候就安装了官方的定制系统并且已经绑定的码,现在要怎么升级?

User avatar
Sinan Wang
5
Posts: 989
Joined: Thu Nov 01, 2018 10:34 am

Re: 计算任务脚本安装方式(32位)

Post by Sinan Wang » Mon Apr 08, 2019 4:22 am

yanchenur wrote:
Mon Apr 08, 2019 3:46 am
我的设备是树莓派,以前还没出计算任务的时候就安装了官方的定制系统并且已经绑定的码,现在要怎么升级?
最早的系统不支持自动升级,得手动重新刷一下,或者重新用脚本安装的方式

树莓派的证书可以备份,把TF卡插到电脑上,用DG识别并找到证书备份即可,重新安装后将证书导入
BonusCloud.io

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Mon Apr 08, 2019 7:24 am

如何备份和导入证书呢?能否教一下哈,谢谢管理员啦

User avatar
Sinan Wang
5
Posts: 989
Joined: Thu Nov 01, 2018 10:34 am

Re: 计算任务脚本安装方式(32位)

Post by Sinan Wang » Mon Apr 08, 2019 7:55 am

yanchenur wrote:
Mon Apr 08, 2019 7:24 am
如何备份和导入证书呢?能否教一下哈,谢谢管理员啦
就是我上面说的啊,树莓派的TF卡,用读卡器插电脑,然后用 Diskgenius 备份 opt/bcloud 文件夹就行了
BonusCloud.io

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Tue Apr 09, 2019 1:20 am

谢谢啦~~~~

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Mon Apr 22, 2019 5:52 pm

BonusCloud-LiteNode-raspberryPi-armv7l-20181210.img 这个固件不支持计算任务的吗?

User avatar
Sinan Wang
5
Posts: 989
Joined: Thu Nov 01, 2018 10:34 am

Re: 计算任务脚本安装方式(32位)

Post by Sinan Wang » Tue Apr 23, 2019 3:15 am

yanchenur wrote:
Mon Apr 22, 2019 5:52 pm
BonusCloud-LiteNode-raspberryPi-armv7l-20181210.img 这个固件不支持计算任务的吗?
是支持的,但是目前因为我们整体升级了系统,这个镜像有一点内核兼容的bug,近期会修复
BonusCloud.io

yanchenur
1
Posts: 4
Joined: Tue Mar 26, 2019 1:46 am

Re: 计算任务脚本安装方式(32位)

Post by yanchenur » Tue Apr 23, 2019 8:49 am

Sinan Wang wrote:
Tue Apr 23, 2019 3:15 am
yanchenur wrote:
Mon Apr 22, 2019 5:52 pm
BonusCloud-LiteNode-raspberryPi-armv7l-20181210.img 这个固件不支持计算任务的吗?
是支持的,但是目前因为我们整体升级了系统,这个镜像有一点内核兼容的bug,近期会修复
修复好了之后,它会自动升级吗?还是要重新刷系统呢?

User avatar
Sinan Wang
5
Posts: 989
Joined: Thu Nov 01, 2018 10:34 am

Re: 计算任务脚本安装方式(32位)

Post by Sinan Wang » Tue Apr 23, 2019 8:51 am

需要重新刷,因为内核不兼容不能自动升级
BonusCloud.io

zfqq
1
Posts: 1
Joined: Fri Nov 09, 2018 6:14 am

Re: 计算任务脚本安装方式(32位)

Post by zfqq » Sun Jul 14, 2019 3:56 am

现在的树莓派版本安装不了有历史版本的系统么

Post Reply