diff --git a/docs/nas-skill/1-otaupdate.md b/docs/nas-skill/1-otaupdate.md new file mode 100644 index 0000000..8d45e26 --- /dev/null +++ b/docs/nas-skill/1-otaupdate.md @@ -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升级原则上是修复或新增系统的某些功能,不会影响现有系统使用中的程序和用户数据。 diff --git a/docs/nas-skill/1-movetousb.md b/docs/nas-skill/3-movetousb.md similarity index 98% rename from docs/nas-skill/1-movetousb.md rename to docs/nas-skill/3-movetousb.md index c94cb2c..6434818 100644 --- a/docs/nas-skill/1-movetousb.md +++ b/docs/nas-skill/3-movetousb.md @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 3 --- # 共享文档转移 diff --git a/docs/nas-skill/3-otaupdate.md b/docs/nas-skill/3-otaupdate.md deleted file mode 100644 index a5cd191..0000000 --- a/docs/nas-skill/3-otaupdate.md +++ /dev/null @@ -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升级原则上是修复或新增系统的某些功能,不会影响现有系统使用中的程序和用户数据。