SoFunction
Updated on 2025-04-11

My FreeBSD5.4 Installation and Configuration Process Pen Record (Newbie Reference) Page 4/5


Chapter 4

The rest is to install some important software and tools (the software versions listed below will be upgraded):
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 
There are many useful software, you can search in /usr/ports.

If you don’t know where to install the above software, you can search in the /usr/ports directory with make search key=(software name)
The ports directory location of the corresponding software, then go to the corresponding directory to compile port installation with make install clean.

Finally, you need to configure some configuration files in /etc or home, such as /etc/, /etc/, /etc/, /etc/hosts, ~/.cshrc, /etc/, ~/., etc.
This is my ~/.cshrc configuration for reference:
######################## 
# $FreeBSD: src/etc/,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:///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 
######################## 

In addition, let the rox desktop wallpaper and scim automatically start after startx, you can configure ~/.xinitrc:
rox -p=PIN 
scim -d 
exec icewm-session 

In addition, if the graphics card belongs to Nvidia, you can download the freebsd version of the driver to install it on the official website.

Attachment:
Please refer to the manual: /snap/doc/zh_CN.GB2312/books/handbook/
besides
The functions and configuration methods of some frequently used configuration files:
http://http///?showtopic=130 

FreeBSD software installation and uninstallation tools – detailed explanation of Ports and Packages:
http://http///forum/?p=80725&sid=523cb3b92304b53f1ef87cb796486f1a 

After cvsup, a ports database can be created (after installing portupgrade):
#cd /usr/ports 
#make index 
#portsdb -uU 
Check whether the installed software needs to be upgraded: #portversion -l "<"

The system installation and configuration are basically completed
Enjoy the fun of FreeBSD DIY!
Previous page12345Next pageRead the full text