OpenBSD 8.0
OpenBSD 8.0
All applicable copyrights and credits are in the src.tar.gz, sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the files fetched via ports.tar.gz.
所有适用的版权和致谢信息均包含在 src.tar.gz、sys.tar.gz、xenocara.tar.gz、ports.tar.gz 文件中,或包含在通过 ports.tar.gz 获取的文件中。
This is a partial list of new features and systems included in OpenBSD 8.0. For a comprehensive list, see the changelog leading to 8.0.
这是 OpenBSD 8.0 中包含的新功能和系统的部分列表。如需完整列表,请参阅 8.0 版本的更新日志。
Many pre-built packages for each architecture:
针对每种架构的许多预构建软件包:
Please refer to the following files on the mirror site for extensive details on how to install OpenBSD 8.0 on your machine:
请参阅镜像站点上的以下文件,以获取有关如何在您的机器上安装 OpenBSD 8.0 的详细信息:
Quick installer information for people familiar with OpenBSD, and the use of the “disklabel -E” command. If you are at all confused when installing OpenBSD, read the relevant INSTALL.* file as listed above!
为熟悉 OpenBSD 的用户提供的快速安装指南,以及关于“disklabel -E”命令的使用说明。如果您在安装 OpenBSD 时有任何困惑,请阅读上述相关的 INSTALL.* 文件!
If your machine can boot from CD, you can write install80.iso or cd80.iso to a CD and boot from it. Refer to INSTALL.alpha for more details.
如果您的机器可以从 CD 启动,您可以将 install80.iso 或 cd80.iso 写入 CD 并从中启动。有关更多详细信息,请参阅 INSTALL.alpha。
If your machine can boot from CD, you can write install80.iso or cd80.iso to a CD and boot from it. You may need to adjust your BIOS options first.
如果您的机器可以从 CD 启动,您可以将 install80.iso 或 cd80.iso 写入 CD 并从中启动。您可能需要先调整 BIOS 选项。
If your machine can boot from USB, you can write install80.img or miniroot80.img to a USB stick and boot from it.
如果您的机器可以从 USB 启动,您可以将 install80.img 或 miniroot80.img 写入 USB 闪存盘并从中启动。
If you can’t boot from a CD, floppy disk, or USB, you can install across the network using PXE as described in the included INSTALL.amd64 document.
如果您无法从 CD、软盘或 USB 启动,您可以按照随附的 INSTALL.amd64 文档中的说明,通过 PXE 进行网络安装。
If you are planning to dual boot OpenBSD with another OS, you will need to read INSTALL.amd64.
如果您计划将 OpenBSD 与其他操作系统双启动,则需要阅读 INSTALL.amd64。
Depending on your hardware, you can write install80.iso or cd80.iso to a CD and boot from it, or write a system specific miniroot to an SD card and boot from it after connecting to the serial console. Refer to INSTALL.armv64 for more details.
根据您的硬件情况,您可以将 install80.iso 或 cd80.iso 写入 CD 并从中启动,或者将特定于系统的 miniroot 写入 SD 卡,并在连接到串行控制台后从中启动。有关更多详细信息,请参阅 INSTALL.armv64。
Write a system specific miniroot to an SD card and boot from it after connecting to the serial console. Refer to INSTALL.armv7 for more details.
将特定于系统的 miniroot 写入 SD 卡,并在连接到串行控制台后从中启动。有关更多详细信息,请参阅 INSTALL.armv7。
Boot over the network by following the instructions in INSTALL.hppa or the hppa platform page.
按照 INSTALL.hppa 或 hppa 平台页面中的说明通过网络启动。
If your machine can boot from CD, you can write install80.iso or cd80.iso to a CD and boot from it. You may need to adjust your BIOS options first.
如果您的机器可以从 CD 启动,您可以将 install80.iso 或 cd80.iso 写入 CD 并从中启动。您可能需要先调整 BIOS 选项。
If your machine can boot from USB, you can write install80.img or miniroot80.img to a USB stick and boot from it.
如果您的机器可以从 USB 启动,您可以将 install80.img 或 miniroot80.img 写入 USB 闪存盘并从中启动。
If you can’t boot from a CD, floppy disk, or USB, you can install across the network using PXE as described in the included INSTALL.i386 document.
如果您无法从 CD、软盘或 USB 启动,您可以按照随附的 INSTALL.i386 文档中的说明,通过 PXE 进行网络安装。
If you are planning on dual booting OpenBSD with another OS, you will need to read INSTALL.i386.
如果您计划将 OpenBSD 与其他操作系统双启动,则需要阅读 INSTALL.i386。
Write miniroot80.img to the start of the CF or disk, and boot normally.
将 miniroot80.img 写入 CF 卡或磁盘的起始位置,然后正常启动。
Copy ‘boot’ and ‘bsd.rd’ to a Mach or UniOS partition, and boot the bootloader from the PROM, and then bsd.rd from the bootloader. Refer to the instructions in INSTALL.luna88k for more details.
将 ‘boot’ 和 ‘bsd.rd’ 复制到 Mach 或 UniOS 分区,从 PROM 启动引导加载程序,然后从引导加载程序启动 bsd.rd。有关更多详细信息,请参阅 INSTALL.luna88k 中的说明。
Burn the install80.iso image from a mirror site to a CDROM, and power on your machine while holding down the C key until the display turns on and shows OpenBSD/macppc boot.
将镜像站点上的 install80.iso 映像刻录到 CDROM,并在按住 C 键的同时打开机器电源,直到显示屏亮起并显示 OpenBSD/macppc 启动界面。
Alternatively, at the Open Firmware prompt, enter boot cd:,ofwboot /8.0/macppc/bsd.rd
或者,在 Open Firmware 提示符下,输入 boot cd:,ofwboot /8.0/macppc/bsd.rd
After connecting a serial port, boot bsd.rd over the network via DHCP/tftp. Refer to the instructions in INSTALL.octeon for more details.
连接串行端口后,通过 DHCP/tftp 通过网络启动 bsd.rd。有关更多详细信息,请参阅 INSTALL.octeon 中的说明。
To install, write install80.img or miniroot80.img to a USB stick, plug it into the machine and choose the OpenBSD install menu item in Petitboot. Refer to the instructions in INSTALL.powerpc64 for more details.
要进行安装,请将 install80.img 或 miniroot80.img 写入 USB 闪存盘,将其插入机器,并在 Petitboot 中选择 OpenBSD 安装菜单项。有关更多详细信息,请参阅 INSTALL.powerpc64 中的说明。
To install, write install80.img or miniroot80.img to a USB stick, and boot with that drive plugged in. Make sure you also have the microSD card plugged in that shipped with the HiFive Unmatched board. Refer to the instructions in INSTALL.riscv64 for more details.
要进行安装,请将 install80.img 或 miniroot80.img 写入 USB 闪存盘,并在插入该驱动器的情况下启动。请确保同时插入了随 HiFive Unmatched 板附带的 microSD 卡。有关更多详细信息,请参阅 INSTALL.riscv64 中的说明。
Burn the image from a mirror site to a CDROM, boot from it, and type boot cdrom.
将镜像站点上的映像刻录到 CDROM,从中启动,然后输入 boot cdrom。
If this doesn’t work, or if you don’t have a CDROM drive, you can write floppy80.img or floppyB80.img (depending on your machine) to a floppy and boot it with boot floppy. Refer to INSTALL.sparc64 for details.
如果此方法无效,或者您没有 CDROM 驱动器,您可以将 floppy80.img 或 floppyB80.img(取决于您的机器)写入软盘,并使用 boot floppy 启动。有关详细信息,请参阅 INSTALL.sparc64。
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
请确保使用格式正确且没有坏块的软盘,否则您的安装很可能会失败。
You can also write miniroot80.img to the swap partition on the disk and boot with boot disk:b.
您也可以将 miniroot80.img 写入磁盘上的交换分区,并使用 boot disk:b 启动。
If nothing works, you can boot over the network as described in INSTALL.sparc64.
如果以上方法均无效,您可以按照 INSTALL.sparc64 中的说明通过网络启动。
If you already have an OpenBSD 7.9 system, and do not want to reinstall, upgrade instructions and advice can be found in the Upgrade Guide.
如果您已经拥有 OpenBSD 7.9 系统且不想重新安装,可以在升级指南中找到升级说明和建议。
src.tar.gz contains a source archive starting at /usr/src. This file contains everything you need except for the kernel sources, which are in a separate archive. To extract:
src.tar.gz 包含一个从 /usr/src 开始的源代码归档文件。该文件包含除内核源代码之外的所有必需内容,内核源代码位于单独的归档文件中。解压方法:
sys.tar.gz contains a source archive starting at /usr/src/sys. This file contains all the kernel sources you need to rebuild kernels. To extract:
sys.tar.gz 包含一个从 /usr/src/sys 开始的源代码归档文件。该文件包含重建内核所需的所有内核源代码。解压方法:
Both of these trees are a regular CVS checkout. Using these trees it is possible to get a head-start on using the anoncvs servers as described here. Using these files results in a much faster initial CVS update than you could expect from a fresh checkout of the full OpenBSD source tree.
这两个树都是常规的 CVS 检出。使用这些树可以按照此处所述,抢先使用 anoncvs 服务器。使用这些文件进行初始 CVS 更新的速度,要比从完整的 OpenBSD 源代码树进行全新检出快得多。
A ports tree archive is also provided. To extract:
此外还提供了 ports 树归档文件。解压方法:
Go read the ports page if you know nothing about ports at this point. This text is not a manual of how to use ports. Rather, it is a set of notes meant to kickstart the user on the OpenBSD ports system.
如果您目前对 ports 一无所知,请阅读 ports 页面。本文档并非使用 ports 的手册,而是一组旨在帮助用户快速上手 OpenBSD ports 系统的说明。
The ports/ directory represents a CVS checkout of our ports. As with our complete source tree, our ports tree is available via AnonCVS. So, in order to keep up to date with the -stable branch, you must make the ports/ tree available on a read-write medium and update the tree with a command like:
ports/ 目录代表我们 ports 的 CVS 检出。与我们完整的源代码树一样,我们的 ports 树也可以通过 AnonCVS 获取。因此,为了与 -stable 分支保持同步,您必须将 ports/ 树放在可读写介质上,并使用类似以下的命令更新该树:
[Of course, you must replace the server name here with a nearby anoncvs server.]
[当然,您必须将此处的服务器名称替换为附近的 anoncvs 服务器。]
Note that most ports are available as packages on our mirrors. Updated ports for the 8.0 release will be made available if problems arise.
请注意,大多数 ports 在我们的镜像上都以软件包的形式提供。如果出现问题,我们将提供 8.0 版本的更新 ports。
If you’re interested in seeing a port added, would like to help out, or just would like to know more, the mailing list ports@openbsd.org is a good place to know.
如果您有兴趣添加某个 port,希望提供帮助,或者只是想了解更多信息,邮件列表 ports@openbsd.org 是一个很好的去处。