Post-installation Configuration
We have installed the basic system, but there is only the most basic thing, such as the kernel source code.
, Ports tree is not installed!
We installed X during installation. Now we configure X-Windows to run
Xf86cfg settings! The default desktop of OpenBSD is FVWM.
Now we add a new user named adduser to the system. Some
Basic settings, such as what encryption is used for the password. I have selected the most
Common MD5.
First, we start to install the kernel source code to prepare for future kernel compilation!
If you have cdns, you only need to extract src.tar.gz, CD/usr/src from cdns.
Post-tar xvzf src.tar.gz. in the previous article, we installed it from ftp. Therefore,
We want to download two packages: src.tar.gz, sys.tar.gz.
Ftp://ftp.ca.openbsd.org/pub/OpenBS...i386/src.tar.gz
Ftp://ftp.ca.openbsd.org/pub/OpenBS...i386/sys.tar.gz
Install the ports tree, download ports.tar.gz, and copy/usr/, tar
Xzvf ports.tar.gz.
Ftp://ftp.ca.openbsd.org/pub/OpenBS...86/ports.tar.gz
Install CVSup,
Download cvsup-16.1f.tar.gz, if no X is installed, download the cvsup-16.1f-
No_x.tar.gz
# Ftp://ftp.ca.openbsd.org/pub/OpenBS...p-16.1f..tar.gz
# Pkg_add cvsup-16.1f.tar.gz
Edit CVSup-supfile. The OpenBSD editor is mg, which is similar to Emacs.
# Defaults that apply to all the collections
* Default release = CVS
* Default Delete use-rel-suffix
* Default umask = 002
* Default host = cvsup.uk.openbsd.org
* Default base =/CVSup
* Default prefix =/CVSup
# If your network link is T1 or faster, comment out
Following line.
* Default Compress
OpenBSD-all
# OpenBSD-Src
# OpenBSD-WWW
# OpenBSD-Ports
# OpenBSD-x11
# OpenBSD-xf4
Save,
# Mg CVSup-supfile
# Cd/
# Mkdir CVSup
# Cd
# Cvusp-g-L 2 CVSup-supfile
You can upgrade the ports tree!
The installation software is the same as that in FreeBSD. Compile the kernel later!
Major CVSup sites:
Cvsup.uk.openbsd.org]
Cvsup.de.openbsd.org
Cvsup2.de.openbsd.org
Cvsup.hu.openbsd.org
Cvsup.fr.openbsd.org
Cvsup.ca.openbsd.org
Cvsup.usa.openbsd.org
Cvsup.kr.openbsd.org
Cvsup.no.openbsd.org
Cvsup.pt.openbsd.org
Anoncvs.de.openbsd.org
Rt. fm
Skeleton.phys.spbu.ru
Cvsup.jp.openbsd.org
Pai.osn.de
Openbsd.informatik.uni-erlangen.de
OpenBSD-Src-the SRC Repository
OpenBSD-ports-the ports Repository
OpenBSD-WWW-the WWW Repository
OpenBSD-x11-The XFree86-3 Repository
OpenBSD-xf4-The XFree86-4 Repository
OpenBSD-all OpenBSD Repositories
Network Configuration
Because it is a little different from FreeBSD and other configurations, I will point it out here!
I use the LAN myself, so I will only introduce this aspect. If someone uses
In PPP mode, you can view the FAQ on the official site on your own.
Many OpenBSD users may switch from FreeBSD, but OpenBSD
The network configuration of is different from that of FreeBSD. Its network configuration is not written
RC. conf is stored as a separate file.
The nic ip address is stored in/etc/hostname. Nic model name and gateway
In/etc/mygate
The host name is stored in/etc/myname, and the name server address is not changed.
In/etc/resolv. conf
We use ifconfig-a to view the NIC model: (this is what I have configured .)
)
Lo0: Flags = 8049 <up, loopback, running, multicast> MTU 33224
Inet 127.0.0.1 netmask 0xff000000
Lo1: Flags = 8008 <loopback, multicast> MTU 33224
Ne0:
Flags = 8863 <up, broadcast, notrailers, running, simplex, multi
Cast> MTU 1500
Address: 00: E0: 4C: E0: 45: 0c
Media: Ethernet Autoselect (10 BaseT)
Inet ***. *** netmask 0xfffffffe00 Broadcast
***.***.***.***
Pflog0: Flags = 0 <> MTU 33224.
Pfsync0: Flags = 0 <> MTU 2020.
My network card is ne0, but somehow, after the system is installed, set it in/etc/
The file is hostname. ne3, so I have to manually change it
Hostname. ne0,
The format of this hostname. * file is as follows:
Inet 192.168.0.1 netmask 255.255.255.0 none
Inet specifies the IP address and netmask specifies the network mask.
Of course, you can also specify the detailed Nic description:
Inet 10.0.0.38 255.255.255.0 none media 100 basetx
Mediaopt full-duplex
Now specify the gateway, modify/etc/mygate, and write it to the gateway IP address.
Host Name, write/etc/myname.
/Etc/resolv. conf is the same as other systems!
Here, our OpenBSD system has been installed, and I will write it out later.
Come on, I will release 3.4release in a few days. Then I will upgrade it to 3.4 and write it again.
.
If you have any questions, go to the FreeBSD version of linuxeden.com. I will discuss it with you. Me
Commonly Used in www.linuxsir.com (BSD), www.chinaunix.net
(BSD), www.freebsdchina.org, www.linuxfans.org,
Www.cnfug.org.
Note: This article references opnbsd.org's online documentation. If you have any questions
You can view its FAQ on the openbsd.org website.