我的FreeBSD5.4安裝配置過程筆記錄(新手參考)第4/5頁
更新時間:2006年07月07日 00:00:00 作者:
《第四章》
剩下來就是安裝一些重要的軟件和工具(以下列出的軟件 版本會升級):
bash-2.05b.007_2 The GNU Bourne Again Shell
beep-media-player-0.9.7_4,1 GTK2 mp3 player
bmp-wma-0.1.1_2 WMA input plugin for beep-media-player
firefox-1.0.3,1 Web browser based on the browser portion of Mozilla
gaim-1.2.1 Multi-protocol instant messaging client
gaim-openq-0.3.2 A QQ-liked protocol plugin for Gaim
gedit-2.10.2 A small but powerful text editor for Gnome 2 Desktop Enviro
gftp-2.0.18 A free multithreaded GTK-based GUI ftp and sftp client
gthumb-2.6.5 An image viewer and browser for the GNOME 2 environment
linux-realplayer-10.0.4 Linux RealPlayer 10 from RealNetworks
linux_base-rh-9 Base set of packages needed in Linux mode (only for i386)
mlterm-2.9.2 Multilingual X11 terminal emulator
mplayer-gtk-esound-0.99.7_4 High performance media player/encoder supporting many forma
opera-8.02.20050727 A blazingly fast, full-featured, standards-compliant browse
portupgrade-20041226_2 FreeBSD ports/packages administration and management tool s
prozilla-1.3.7.3 ProZilla is a fast download accelerator
rox-2.2.0_2 A simple and easy to use graphical file manager
scim-1.2.0_1 Smart Common Input Method platform
stardict-2.4.4_1 A cross-platform and international dictionary written in Gt
unrar-3.43,3 Extract, view & test RAR archives
vim-6.3.62 Vi “workalike”, with many additional features
wget-1.10_1 Retrieve files from the Net via HTTP and FTP
有用的軟件還有很多,可以到/usr/ports查找。
如不知到哪里安裝以上的軟件,可到/usr/ports目錄下用 make search key=(軟件名)搜索到
相應軟件的ports目錄位置,然后轉(zhuǎn)到相應目錄用make install clean編譯port安裝。
最后還要配置一些/etc或home中的配置文件,比如/etc/rc.conf,/etc/make.conf,/etc/resolv.conf,/etc/hosts,~/.cshrc,/etc/login.conf,~/.login.conf等等。
這是我的~/.cshrc配置可供參考:
########################
# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $
#
# System-wide .cshrc file for csh(1).
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias vi vim
#alias vi env LC_CTYPE=en_US.ISO_8859-1 vi
#alias ls env LC_CTYPE=en_US.ISO_8859-1 ls -aGw
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin /usr/X11R6/bin)
setenv EDITOR vim
setenv PAGER more
setenv BLOCKSIZE K
setenv LANG zh_CN.GBK
setenv LC_ALL zh_CN.GBK
setenv LC_CTYPE zh_CN.GBK
setenv LC_LANG zh_CN.GBK
setenv LC_MESSAGES zh_CN.GBK
#setenv LC_TIME en_US.ISO8859-1
setenv LSCOLORS ExFxCxDxBxEgDxDEhGAcHd
setenv XMODIFIERS @im=SCIM
setenv PACKAGESITE ftp://ftp8.jp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/All/
setenv G_BROKEN_FILENAMES 1
set autolist
set nobeep
if ($?prompt) then
# An interactive shell — set some stuff up
set prompt = “`/bin/hostname -s`# ”
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey “^W” backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
########################
另外讓rox桌面壁紙和scim在startx后自動啟動,可這樣配置~/.xinitrc:
rox -p=PIN
scim -d
exec icewm-session
另外顯卡如果屬于nvidia的,可到官方網(wǎng)站下載freebsd版本的驅(qū)動安裝。
附:
可參考手冊:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/config-tuning.html
還有
一些經(jīng)常用到的配置文件的作用和配置方法:
http://http//forum.cnfug.org/index.php?showtopic=130
FreeBSD軟件安裝卸載工具–Ports和Packages詳解:
http://http//www.freebsdchina.org/forum/viewtopic.php?p=80725&sid=523cb3b92304b53f1ef87cb796486f1a
cvsup后可建立一個ports數(shù)據(jù)庫(安裝portupgrade后):
#cd /usr/ports
#make index
#portsdb -uU
查看安裝的軟件是否需要升級:#portversion -l “<”
系統(tǒng)安裝配置基本上完成啦
好好享受FreeBSD DIY的樂趣吧!
相關(guān)文章
Linux中使用Pyinotify模塊實時監(jiān)控文件系統(tǒng)更改
pyinotiy的目的是綁定三個系統(tǒng)調(diào)用,并支持其上的實現(xiàn),提供了一個共同和抽象的手段來操縱這些功能。這篇文章主要介紹了Linux下修改IP、DNS和路由命令行配置方法,需要的朋友可以參考下2018-03-03div+css div+css divcss布局入門教程 迅雷下載
div+css div+css divcss布局入門教程 迅雷下載...2007-11-11Linux系統(tǒng)環(huán)境下如何獲得U盤拔插的信息
獲得U盤的插入或者拔取得信息的傳統(tǒng)方法是在內(nèi)核級運行hotplug程序,相關(guān)參數(shù)通過環(huán)境變量傳遞過來,再由hotplug通知其他關(guān)注hotplug的應用程序。這樣的做法效率有些低,現(xiàn)在通過一種特殊類型的socket netlink實現(xiàn)獲取U盤拔插的信息。netlink專門用于內(nèi)核空間和用戶空間的異步通信。2008-04-04