Machine configuration:
core:P4\1.7G
Motherboard:MSI845
Memory: Kingston256*2
Hard drive: Maito40G
Graphics card:ATI Radeon 75
Display board:Samsung SyncMaster 753DFX
Sound card:Creative Sound Blaster Live!
1. InstallationFreeBSD5.4Release
from/releases/5.4R/Choose oneFTPThe server is downloaded and then engraved into a CD. Next, install from the CD, my few options:
1, select Minimize installation when selecting software packages.
2, install toportsWhen selectnet-->cvsup, for updateports。
2. ConfigurationFreeBSD
1, configuration/etc/,mine:
hostname=""
defaultrouter="192.168.20.254"
ifconfig_rl0="inet 192.168.121.250 netmask 255.255.255.0"
ifconfig_rl1="inet 192.168.20.1 netmask 255.255.255.0"
inetd_enable="YES"
linux_enable="YES"
moused_enable="YES"
#sshd_enable="YES"
#usbd_enable="YES"
2, configuration/etc/,mine:
domain
nameserver 221.228.255.1
nameserver 218.2.135.1
Restart the machine when finished.
3, put the CD into the optical drive, installportsandsrc
#/stand/sysinstall
Then chooseConfigure-->Distributions, and then use the space bar to selectsrcandportsTwo items, clickinstall, restart the machine after installation is completed.
4, enableftp(For uploading files later)
#cd /etc
# ee
Willftp stream tcp nowait root /usr/libexec/ftpd ftpd -lA line of#Remove the number.
Save and exit.
three,upgradeports
#cp /usr/share/examples/cvsup/ports-supfile /etc/funpower
#cd /etc
# ee funpower
Modify the following line:
default host=
Then run the following command:
cvsup -g -L 2 funpower
Restart the machine after the installation is completed.
Four, configure kernel files
For each description when configuring the kernel, you can refer to this:/kinki/, support for sound cards should be added in the configuration. For how to install sound cards, please refer to this:/snap/doc/zh_CN.GB2312/books/handbook/
The following are the specific operations:
#cd /sys/i386/conf
#cp GENERIC funpower
#ee funpower
My kernel file is as follows:
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# /doc/en_US.ISO8859-1/books/handbook/
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13
machine i386
cpu I686_CPU
ident funpower
# To statically compile in device wiring instead of /boot/
#hints "" # Default places to look for devices.
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for a
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG #
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# /doc/en_US.ISO8859-1/books/handbook/
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13
machine i386
cpu I686_CPU
ident funpower
# To statically compile in device wiring instead of /boot/
#hints "" # Default places to look for devices.
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for a
options UFS_DIRHASH # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PR
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
# Bus support. Do not remove isa, even if you have no isa slots
device isa
device eisa
device pci
# Floppy drives
#device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives