Skip to content

Commit

Permalink
omv, pybombs, pypi: refine wording
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
  • Loading branch information
Harry-Chen committed Aug 29, 2024
1 parent 825eebe commit 0a73747
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
8 changes: 3 additions & 5 deletions OpenMediaVault/OpenMediaVault.zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Open Media Vault 是一款基于 Debian 的 NAS 操作系统,本站提供 OpenMediaVault 的镜像,以加快国内访问速度。

以下方法自 5.6.3-1 开始可用(2021-04-07)
Open Media Vault 是一款基于 Debian 的 NAS 操作系统。

### 替换 Open Media Vault 镜像源

Expand All @@ -22,12 +20,12 @@ omv-env set OMV_EXTRAS_APT_REPOSITORY_URL "{{endpoint}}/openmediavault-plugin-de
omv-salt stage run all
</tmpl>

1. 由于 Open Media Vault 自带 kernel backports 因此在 `/etc/apt/source.list` 中配置 backports 源会造成冲突。
1. 由于 Open Media Vault 自带 kernel backports因此在 `/etc/apt/source.list` 中配置 backports 源会造成冲突。
2. 由于 Open Media Vault 的公钥分发通过源自己携带完成,因此本身存在被篡改的可能性,故在换源后用户需要通过其他渠道验证获取的公钥的正确性。

### 首次部署 Open Media Vault

对于首次部署操作步骤以 https://openmediavault.readthedocs.io/en/latest/installation/on_debian.html 为准
首次部署操作步骤可参考 <https://openmediavault.readthedocs.io/en/latest/installation/on_debian.html>

我们仅对 **Add the package repositories** 段落做出如下调整

Expand Down
11 changes: 3 additions & 8 deletions pybombs/pybombs.zh.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
[PyBOMBS](http://gnuradio.org/redmine/projects/pybombs/wiki) (Python Build Overlay Managed Bundle System) 是 [GNU Radio](http://gnuradio.org/) 的包管理系统。

从头开始一键安装 GNU Radio 在 Thinkpad X230 上实测大约只需要 40 分钟,下载非常快,主要的时间就剩编译了。而且安装的都是最新的版本
本镜像使用 http://github.com/scateu/pybombs-mirror 脚本进行构建

另外,PyBOMBS 会帮你解决依赖的问题,省得每次敲一堆 make cmake 命令了。

以前自己拖代码回来经常会被重置,而且耗时要几个小时。

**使用示例**
### 使用示例

<tmpl z-lang="bash">
{{sudo}}pip3 install pybombs
Expand All @@ -23,7 +19,7 @@ gnuradio-companion
pybombs install rtl-sdr hackrf bladeRF gr-osmosdr gr-bluetooth gr-ieee-80211
</tmpl>

**更新**
### 更新

由于 PyBOMBS 的 recipes 只能通过 git 仓库进行发布。而我们暂时不想维护一个复杂的 git 分支合并历史。所以更新时,需要将 recipe 仓库删除,然后再重新添加回来。(见[讨论](http://lists.gnu.org/archive/html/discuss-gnuradio/2016-06/msg00170.html))

Expand All @@ -34,4 +30,3 @@ pybombs recipes add gr-recipes git+{{endpoint}}/recipes/gr-recipes.git
pybombs recipes add gr-etcetera git+{{endpoint}}/recipes/gr-etcetera.git
</tmpl>

- 本镜像使用 http://github.com/scateu/pybombs-mirror 脚本进行构建。
2 changes: 1 addition & 1 deletion pypi/pypi.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip 要求使用 `https` ,因此需要 `https` 而不是 `http`

#### 设为默认

升级 pip 到最新的版本 (>=10.0.0) 后进行配置
升级 pip 到最新的版本后进行配置

<tmpl z-lang="bash">
python -m pip install --upgrade pip
Expand Down

0 comments on commit 0a73747

Please sign in to comment.