Install Gnome desktop

 ​

 

一,安装FreeBSD系统

安装系统并升级到8.0 release

编译内核,以便获得显卡,声卡,无线网卡等支持

我的电脑是IBM R52,编辑内核文件:

# ATI drives

device    drm

device    radeondrm

# Sound drives

device sound

device snd_ich

# Intel Wireless

device          iwi

编译内核,重启电脑

二、无线网卡设置

vi /boot/loader.conf

legal.intel_iwi.license_ack=1

vi /etc/rc.conf

wlans_iwi0=wlan0

ifconfig_wlan0=”ssid linksys wepmode on weptxkey 1 wepkey 1:0xFFFFFFFFFF DHCP”

三、升级ports

cp /usr/share/examples/cvsup/ports-supfile /root/.

csup -L 2 -h cvsup.cn.freebsd.org /root/ports-supfile

四、安装xorg

vi /etc/make.conf

MASTER_SITE_OVERRIDE=ftp://ftp.FreeBSDChina.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/

USE_LINUX_BASE_PORT=f10

USE_LINUX_NONBASE_PORTS=f10

OVERRIDE_LINUX_BASE_PORT=f10

OVERRIDE_LINUX_NONBASE_PORTS=f10

cd /usr/ports/x11/xorg

make install clean

五、安装gnome2

cd /usr/ports/x11/gnome2

make install clean

六、安装输入法

1,安装SCIM输入法主程序

cd /usr/ports/textproc/scim

make install clean

2,安装五笔插件

cd /usr/ports/chinese/scim-tables

make install clean

3,安装拼音插件

cd /usr/ports/chinese/scim-pinyin

make install clean

七、配置汉化Gnome

Xong -configure

cp /root/xong.conf.new /etc/X11/xong.conf

mkdir /usr/X11R6/lib/X11/fonts/TypeFonts

把WINDOWS系统字体文件复制到/usr/X11R6/lib/X11/fonts/TypeFonts

包括mingliu.ttf

simhei.ttf

simsun.ttf(simsun.ttc重命名即可)

tahoma.ttf

tahomabd.ttf

执行命令:

fc-cache -v

vi /etc/profile

LANG=zh_CN.UTF-8

LC_ALL=zh_CN.UTF-8

export LANG LC_ALL

exec scim -d &

vi /etc/rc.conf

hald_enable=”YES”

dbus_enable=”YES”

# 开机自动启动gnome

gdm_enable=”YES”

vi /etc/fstab

proc    /proc    procfs    rw    0    0

八、其它常用软件安装

1,QQ

vi /boot/loader.conf

linux_load=”YES”

vi /etc/rc.conf

linux_enable=”YES”

vi /etc/sysctl.conf

compat.linux.osrelease=2.6.16

cd /usr/ports/emulators/linux_base-f10

make install clean

cd /usr/ports/net-im/qq

make install clean

如果不能中文输入,执行:

/compat/linux/usr/bin/localedef -i zh_CN -f UTF-8 zh_CN

2,Firefox

cd /usr/ports/www/firefox35

make install clean

3,firefox flashplayer插件

cd /usr/ports/www/nspluginwrapper

make install clean

cd /usr/ports/www/linux-f10-flashplugin10

make install clean

ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/browser_plugins/

安装插件

nspluginwrapper -v -a -i

vi /etc/fstab

linproc    /usr/compat/linux/proc    linprocfs    rw    0    0

 

================== End