This commit is contained in:
teasiu
2023-11-29 00:49:26 +08:00
parent ac1f1a7a44
commit 600a5e1b78
3 changed files with 97 additions and 32 deletions

View File

@@ -0,0 +1,96 @@
---
sidebar_position: 1
---
# 系统更新和软件更新
海纳思系统几乎每天都有更新20231201往后版本以deb包版本更迭apt管理器进行升级和更新。
## 新版本升级
新版本全部采用apt软件包管理器进行更新符合debian系Linux的规范
### 升级命令
直接在终端输入以下命令,即可无损更新系统和软件:
```bash
sudo apt-get update
sudo apt-get upgrade
```
### 更新源节点
海纳思系统提供以下三个更新源的节点,你可以自行切换,以获得更快的下载速度。
- 官源gpg密钥
```
curl -fsSL https://www.ecoo.top/update/soft_init/histb.gpg |apt-key add -
```
- 节点源1
```bash
echo "deb https://node.histb.com:9088/update/repo/$(dpkg --print-architecture) histb main" > /etc/apt/sources.list.d/histb.list
```
- 节点源2
```bash
echo "deb https://node2.histb.com/update/repo/$(dpkg --print-architecture) histb main" > /etc/apt/sources.list.d/histb.list
```
- 节点源3
```bash
echo "deb https://node3.histb.com:9088/update/repo/$(dpkg --print-architecture) histb main" > /etc/apt/sources.list.d/histb.list
```
上面三句任选其一,然后:
```bash
apt-get update
apt-get upgrade
```
## 旧版本升级
以往的旧版本,提供以下一键命令方法全新升级系统。
### hi3798mv100机型
```bash
bash <(curl https://ecoo.top/mv100_upgrade.sh)
```
### hi3798mv200机型
```bash
bash <(curl https://ecoo.top/mv200_upgrade.sh)
```
### hi3798mv200恩兔n2ns1机型
```bash
bash <(curl https://ecoo.top/n2_upgrade.sh)
```
### hi3798mv300机型
```bash
bash <(curl https://ecoo.top/mv300_upgrade.sh)
```
### 玩客云 S805 机型
```bash
bash <(curl https://ecoo.top/s805_upgrade.sh)
```
## 常用脚本ota更新
- ota升级的细节一般会在社区发布帖子进行公布请自行留意更新。
- ota升级原则上是修复或新增系统的某些功能不会影响现有系统使用中的程序和用户数据。

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 1
sidebar_position: 3
---
# 共享文档转移

View File

@@ -1,31 +0,0 @@
---
sidebar_position: 3
---
# 升级海纳思系统
海纳思系统几乎每天都在更新
## mv100
```bash
bash <(curl https://ecoo.top/mv100_upgrade.sh)
```
## mv200
```bash
bash <(curl https://ecoo.top/mv200_upgrade.sh)
```
## mv300
```bash
bash <(curl https://ecoo.top/mv300_upgrade.sh)
```
## 注意
- ota升级的细节一般会在社区发布帖子进行公布请自行留意更新。
- ota升级原则上是修复或新增系统的某些功能不会影响现有系统使用中的程序和用户数据。