分类: BSD
2008-04-17 09:33:50
保存退出
++中文字体
将xp上simsun.ttc tahoma.ttf拷至/usr/X11R6/lib/X11/fonts/TTF/,并改扩展名为ttf
fc-cache -fv
++配置fcitx
cd /usr/ports/chinese/fcitx
make install clean
在~/.profile 文件中加以下三行 #因我用的是bash
export LANG="zh_CN.eucCN"
export LC_CTYPE="zh_CN.eucCN"
export XMODIFIERS=’@im=fcitx’
++vim配置
cd /usr/ports/editors/vim && make install clean #安装vim
cp /usr/local/share/vim/vim70/vimrc_example.vim ~/.vimrc
编辑.vimrc,注释掉" set nocompatible行
++安装ntfs写支持
安装 Kernel source
手工下载软件包
pkg_add path/fusefs-ntfs.tbz
++JAVA环境安装
1.open download the SCSL Source file,jdk-1_5_0-src-scsl.zip and the SCSL Binaries file, jdk-1_5_0-bin-scsl.zip .
2.In addition, please download the patchset, bsd-jdk15-patches-3.tar.bz2, from
3.manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from
4.Please place the downloaded file(s) in /usr/ports/distfiles
pkg_add -rK m4
pkg_add -rK zip
++vsftpd配置
编辑 /usr/local/etc/vsftpd.conf加入三行
listen=YES
ftp_username=ftp
local_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
write_enable=YES
++linux下fdisk工具
pkg_add -rK linuxfdisk
===其它===
++挂设备
mount_cd9660 -C gbk /dev/acd0 /mnt/cdrom #加-C eucCN为了显示中文文件名
mount_msdosfs #fat
mount_ntfs #ntfs
++如何以关键字搜寻 ports
cd /usr/ports/
make search key=ldap
make search name=ldap #知道软件名用这个
make fetch-recursive