免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 27050 | 回复: 50
打印 上一主题 下一主题

[FreeBSD] FreeBSD5.4Release中文工作站安装笔记[附word文档下载] [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-12 12:08 |只看该作者 |倒序浏览
2005年7月6日更新:
--------------------------------------------------------
有朋友谦版面太长,所以提供word文档下载,方便朋友们浏览:
http://tingyushi.nease.net/guanghuisuiyue/freebsd5xwindows.doc




装好该工作站已很长时间,但一直没时间整理下写个笔记,昨天花了一下午整了出来,希望对正在安装或想安装freebsd工作站的朋友有点用。
注:新手安装,有错误之处请谅解\指正,谢谢!

================================================================
FreeBSD5.4Release X Windows 安装笔记  (Freebsd5.4R+Gnome2.10.0)


By 老管 2005-6-7  email: funpower [at] gmail.com

截图:









机器配置:
核心:P4\1.7G
主板:MSI845
内存:金士顿256*2
硬盘:迈拓40G
显卡:ATI Radeon 7500
显板:Samsung SyncMaster 753DFX
声卡:Creative Sound Blaster Live!

一、安装FreeBSD5.4Release

从http://www.freebsd.org/releases/5.4R/announce.html选择一个FTP服务器下载,然后刻成光盘。接下来从光盘安装,我的几点选项:

1、选择软件包时选择最小化安装。
2、安装到ports时选择net-->;cvsup,以便更新ports。

其它的都默认安装,具体可参考:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/install-start.html,安装完后重启机器。

二、配置FreeBSD

1、配置/etc/rc.conf,我的rc.conf:

  1. hostname="gjf.jscpu.com"
  2. defaultrouter="192.168.20.254"
  3. ifconfig_rl0="inet 192.168.121.250 netmask 255.255.255.0"
  4. ifconfig_rl1="inet 192.168.20.1 netmask 255.255.255.0"
  5. inetd_enable="YES"
  6. linux_enable="YES"
  7. moused_enable="YES"
  8. #sshd_enable="YES"
  9. #usbd_enable="YES"
复制代码


2、配置/etc/resolv.conf,我的resolv.conf:

  1. domain  jscpu.com
  2. nameserver      221.228.255.1
  3. nameserver      218.2.135.1
复制代码

完成后重启机器。

3、将光盘放入光驱中,安装ports和src

  1. #/stand/sysinstall
复制代码

然后选择Configure-->;Distributions,然后利用空格键选择src和ports两项,点install,安装完成后重启机器。

4、启用ftp(后面上传文件用)

  1. #cd /etc
  2. # ee inetd.conf
复制代码

将ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l一行的#号去掉。
保存后退出。

三、升级ports

  1. #cp /usr/share/examples/cvsup/ports-supfile /etc/funpower
  2. #cd /etc
  3. # ee funpower
复制代码

修改下面一行:
default host=cvsup2.FreeBSDChina.org
然后运行如下命令:
  1. #cvsup -g -L 2  funpower
复制代码


完成安装后重启机器。

四、配置内核文件

配置内核时每项说明可以参考这:http://people.freebsdchina.org/kinki/9.htm,配置中要加入对声卡的支持,关于如何安装声卡可以参考这:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/sound-setup.html
下面是具体的操作:

  1. #cd /sys/i386/conf
  2. #cp GENERIC funpower
  3. #ee funpower
复制代码


我的内核文件如下:

  1. #
  2. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  3. #
  4. # For more information on this file, please read the handbook section on
  5. # Kernel Configuration Files:
  6. #
  7. #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  8. #
  9. # The handbook is also available locally in /usr/share/doc/handbook
  10. # if you've installed the doc distribution, otherwise always see the
  11. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  12. # latest information.
  13. #
  14. # An exhaustive list of options and more detailed explanations of the
  15. # device lines is also present in the ../../conf/NOTES and NOTES files.
  16. # If you are in doubt as to the purpose or necessity of a line, check first
  17. # in NOTES.
  18. #
  19. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $

  20. machine        i386
  21. cpu                I686_CPU
  22. ident                funpower

  23. # To statically compile in device wiring instead of /boot/device.hints
  24. #hints                "GENERIC.hints"                # Default places to look for devices.

  25. options         SCHED_4BSD                # 4BSD scheduler
  26. options         INET                        # InterNETworking
  27. options         INET6                        # IPv6 communications protocols
  28. options         FFS                        # Berkeley Fast Filesystem
  29. options         SOFTUPDATES                # Enable FFS soft updates support
  30. options         UFS_ACL                        # Support for access control lists
  31. options         UFS_DIRHASH                # Improve performance on big directories
  32. options         MD_ROOT                        # MD is a potential root device
  33. options         NFSCLIENT                # Network Filesystem Client
  34. options         NFSSERVER                # Network Filesystem Server
  35. options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
  36. options         MSDOSFS                        # MSDOS Filesystem
  37. options         CD9660                        # ISO 9660 Filesystem
  38. options         PROCFS                        # Process filesystem (requires PSEUDOFS)
  39. options         PSEUDOFS                # Pseudo-filesystem framework
  40. options         GEOM_GPT                # GUID Partition Tables.
  41. options         COMPAT_43                # Compatible with BSD 4.3 [KEEP THIS!]
  42. options         COMPAT_FREEBSD4                # Compatible with FreeBSD4
  43. options         SCSI_DELAY=15000        # Delay (in ms) before probing SCSI
  44. options         KTRACE                        # ktrace(1) support
  45. options         SYSVSHM                        # SYSV-style shared memory
  46. options         SYSVMSG                #
  47. # GENERIC -- Generic kernel configuration file for FreeBSD/i386
  48. #
  49. # For more information on this file, please read the handbook section on
  50. # Kernel Configuration Files:
  51. #
  52. #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  53. #
  54. # The handbook is also available locally in /usr/share/doc/handbook
  55. # if you've installed the doc distribution, otherwise always see the
  56. # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
  57. # latest information.
  58. #
  59. # An exhaustive list of options and more detailed explanations of the
  60. # device lines is also present in the ../../conf/NOTES and NOTES files.
  61. # If you are in doubt as to the purpose or necessity of a line, check first
  62. # in NOTES.
  63. #
  64. # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.13 2005/04/02 16:37:58 scottl Exp $

  65. machine                i386
  66. cpu                I686_CPU
  67. ident                funpower

  68. # To statically compile in device wiring instead of /boot/device.hints
  69. #hints                "GENERIC.hints"                # Default places to look for devices.

  70. options         SCHED_4BSD                # 4BSD scheduler
  71. options         INET                        # InterNETworking
  72. options         INET6                        # IPv6 communications protocols
  73. options         FFS                        # Berkeley Fast Filesystem
  74. options         SOFTUPDATES                # Enable FFS soft updates support
  75. options         UFS_ACL                        # Support for access control lists
  76. options         UFS_DIRHASH                        # SYSV-style message queues
  77. options         SYSVSEM                        # SYSV-style semaphores
  78. options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  79. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
  80. options         AHC_REG_PRETTY_PRINT        # Print register bitfields in debug
  81.                                         # output.  Adds ~128k to driver.
  82. options         AHD_REG_PRETTY_PRINT        # Print register bitfields in debug
  83.                                         # output.  Adds ~215k to driver.
  84. options         ADAPTIVE_GIANT                # Giant mutex is adaptive.

  85. device                apic                        # I/O APIC

  86. # Bus support.  Do not remove isa, even if you have no isa slots
  87. device                isa
  88. device                eisa
  89. device                pci

  90. # Floppy drives
  91. #device                fdc

  92. # ATA and ATAPI devices
  93. device                ata
  94. device                atadisk                # ATA disk drives
  95. #device                ataraid                # ATA RAID drives
  96. device                atapicd                # ATAPI CDROM drives
  97. #device                atapifd                # ATAPI floppy drives
  98. #device                atapist                # ATAPI tape drives
  99. options         ATA_STATIC_ID        # Static device numbering

  100. #加载声卡
  101. device sound
  102. device "snd_emu10k1"

  103. # SCSI Controllers
  104. #device                ahb                # EISA AHA1742 family
  105. #device                ahc                # AHA2940 and onboard AIC7xxx devices
  106. #device                ahd                # AHA39320/29320 and onboard AIC79xx devices
  107. #device                amd                # AMD 53C974 (Tekram DC-390(T))
  108. #device                isp                # Qlogic family
  109. #device                mpt                # LSI-Logic MPT-Fusion
  110. #device                ncr                # NCR/Symbios Logic
  111. #device                sym                # NCR/Symbios Logic (newer chipsets + those of `ncr')
  112. #device                trm                # Tekram DC395U/UW/F DC315U adapters

  113. #device                adv                # Advansys SCSI adapters
  114. #device                adw                # Advansys wide SCSI adapters
  115. #device                aha                # Adaptec 154x SCSI adapters
  116. #device                aic                # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  117. #device                bt                # Buslogic/Mylex MultiMaster SCSI adapters

  118. #device                ncv                # NCR 53C500
  119. #device                nsp                # Workbit Ninja SCSI-3
  120. #device                stg                # TMC 18C30/18C50

  121. # SCSI peripherals
  122. #device                scbus                # SCSI bus (required for SCSI)
  123. #device                ch                # SCSI media changers
  124. #device                da                # Direct Access (disks)
  125. #device                sa                # Sequential Access (tape etc)
  126. #device                cd                # CD
  127. #device                pass                # Passthrough device (direct SCSI access)
  128. #device                ses                # SCSI Environmental Services (and SAF-TE)

  129. # RAID controllers interfaced to the SCSI subsystem
  130. #device                amr                # AMI MegaRAID
  131. #device                arcmsr                # Areca SATA II RAID
  132. #device                asr                # DPT SmartRAID V, VI and Adaptec SCSI RAID
  133. #device                ciss                # Compaq Smart RAID 5*
  134. #device                dpt                # DPT Smartcache III, IV - See NOTES for options
  135. #device                hptmv                # Highpoint RocketRAID 182x
  136. #device                iir                # Intel Integrated RAID
  137. #device                ips                # IBM (Adaptec) ServeRAID
  138. #device                mly                # Mylex AcceleRAID/eXtremeRAID
  139. #device                twa                # 3ware 9000 series PATA/SATA RAID

  140. # RAID controllers
  141. #device                aac                # Adaptec FSA RAID
  142. #device                aacp                # SCSI passthrough for aac (requires CAM)
  143. #device                ida                # Compaq Smart RAID
  144. #device                mlx                # Mylex DAC960 family
  145. #device                pst                # Promise Supertrak SX6000
  146. #device                twe                # 3ware ATA RAID

  147. # atkbdc0 controls both the keyboard and the PS/2 mouse
  148. device                atkbdc                # AT keyboard controller
  149. device                atkbd                # AT keyboard
  150. device                psm                # PS/2 mouse

  151. device                vga                # VGA video card driver

  152. device                splash                # Splash screen and screen saver support

  153. # syscons is the default console driver, resembling an SCO console
  154. device                sc

  155. # Enable this for the pcvt (VT220 compatible) console driver
  156. #device                vt
  157. #options         XSERVER                # support for X server on a vt console
  158. #options         FAT_CURSOR        # start with block cursor

  159. device                agp                # support several AGP chipsets

  160. # Floating point support - do not disable.
  161. device                npx

  162. # Power management support (see NOTES for more options)
  163. #device                apm
  164. # Add suspend/resume support for the i8254.
  165. device                pmtimer

  166. # PCCARD (PCMCIA) support
  167. # PCMCIA and cardbus bridge support
  168. #device                cbb                # cardbus (yenta) bridge
  169. #device                pccard                # PC Card (16-bit) bus
  170. #device                cardbus                # CardBus (32-bit) bus

  171. # Serial (COM) ports
  172. device                sio                # 8250, 16[45]50 based serial ports

  173. # Parallel port
  174. device                ppc
  175. device                ppbus                # Parallel port bus (required)
  176. device                lpt                # Printer
  177. device                plip                # TCP/IP over parallel
  178. device                ppi                # Parallel port interface device
  179. #device                vpo                # Requires scbus and da

  180. # If you've got a "dumb" serial or parallel PCI card that is
  181. # supported by the puc(4) glue driver, uncomment the following
  182. # line to enable it (connects to the sio and/or ppc drivers):
  183. #device         puc

  184. # PCI Ethernet NICs.
  185. device                de                # DEC/Intel DC21x4x (``Tulip'')
  186. device                em                # Intel PRO/1000 adapter Gigabit Ethernet Card
  187. device                ixgb                # Intel PRO/10GbE Ethernet Card
  188. device                txp                # 3Com 3cR990 (``Typhoon'')
  189. device                vx                # 3Com 3c590, 3c595 (``Vortex'')

  190. # PCI Ethernet NICs that use the common MII bus controller code.
  191. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  192. device                miibus                # MII bus support
  193. #device                bfe                # Broadcom BCM440x 10/100 Ethernet
  194. #device                bge                # Broadcom BCM570xx Gigabit Ethernet
  195. #device                dc                # DEC/Intel 21143 and various workalikes
  196. #device                fxp                # Intel EtherExpress PRO/100B (82557, 82558)
  197. #device                lge                # Level 1 LXT1001 gigabit ethernet
  198. #device                nge                # NatSemi DP83820 gigabit ethernet
  199. #device                pcn                # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
  200. #device                re                # RealTek 8139C+/8169/8169S/8110S
  201. device                rl                # RealTek 8129/8139
  202. #device                sf                # Adaptec AIC-6915 (``Starfire'')
  203. #device                sis                # Silicon Integrated Systems SiS 900/SiS 7016
  204. #device                sk                # SysKonnect SK-984x & SK-982x gigabit Ethernet
  205. #device                ste                # Sundance ST201 (D-Link DFE-550TX)
  206. #device                ti                # Alteon Networks Tigon I/II gigabit Ethernet
  207. #device                tl                # Texas Instruments ThunderLAN
  208. #device                tx                # SMC EtherPower II (83c170 ``EPIC'')
  209. device                vge                # VIA VT612x gigabit ethernet
  210. device                vr                # VIA Rhine, Rhine II
  211. #device                wb                # Winbond W89C840F
  212. device                xl                # 3Com 3c90x (``Boomerang'', ``Cyclone'')

  213. # ISA Ethernet NICs.  pccard NICs included.
  214. #device                cs                # Crystal Semiconductor CS89x0 NIC
  215. # 'device ed' requires 'device miibus'
  216. device                ed                # NE[12]000, SMC Ultra, 3c503, DS8390 cards
  217. device                ex                # Intel EtherExpress Pro/10 and Pro/10+
  218. device                ep                # Etherlink III based cards
  219. device                fe                # Fujitsu MB8696x based cards
  220. device                ie                # EtherExpress 8/16, 3C507, StarLAN 10 etc.
  221. device                lnc                # NE2100, NE32-VL Lance Ethernet cards
  222. device                sn                # SMC's 9000 series of Ethernet chips
  223. device                xe                # Xircom pccard Ethernet

  224. # ISA devices that use the old ISA shims
  225. #device                le

  226. # Wireless NIC cards
  227. device                wlan                # 802.11 support
  228. device                an                # Aironet 4500/4800 802.11 wireless NICs.
  229. device                awi                # BayStack 660 and others
  230. device                wi                # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  231. #device                wl                # Older non 802.11 Wavelan wireless NIC.

  232. # Pseudo devices.
  233. device                loop                # Network loopback
  234. device                mem                # Memory and kernel memory devices
  235. device                io                # I/O device
  236. device                random                # Entropy device
  237. device                ether                # Ethernet support
  238. #device                sl                # Kernel SLIP
  239. #device                ppp                # Kernel PPP
  240. device                tun                # Packet tunnel.
  241. device                pty                # Pseudo-ttys (telnet etc)
  242. device                md                # Memory "disks"
  243. device                gif                # IPv6 and IPv4 tunneling
  244. device                faith                # IPv6-to-IPv4 relaying (translation)

  245. # The `bpf' device enables the Berkeley Packet Filter.
  246. # Be aware of the administrative consequences of enabling this!
  247. # Note that 'bpf' is required for DHCP.
  248. device                bpf                # Berkeley packet filter

  249. # USB support
  250. #device                uhci                # UHCI PCI->;USB interface
  251. #device                ohci                # OHCI PCI->;USB interface
  252. #device                ehci                # EHCI PCI->;USB interface (USB 2.0)
  253. #device                usb                # USB Bus (required)
  254. #device                udbp                # USB Double Bulk Pipe devices
  255. #device                ugen                # Generic
  256. #device                uhid                # "Human Interface Devices"
  257. #device                ukbd                # Keyboard
  258. #device                ulpt                # Printer
  259. #device                umass                # Disks/Mass storage - Requires scbus and da
  260. #device                ums                # Mouse
  261. #device                urio                # Diamond Rio 500 MP3 player
  262. #device                uscanner        # Scanners
  263. # USB Ethernet, requires mii
  264. #device                aue                # ADMtek USB Ethernet
  265. #device                axe                # ASIX Electronics USB Ethernet
  266. #device                cdce                # Generic USB over Ethernet
  267. #device                cue                # CATC USB Ethernet
  268. #device                kue                # Kawasaki LSI USB Ethernet
  269. #device                rue                # RealTek RTL8150 USB Ethernet

  270. # FireWire support
  271. #device                firewire        # FireWire bus code
  272. #device                sbp                # SCSI over FireWire (Requires scbus and da)
  273. #device                fwe                # Ethernet over FireWire (non-standard!)
复制代码



编辑好funpower后开始编译安装内核:

  1. #/usr/sbin/config funpower
  2. #cd ../../compile/funpower
  3. #make depend
  4. #make
  5. #make intall
复制代码


编译安装完成后重启机器。

五、安装Xorg和Gnome

为了安装方便,将1号和2号光盘的Packages文件夹的软件全部COPY到/usr/soft中:

  1. #mkdir /usr/soft
  2. #mount /cdrom
  3. #cd /cdrom
  4. #cp -R * /usr/soft
复制代码


通过上面的方法将2号盘的Packages也拷入/usr/soft中。

接下来开始安装:

  1. #cd /usr/soft
  2. #pkg_add xorg-6.8.2.tbz //freebsd5.3之后都用xrog,不用XFree86了
  3. #pkg_add gnome2-2.10.0.tbz
复制代码

完成安装后重启机器。

六、配置xorg.conf

  1. #cd /usr/X11R6/bin
  2. #./xorgcfg -textmode
复制代码

根据自己的硬件配置每个选项,然后选择最后第二项Write xorg.conf and quit,然后出现一个对话框问你是否将配置文件copy到/etc/X11目录中,选择OK。

然后编辑/etc/X11/xorg.conf的Section”Input Device”,使支持鼠标的滚轮:

  1. #cd /etc/X11
  2. #ee xorg.conf
复制代码

  1. Section "InputDevice"
  2.         Identifier  "Mouse0"
  3.         Driver      "mouse"
  4.         Option      "Protocol" "Auto"
  5.         Option      "Emulate3Buttons"
  6.         Option      "Device" "/dev/sysmouse"
  7.         Option      "ZAxisMapping" "4 5"
  8. EndSection
复制代码


我的xorg.conf:

  1. Section "ServerLayout"
  2.         Identifier     "Layout0"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Keyboard0" "CoreKeyboard"
  5.         InputDevice    "Mouse0" "CorePointer"
  6. EndSection

  7. Section "Files"
  8. EndSection

  9. Section "Module"
  10.         Load "freetype"
  11.         # Load "xtt"
  12.         Load  "extmod"
  13.         Load  "glx"
  14.         Load  "dri"
  15.         Load  "dbe"
  16.         Load  "record"
  17.         Load  "xtrap"
  18.         Load  "type1"
  19.         Load  "speedo"
  20. EndSection

  21. Section "InputDevice"
  22.         Identifier  "Mouse0"
  23.         Driver      "mouse"
  24.         Option      "Protocol" "Auto"
  25.         Option      "Emulate3Buttons"
  26.         Option      "Device" "/dev/sysmouse"
  27.         Option      "ZAxisMapping" "4 5"
  28. EndSection

  29. Section "InputDevice"
  30.         Identifier  "Keyboard0"
  31.         Driver      "keyboard"
  32.         Option      "XkbModel" "pc101"
  33.         Option      "XkbLayout" "us"
  34. EndSection

  35. Section "Monitor"
  36.         Identifier   "Monitor0"
  37. ### Uncomment if you don't want to default to DDC:
  38. #       HorizSync    30 - 107
  39. #       VertRefresh  48 - 120
  40. EndSection

  41. Section "Device"
  42.         Identifier  "Card0"
  43.         Driver      "ati"
  44. EndSection

  45. Section "Screen"
  46.         Identifier "Screen0"
  47.         Device     "Card0"
  48.         Monitor    "Monitor0"
  49.         DefaultDepth     24
  50.         SubSection "Display"
  51.                 Viewport   0 0
  52.                 Depth     24
  53.                 Modes    "1152x864"
  54.         EndSubSection
  55. EndSection
复制代码


七、配置.xinitrc

使X Windows启动时默认的桌面系统为Gnome
  1. #echo “/usr/X11R6/bin/gnome-session” >; ~/.xinitrc
复制代码


八、运行X Windows

#startx

进入Gnome桌面系统,下面开始中文化和美化桌面Gnome.

注:这里可能会有两个提示错误,一个是说系统的hostname找不到映射,编辑/etc/hosts中,将下面一行:
192.168.20.1       gjf gjf.jscpu.com
加入其中。另一个是系统未找到声卡的驱动,你需重新安装声卡驱卡,具体见这:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/sound-setup.html

九、中文化及美化

1、中文化Gnome

编辑.cshrc文件:
  1. #cd ~
  2. #ee .cshrc
复制代码

加入下面内容:
  1. setenv LANG zh_CN.eucCN
  2. setenv LC_LANG zh_CN.eucCN
复制代码

保存后退出。

2、美化Gnome字体

通过ftp将windows下的SimSun.ttc和Tahoma.ttf拷贝到/var/ftp/incoming中。然后做如下操作:

  1. #mkdir /usr/X11R6/lib/X11/fonts/TrueType/
  2. #cd /var/ftp/incoming
  3. #cp *  /usr/X11R6/lib/X11/fonts/TrueType/
复制代码


重启机器,登陆后运行startx,进入Gnome,没出错的话这时已经是中文版了,只是字体难看些,下面设置字体:点击[桌面]-->;[首选项]-->;[字体],将字体全部换成SimSun,字体大小为10,然后点[细节]选项,[平滑]选无,[微调]选轻微,[次像素顺序]选RGB。保存后关闭对话框。

十、安装常用软件

1、输入法:小企鹅输入法

  1. #cd  /usr/ports/chinese/fcitx
  2. #make install clean
复制代码


完成安装后进行配置:

配置.cshrc
  1. #cd ~
  2. #ee .cshrc
复制代码

加入下面一行:
  1. setenv XMODIFIERS @im=fcitx
复制代码

保存后退出。

配置.xinitrc
  1. # ee xinitrc
复制代码

在/usr/X11R6/bin/gnome-session的上面一行加入(不能放在它下面一行,否则不能启动):
  1. exec fcitx &
复制代码

保存后退出。

退出Gnome,然后再startx,这时就能看到企鹅输入法了。

2、网页浏览器:firefox

  1. #cd /usr/ports/www/firefox
  2. #make install clean
复制代码


3、即时通讯工具(包括OICQ):gaim-openq

  1. #cd /usr/ports/net/gaim-openq
  2. #make install clean
复制代码


4、MP3播放器:Xmms
  1. #cd /usr/ports/multimedia/xmms
  2. #make install clean
复制代码


1) xmms菜单栏乱码解决方法:

  1. #ee .gtkrc.mine //没有这个文件也这样操作
复制代码

加入如下内容:
  1. style "gtk-default-zh-cn" {
  2. fontset = "-*-simsun-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
  3. -*-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"
  4. }
  5. class "GtkWidget" style "gtk-default-zh-cn"
复制代码

  1. #ee ~/.xmms/config
复制代码

将playlist_font和mainwin_font换成如下内容:
  1. playlist_font="-misc-simsun-medium-r-normal-*-*-120-*-*-p-*-gb2312.1980-0",*-r-*
  2. use_fontsets=FALSE
  3. mainwin_use_xfont=FALSE
  4. mainwin_font="-misc-simsun-medium-r-normal-*-*-120-*-*-p-*-gb2312.1980-0"
复制代码


2) xmms播放列表解决方法:

打开xmms,然后,[首选项]-->;[字体]-->;[播放清单“浏览”]-->;[filter]-->;charset中选择gb2312.1980-0,然后在播放清单选项中的"-misc-simsun-medium-r-normal-*-*-120-*-*-p-*-gb2312.1980-0"的未尾加上*-r-*,最后变成:"-misc-simsun-medium-r-normal-*-*-120-*-*-p-*-gb2312.1980-0",*-r-*
保存后退出。

5、播放器:realplay10.0

从http://www.real.com/linux/点击download realplay下载RealPlayer10GOLD.bin至桌面。进行如下操作:

  1. #cd ~/Desktop
  2. #chmod a+x RealPlay10GOLD.bin
  3. #./RealPlay10GOLD.bin
复制代码

然后根据提示完成安装。

6、文档处理:OpenOffice

  1. #cd /usr/ports/chinese/openoffice-1.1-zh-CN
  2. #make install clean
复制代码


1) 安装期间需要三个包的支持:

(1) bsd-jdk14-patches-7.tar.gz

下载地址:http://www.eyesbeyond.com/freebsddom/java/jdk14.html
下载完后copy到/usr/ports/distfiles中。然后再次运行make install clean。

(2) j2sdk-1_4_2-src.scsl.zip

下载地址:http://www.sun.com/software/communitysource/j2se/java2/download.xml
下载完后copy到/usr/ports/distfiles中。然后再次运行make install clean。

(3) j2sdk-1_4_2_07-linux-i586.bin

下载地址:http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&artDetailId=j2sdk-1.4.2_07-oth-JPR&SiteId=JSC&TransactionId=noreg
下载完后copy到/usr/ports/distfiles中。然后再次运行make install clean。

2) 中文化openoffice

将/var/ftp/incoming的SimSun.ttc和Tahoma.ttf拷贝到/usr/local/OpenOffice1.1.4/share/fonts/truetype/

3) 启动OpenOffice

  1. #cd ~/OpenOffice.org1.1.4
  2. #./soffice
复制代码

论坛徽章:
0
2 [报告]
发表于 2005-06-12 14:45 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

很详细 支持楼主的劳动  顶一下

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
3 [报告]
发表于 2005-06-12 18:57 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

不错

论坛徽章:
0
4 [报告]
发表于 2005-06-12 20:02 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

不错 不错
问个问题
安装 英文版的 openoffice 只要
把SimSun.ttc和Tahoma.ttf拷贝到openoffice的安装目录下的truetype文件夹里就可以达到汉化的目的了吗

论坛徽章:
0
5 [报告]
发表于 2005-06-13 08:14 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

原帖由 "hfh08" 发表:
不错 不错
问个问题
安装 英文版的 openoffice 只要
把SimSun.ttc和Tahoma.ttf拷贝到openoffice的安装目录下的truetype文件夹里就可以达到汉化的目的了吗


没试过,但估计不行
建议还是一开始就安装中文版的

论坛徽章:
0
6 [报告]
发表于 2005-06-13 10:23 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

在问个问题  你的浏览器有没有实现粗体的效果啊
要是有能叫我一下吗 我的 实现不了啊

论坛徽章:
0
7 [报告]
发表于 2005-06-13 10:25 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

还有firefox 我也没办法汉化
装了  zh_CN.xpi 没有效果的

论坛徽章:
0
8 [报告]
发表于 2005-06-13 11:11 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

我是bsd新人,楼主的笔迹很受用

论坛徽章:
0
9 [报告]
发表于 2005-06-13 13:41 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

顶一个!

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
10 [报告]
发表于 2005-06-14 12:03 |只看该作者

FreeBSD5.4Release中文工作站安装笔记[附word文档下载]

找了个机器,开始安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP