FreeBSD 安装日志

分区
USB移动硬盘全盘使用 40GB
/dev/da0s1a / UFS 37000MB
/dev/da0s1b SWAP 1157MB

软件包
base, kern*, doc, man, catpages, src

网络接口
rl0 : DHCP IP: 192.168.0.2

安装介质
FTP Passvie : ftp://ftp.tw.freebsd.org (Taiwan)

Linux 兼容层
没有安装 linux_base-f4

设置用户和组
用户: lab 密码: ****
隶属组: lab, wheel, operator
组:lab 隶属于用户:lab

设置 root 密码
root 密码: ****

设置 portsnap 脚本

# vi /etc/portsnap.conf
SERVERNAME=portsnap.tw.freebsd.org

下载和解压 ports 树

# portsnap fetch
# portsnap extract

设置 make 源

# vi /etc/make.conf
MASTER_SITE_OVERRIDE=?\
ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp3.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp4.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp6.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp11.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/

挂载 procfs

# vi /etc/fstab
/proc       /proc       procfs     rw     0     0

安装 Xorg

# cd /usr/ports/x11/xorg
# make install clean

安装文泉驿字体

# cd /usr/ports/x11-fonts/wqy
# make install clean

安装 linux_base-f8 兼容层

# vi /etc/sysctl.conf
compat.linux.osrelease=2.6.16
# sysctl compat.linux.osrelease=2.6.16
# cd /usr/ports/emulators/linux_base-f8
# make install clean

安装 GNOME 2

# cd /usr/ports/x11/gnome2
# make install clean

安装 NVIDIA 驱动程序

# cd /usr/ports/x11/nvidia-driver
# make install clean

安装 nvidia-xconfig

# cd /usr/ports/x11/nvidia-xconfig
# make install clean

安装 Firefox 3

# cd /usr/ports/www/firefox3
# make install clean

安装 Pidgin

# cd /usr/ports/net-im/pidgin
# make install clean

安装 SCIM

# cd /usr/ports/textproc/scim
# make install clean

安装 scim-table-imengine

# cd /usr/ports/textproc/scim-table-imengine
# make install clean

配置 /boot/loader.conf

# vi /boot/loader.conf
linux_load="YES"
snd_ich_load="YES"
nvidia_load="YES"

配置 /etc/rc.conf

# vi /etc/rc.conf
hostname="heihaier"
ifconfig_rl0="DHCP"
keymap="us.iso"
sshd_enable="YES"
linux_enable="YES"
dbus_enable="YES"
hald_enable="YES"
gdm_enable="YES"

配置 Xorg

# nvidia-xconfig

修改 /etc/X11/xorg.conf

HorizSync       30.0 - 70.0     # 修改这里
VertRefresh     50.0 - 80.0     # 修改这里

Leave a Reply

Your email address will not be published. Required fields are marked *