mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
debootstrap: add Chinese translation (#5802)
This commit is contained in:
parent
906ccc19e4
commit
06c71c6a70
1 changed files with 20 additions and 0 deletions
20
pages.zh/linux/debootstrap.md
Normal file
20
pages.zh/linux/debootstrap.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# debootstrap
|
||||
|
||||
> 创建一个基本的 `Debian` 系统。
|
||||
> 更多信息:<https://wiki.debian.org/Debootstrap>.
|
||||
|
||||
- 在 `debian-root` 目录中创建一个 `Debian` 稳定分支系统:
|
||||
|
||||
`sudo debootstrap stable {{path/to/debian-root/}} http://deb.debian.org/debian`
|
||||
|
||||
- 使用本地镜像在 `focal-root` 目录中创建一个 `Ubuntu 20.04` 系统:
|
||||
|
||||
`sudo debootstrap focal {{path/to/focal-root/}} {{file:///path/to/mirror/}}`
|
||||
|
||||
- 切换到可引导系统:
|
||||
|
||||
`sudo chroot {{path/to/root}}`
|
||||
|
||||
- 列出可用的版本:
|
||||
|
||||
`ls /usr/share/debootstrap/scripts/`
|
Loading…
Add table
Reference in a new issue