mirror of https://github.com/openbsd/www.git
377 lines
13 KiB
HTML
377 lines
13 KiB
HTML
<!doctype html>
|
|
<html lang=en id=release>
|
|
<meta charset=utf-8>
|
|
|
|
<title>OpenBSD 3.0</title>
|
|
<meta name="description" content="OpenBSD 3.0">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="openbsd.css">
|
|
<link rel="canonical" href="https://www.openbsd.org/30.html">
|
|
|
|
<h2 id=OpenBSD>
|
|
<a href="index.html">
|
|
<i>Open</i><b>BSD</b></a>
|
|
3.0
|
|
</h2>
|
|
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<a href=images/Rock.jpg>
|
|
<img src=images/Rock.jpg alt="Rock"></a>
|
|
<td>
|
|
Released December 1, 2001<br>
|
|
Copyright 1997-2001, Theo de Raadt.<br>
|
|
<cite class=isbn>ISBN 0-9683637-8-4</cite>
|
|
<br>
|
|
3.0 Song: <a href="lyrics.html#30">"E-Railed (OpenBSD Mix)"</a>
|
|
<br>
|
|
<br>
|
|
<ul>
|
|
<li>See the information on <a href="ftp.html">the FTP page</a> for
|
|
a list of mirror machines.
|
|
<li>Go to the <code class=reldir>pub/OpenBSD/3.0/</code> directory on
|
|
one of the mirror sites.
|
|
<li>Have a look at <a href="errata30.html">The 3.0 Errata page</a> for a list
|
|
of bugs and workarounds.
|
|
<li>See a <a href="plus30.html">detailed log of changes</a> between the
|
|
2.9 and 3.0 releases.
|
|
</ul>
|
|
<p>
|
|
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 <code>ports.tar.gz</code>.
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
<section id=new>
|
|
<h3>What's New</h3>
|
|
<p>
|
|
This is a partial list of new features and systems included in OpenBSD 3.0.
|
|
For a comprehensive list, see the <a href=plus30.html>changelog</a> leading
|
|
to 3.0.
|
|
<p>
|
|
|
|
<ul>
|
|
<li><a href="https://www.OpenSSH.com">OpenSSH</a> (supporting both the
|
|
SSH1 and SSH2 protocols) is now at version 3.0. Secure file transfers are
|
|
encouraged using the greatly enhanced SFTP subsystem which now comes both with
|
|
an SFTP server and client.
|
|
<p>
|
|
|
|
<li>Extensive changes to the documentation, notably the man pages and
|
|
the Web FAQ. The manual pages now include useful examples to
|
|
supplement the explanations.
|
|
<p>
|
|
|
|
<li>More complete collection and better tested set of "ports".
|
|
<p>
|
|
|
|
<li>Over 1000 pre-built and tested packages.
|
|
<p>
|
|
|
|
<li>A new <a href="sparc64.html">OpenBSD/sparc64</a> port for UltraSPARC
|
|
hardware.
|
|
<p>
|
|
|
|
<li>A new packet filter, <a
|
|
href="https://man.openbsd.org/pf.4">PF</a>,
|
|
featuring NAT capabilities, with a mostly ipf-compatible syntax.
|
|
<p>
|
|
|
|
<li>The system includes the following major components from outside suppliers:
|
|
<p>
|
|
<ul>
|
|
<li>XFree86 4.1.0 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
|
|
<li>gcc 2.95.3 (+ patches)
|
|
<li>perl 5.6.1 (+ patches)
|
|
<li>Apache 1.3.19, mod_ssl 2.8.2, OpenSSL 0.9.6b (+ patches), DSO support
|
|
<li>groff 1.15
|
|
<li>sendmail 8.12.1
|
|
<li>lynx 2.8.2 with HTTPS support added
|
|
<li>sudo 1.6.3p7
|
|
<li>ncurses 5.2
|
|
<li>Latest KAME IPv6
|
|
<li>KTH Kerberos 1.0.8
|
|
<li>Heimdal 0.3f (+ patches)
|
|
<li>OpenSSH 3.0
|
|
</ul>
|
|
<p>
|
|
|
|
<li>Many improvements for security and reliability (look for the red
|
|
print in the <a href=plus30.html>complete changelog</a>).
|
|
</ul>
|
|
</section>
|
|
|
|
<hr>
|
|
|
|
<section id=install>
|
|
<h3>How to install</h3>
|
|
<p>
|
|
Following this are the instructions which you would have on a piece of
|
|
paper if you had purchased a CDROM set instead of doing an alternate
|
|
form of install. The instructions for doing an ftp (or other style
|
|
of) install are very similar; the CDROM instructions are left intact
|
|
so that you can see how much easier it would have been if you had
|
|
purchased a CDROM instead.
|
|
<p>
|
|
|
|
<hr>
|
|
Please refer to the following files on the three CDROMs for extensive
|
|
details on how to install OpenBSD 3.0 on your machine:
|
|
<p>
|
|
<ul>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/i386/INSTALL.i386">
|
|
.../OpenBSD/3.0/i386/INSTALL.i386 (on CD1)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/alpha/INSTALL.alpha">
|
|
.../OpenBSD/3.0/alpha/INSTALL.alpha (on CD1)</a>
|
|
<p>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/macppc/INSTALL.macppc">
|
|
.../OpenBSD/3.0/macppc/INSTALL.macppc (on CD2)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/mvme68k/INSTALL.mvme68k">
|
|
.../OpenBSD/3.0/mvme68k/INSTALL.mvme68k (on CD2)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/amiga/INSTALL.amiga">
|
|
.../OpenBSD/3.0/amiga/INSTALL.amiga (on CD2)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/mac68k/INSTALL.mac68k">
|
|
.../OpenBSD/3.0/mac68k/INSTALL.mac68k (on CD2)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/hp300/INSTALL.hp300">
|
|
.../OpenBSD/3.0/hp300/INSTALL.hp300 (on CD2)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/vax/INSTALL.vax">
|
|
.../OpenBSD/3.0/vax/INSTALL.vax (on CD2)</a>
|
|
<p>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/sparc/INSTALL.sparc">
|
|
.../OpenBSD/3.0/sparc/INSTALL.sparc (on CD3)</a>
|
|
<li><a href="https://ftp.openbsd.org/pub/OpenBSD/3.0/sparc64/INSTALL.sparc64">
|
|
.../OpenBSD/3.0/sparc64/INSTALL.sparc64 (on CD3)</a>
|
|
</ul>
|
|
</section>
|
|
|
|
<hr>
|
|
|
|
<section id=quickinstall>
|
|
|
|
<p>
|
|
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!
|
|
|
|
<h3>OpenBSD/i386:</h3>
|
|
|
|
<p>
|
|
Play with your BIOS options to enable booting from a CD. The OpenBSD/i386 release is on CD1. If your BIOS does not support booting from CD, you will need to create a boot floppy to install from. To create a boot floppy write <i>CD1:3.0/i386/floppy30.fs</i> to a floppy and boot via the floppy drive.
|
|
|
|
<p>
|
|
Use <i>CD1:3.0/i386/floppyB30.fs</i> instead for greater scsi controller
|
|
support, or <i>CD1:3.0/i386/floppyC30.fs</i> for better laptop support.
|
|
|
|
<p>
|
|
If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
|
|
|
|
<p>
|
|
To make a boot floppy under MS-DOS, use the "rawrite" utility located at <i>CD:/3.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS, use the <a href="https://man.openbsd.org/dd.1">dd(1)</a> utility. The following is an example usage of <a href="https://man.openbsd.org/dd.1">dd(1)</a>, where the device could be "floppy", "rfd0c", or "rfd0a".
|
|
|
|
<blockquote><pre>
|
|
# <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
|
|
</pre></blockquote>
|
|
|
|
<p>
|
|
Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or your install will most likely fail. For more information on creating a boot floppy and installing OpenBSD/i386 please refer to <a href="faq/faq4.html#4.1">this page</a>.
|
|
|
|
<h3>OpenBSD/alpha:</h3>
|
|
|
|
<p>
|
|
At the SRM prompt, enter <i>boot -fi 3.0/alpha/bsd.rd dka6</i> where <i>dka6</i>
|
|
is the short name for the CDROM drive (you can check with <i>show dev</i>).
|
|
|
|
<p>If you can't boot from CDROM, write <i>CD1:3.0/alpha/floppy30.fs</i> or
|
|
<i>CD1:3.0/alpha/floppyB30.fs</i> (depending on your machine) to a diskette and
|
|
enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
|
|
|
|
<p>
|
|
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
|
|
|
|
<h3>OpenBSD/macppc:</h3>
|
|
|
|
<p>
|
|
Put the CD2 in your CDROM drive and poweron your machine while holding down the
|
|
<i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
|
|
|
|
<p>
|
|
Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
|
|
/3.0/macppc/bsd.rd</i>
|
|
|
|
<p>
|
|
Due to an error in how the CD was produced for the 3.0 Release,
|
|
the following modified command should be used: <i>boot cd:,OFWBOOT
|
|
/3.0/macppc/bsd.rd</i>.
|
|
This command may not work on some older New World systems,
|
|
iMac (Rev A - Rev C); on these machines it will be necessary to
|
|
copy the ofwboot and /3.0/macppc/bsd.rd to the first HFS partition on
|
|
the harddrive and boot using <i>boot hd:,OFWBOOT /bsd.rd</i>.
|
|
|
|
<h3>OpenBSD/hp300:</h3>
|
|
|
|
<p>
|
|
Put the CD2 in your CDROM drive and press the spacebar during the poweron
|
|
self-test. Enter the boot choice that corresponds to <i>SYS_CDBOOT</i>.
|
|
|
|
<p>
|
|
Alternatively, you can boot over the network by following the instructions in
|
|
INSTALL.hp300.
|
|
|
|
<h3>OpenBSD/amiga:</h3>
|
|
|
|
<p>
|
|
Create BSD partitions according to INSTALL.amiga's preparation section.
|
|
Mount the CD2 under AmigaOS as device CD0: Next, execute the following
|
|
CLI command: "CD0:3.0/amiga/utils/loadbsd CD0:3.0/amiga/bsd.rd".
|
|
|
|
<h3>OpenBSD/mac68k:</h3>
|
|
|
|
<p>
|
|
Boot MacOS as normal and partition your disk with the appropriate A/UX
|
|
configurations. Then, extract the Macside utilities from
|
|
CD2:3.0/mac68k/utils onto your hard disk. Run Mkfs to create your
|
|
filesystems on the A/UX partitions you just made. Then, use the
|
|
BSD/Mac68k Installer to copy all the sets in CD2:3.0/mac68k/ onto your
|
|
partitions. Finally, you will be ready to configure the BSD/Mac68k
|
|
Booter with the location of your kernel and boot the system.
|
|
|
|
<h3>OpenBSD/mvme68k:</h3>
|
|
|
|
<p>
|
|
You can create a bootable installation tape or boot over the network.<br>
|
|
The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
|
|
and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
|
|
for more details.
|
|
|
|
<h3>OpenBSD/vax:</h3>
|
|
|
|
<p>
|
|
Boot over the network via mopbooting as described in INSTALL.vax.
|
|
|
|
<h3>OpenBSD/sparc:</h3>
|
|
|
|
<p>
|
|
The 3.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you can use one of the two commands listed below, depending on the version of your ROM.
|
|
|
|
<blockquote><pre>
|
|
> <kbd>boot cdrom 3.0/sparc/bsd.rd</kbd>
|
|
or
|
|
> <kbd>b sd(0,6,0)3.0/sparc/bsd.rd</kbd>
|
|
</pre></blockquote>
|
|
|
|
<p>
|
|
If your sparc does not have a CD drive, you can alternatively boot from floppy. To do so you need to write "CD3:3.0/sparc/floppy30.fs" to a floppy. For more information see <a href="faq/faq4.html#4.1">this page</a>. To boot from the floppy use one of the two commands listed below, depending on the version of your ROM.
|
|
|
|
<blockquote><pre>
|
|
> <kbd>boot floppy</kbd>
|
|
or
|
|
> <kbd>boot fd()</kbd>
|
|
</pre></blockquote>
|
|
|
|
<p>
|
|
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
|
|
|
|
<p>
|
|
If your sparc doesn't have a floppy drive nor a CD drive, you can either
|
|
setup a bootable tape, or install via network, as told in the
|
|
INSTALL.sparc file.
|
|
|
|
<h3>OpenBSD/sparc64:</h3>
|
|
|
|
<p>
|
|
Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
|
|
|
|
<p>
|
|
If this doesn't work, or if you don't have a CDROM drive, you can write
|
|
<i>CD3:3.0/sparc64/floppy30.fs</i> to a floppy and boot it with <i>boot
|
|
floppy</i>.<br>
|
|
Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
|
|
|
|
<p>
|
|
You can also write <i>CD3:3.0/sparc64/miniroot30.fs</i> to the swap partition on
|
|
the disk and boot with <i>boot disk:b</i>.
|
|
|
|
<p>
|
|
If nothing works, you can boot over the network as described in INSTALL.sparc64
|
|
</section>
|
|
|
|
<hr>
|
|
|
|
<section id=sourcecode>
|
|
<h3>Notes about the source code</h3>
|
|
<p>
|
|
<code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
|
|
This file contains everything you need except for the kernel sources, which are
|
|
in a separate archive. To extract:
|
|
<blockquote><pre>
|
|
# <kbd>mkdir -p /usr/src</kbd>
|
|
# <kbd>cd /usr/src</kbd>
|
|
# <kbd>tar xvfz /tmp/src.tar.gz</kbd>
|
|
</pre></blockquote>
|
|
<p>
|
|
<code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
|
|
This file contains all the kernel sources you need to rebuild kernels.
|
|
To extract:
|
|
<blockquote><pre>
|
|
# <kbd>mkdir -p /usr/src/sys</kbd>
|
|
# <kbd>cd /usr/src</kbd>
|
|
# <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
|
|
</pre></blockquote>
|
|
<p>
|
|
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 <a href="anoncvs.html">here</a>.
|
|
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.
|
|
</section>
|
|
|
|
<hr>
|
|
|
|
<section id=ports>
|
|
<h3>Ports Tree</h3>
|
|
<p>
|
|
A ports tree archive is also provided. To extract:
|
|
<blockquote><pre>
|
|
# <kbd>cd /usr</kbd>
|
|
# <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
|
|
</pre></blockquote>
|
|
<p>
|
|
The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
|
|
read <a href="faq/faq15.html">https://www.OpenBSD.org/faq/faq15.html</a>
|
|
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.
|
|
<p>
|
|
Certainly, the OpenBSD ports system is not complete. It is doubtful it
|
|
will ever be. However, it is growing very fast and getting more stable.
|
|
Almost all ports provided with this release should build without problems
|
|
on most architectures (over 1200 packages build on i386, for instance).
|
|
<p>
|
|
The <i>ports/</i> directory represents a CVS (see the manpage for
|
|
<a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
|
|
you aren't familiar with CVS) checkout of our ports. As with our complete
|
|
source tree, our ports tree is available via anoncvs. So, in
|
|
order to keep current with it, you must make the <i>ports/</i> tree
|
|
available on a read-write medium and update the tree with a command
|
|
like:
|
|
<blockquote><pre>
|
|
# <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_0</kbd>
|
|
</pre></blockquote>
|
|
<p>
|
|
[Of course, you must replace the local directory and server name here
|
|
with the location of your ports collection and a nearby anoncvs
|
|
server.]
|
|
<p>
|
|
Note that most ports are available as packages on our mirrors. Updated
|
|
packages for the 3.0 release will be made available if problems arise.
|
|
<p>
|
|
If you're interested in seeing a port added, would like to help out, or just
|
|
would like to know more, the mailing list
|
|
<a href="mail.html">ports@openbsd.org</a> is a good place to know.
|
|
</section>
|