亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
123456下一頁(yè)
最近訪問(wèn)板塊 發(fā)新帖
查看: 27764 | 回復(fù): 50
打印 上一主題 下一主題

[FreeBSD] FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載] [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2005-06-12 12:08 |只看該作者 |倒序?yàn)g覽
2005年7月6日更新:
--------------------------------------------------------
有朋友謙版面太長(zhǎng),所以提供word文檔下載,方便朋友們?yōu)g覽:
http://tingyushi.nease.net/guanghuisuiyue/freebsd5xwindows.doc




裝好該工作站已很長(zhǎng)時(shí)間,但一直沒(méi)時(shí)間整理下寫(xiě)個(gè)筆記,昨天花了一下午整了出來(lái),希望對(duì)正在安裝或想安裝freebsd工作站的朋友有點(diǎn)用。
注:新手安裝,有錯(cuò)誤之處請(qǐng)諒解\指正,謝謝!

================================================================
FreeBSD5.4Release X Windows 安裝筆記  (Freebsd5.4R+Gnome2.10.0)


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

截圖:









機(jī)器配置:
核心:P4\1.7G
主板:MSI845
內(nèi)存:金士頓256*2
硬盤(pán):邁拓40G
顯卡:ATI Radeon 7500
顯板:Samsung SyncMaster 753DFX
聲卡:Creative Sound Blaster Live!

一、安裝FreeBSD5.4Release

從http://www.freebsd.org/releases/5.4R/announce.html選擇一個(gè)FTP服務(wù)器下載,然后刻成光盤(pán)。接下來(lái)從光盤(pán)安裝,我的幾點(diǎn)選項(xiàng):

1、選擇軟件包時(shí)選擇最小化安裝。
2、安裝到ports時(shí)選擇net-->;cvsup,以便更新ports。

其它的都默認(rèn)安裝,具體可參考:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/install-start.html,安裝完后重啟機(jī)器。

二、配置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"
復(fù)制代碼


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

  1. domain  jscpu.com
  2. nameserver      221.228.255.1
  3. nameserver      218.2.135.1
復(fù)制代碼

完成后重啟機(jī)器。

3、將光盤(pán)放入光驅(qū)中,安裝ports和src

  1. #/stand/sysinstall
復(fù)制代碼

然后選擇Configure-->;Distributions,然后利用空格鍵選擇src和ports兩項(xiàng),點(diǎn)install,安裝完成后重啟機(jī)器。

4、啟用ftp(后面上傳文件用)

  1. #cd /etc
  2. # ee inetd.conf
復(fù)制代碼

將ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l一行的#號(hào)去掉。
保存后退出。

三、升級(jí)ports

  1. #cp /usr/share/examples/cvsup/ports-supfile /etc/funpower
  2. #cd /etc
  3. # ee funpower
復(fù)制代碼

修改下面一行:
default host=cvsup2.FreeBSDChina.org
然后運(yùn)行如下命令:
  1. #cvsup -g -L 2  funpower
復(fù)制代碼


完成安裝后重啟機(jī)器。

四、配置內(nèi)核文件

配置內(nèi)核時(shí)每項(xiàng)說(shuō)明可以參考這:http://people.freebsdchina.org/kinki/9.htm,配置中要加入對(duì)聲卡的支持,關(guān)于如何安裝聲卡可以參考這: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
復(fù)制代碼


我的內(nèi)核文件如下:

  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!)
復(fù)制代碼



編輯好funpower后開(kāi)始編譯安裝內(nèi)核:

  1. #/usr/sbin/config funpower
  2. #cd ../../compile/funpower
  3. #make depend
  4. #make
  5. #make intall
復(fù)制代碼


編譯安裝完成后重啟機(jī)器。

五、安裝Xorg和Gnome

為了安裝方便,將1號(hào)和2號(hào)光盤(pán)的Packages文件夾的軟件全部COPY到/usr/soft中:

  1. #mkdir /usr/soft
  2. #mount /cdrom
  3. #cd /cdrom
  4. #cp -R * /usr/soft
復(fù)制代碼


通過(guò)上面的方法將2號(hào)盤(pán)的Packages也拷入/usr/soft中。

接下來(lái)開(kāi)始安裝:

  1. #cd /usr/soft
  2. #pkg_add xorg-6.8.2.tbz //freebsd5.3之后都用xrog,不用XFree86了
  3. #pkg_add gnome2-2.10.0.tbz
復(fù)制代碼

完成安裝后重啟機(jī)器。

六、配置xorg.conf

  1. #cd /usr/X11R6/bin
  2. #./xorgcfg -textmode
復(fù)制代碼

根據(jù)自己的硬件配置每個(gè)選項(xiàng),然后選擇最后第二項(xiàng)Write xorg.conf and quit,然后出現(xiàn)一個(gè)對(duì)話框問(wèn)你是否將配置文件copy到/etc/X11目錄中,選擇OK。

然后編輯/etc/X11/xorg.conf的Section”Input Device”,使支持鼠標(biāo)的滾輪:

  1. #cd /etc/X11
  2. #ee xorg.conf
復(fù)制代碼

  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
復(fù)制代碼


我的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
復(fù)制代碼


七、配置.xinitrc

使X Windows啟動(dòng)時(shí)默認(rèn)的桌面系統(tǒng)為Gnome
  1. #echo “/usr/X11R6/bin/gnome-session” >; ~/.xinitrc
復(fù)制代碼


八、運(yùn)行X Windows

#startx

進(jìn)入Gnome桌面系統(tǒng),下面開(kāi)始中文化和美化桌面Gnome.

注:這里可能會(huì)有兩個(gè)提示錯(cuò)誤,一個(gè)是說(shuō)系統(tǒng)的hostname找不到映射,編輯/etc/hosts中,將下面一行:
192.168.20.1       gjf gjf.jscpu.com
加入其中。另一個(gè)是系統(tǒng)未找到聲卡的驅(qū)動(dòng),你需重新安裝聲卡驅(qū)卡,具體見(jiàn)這:http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/sound-setup.html

九、中文化及美化

1、中文化Gnome

編輯.cshrc文件:
  1. #cd ~
  2. #ee .cshrc
復(fù)制代碼

加入下面內(nèi)容:
  1. setenv LANG zh_CN.eucCN
  2. setenv LC_LANG zh_CN.eucCN
復(fù)制代碼

保存后退出。

2、美化Gnome字體

通過(guò)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/
復(fù)制代碼


重啟機(jī)器,登陸后運(yùn)行startx,進(jìn)入Gnome,沒(méi)出錯(cuò)的話這時(shí)已經(jīng)是中文版了,只是字體難看些,下面設(shè)置字體:點(diǎn)擊[桌面]-->;[首選項(xiàng)]-->;[字體],將字體全部換成SimSun,字體大小為10,然后點(diǎn)[細(xì)節(jié)]選項(xiàng),[平滑]選無(wú),[微調(diào)]選輕微,[次像素順序]選RGB。保存后關(guān)閉對(duì)話框。

十、安裝常用軟件

1、輸入法:小企鵝輸入法

  1. #cd  /usr/ports/chinese/fcitx
  2. #make install clean
復(fù)制代碼


完成安裝后進(jìn)行配置:

配置.cshrc
  1. #cd ~
  2. #ee .cshrc
復(fù)制代碼

加入下面一行:
  1. setenv XMODIFIERS @im=fcitx
復(fù)制代碼

保存后退出。

配置.xinitrc
  1. # ee xinitrc
復(fù)制代碼

在/usr/X11R6/bin/gnome-session的上面一行加入(不能放在它下面一行,否則不能啟動(dòng)):
  1. exec fcitx &
復(fù)制代碼

保存后退出。

退出Gnome,然后再startx,這時(shí)就能看到企鵝輸入法了。

2、網(wǎng)頁(yè)瀏覽器:firefox

  1. #cd /usr/ports/www/firefox
  2. #make install clean
復(fù)制代碼


3、即時(shí)通訊工具(包括OICQ):gaim-openq

  1. #cd /usr/ports/net/gaim-openq
  2. #make install clean
復(fù)制代碼


4、MP3播放器:Xmms
  1. #cd /usr/ports/multimedia/xmms
  2. #make install clean
復(fù)制代碼


1) xmms菜單欄亂碼解決方法:

  1. #ee .gtkrc.mine //沒(méi)有這個(gè)文件也這樣操作
復(fù)制代碼

加入如下內(nèi)容:
  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"
復(fù)制代碼

  1. #ee ~/.xmms/config
復(fù)制代碼

將playlist_font和mainwin_font換成如下內(nèi)容:
  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"
復(fù)制代碼


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

打開(kāi)xmms,然后,[首選項(xiàng)]-->;[字體]-->;[播放清單“瀏覽”]-->;[filter]-->;charset中選擇gb2312.1980-0,然后在播放清單選項(xiàng)中的"-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/點(diǎn)擊download realplay下載RealPlayer10GOLD.bin至桌面。進(jìn)行如下操作:

  1. #cd ~/Desktop
  2. #chmod a+x RealPlay10GOLD.bin
  3. #./RealPlay10GOLD.bin
復(fù)制代碼

然后根據(jù)提示完成安裝。

6、文檔處理:OpenOffice

  1. #cd /usr/ports/chinese/openoffice-1.1-zh-CN
  2. #make install clean
復(fù)制代碼


1) 安裝期間需要三個(gè)包的支持:

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

下載地址:http://www.eyesbeyond.com/freebsddom/java/jdk14.html
下載完后copy到/usr/ports/distfiles中。然后再次運(yùn)行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中。然后再次運(yùn)行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中。然后再次運(yùn)行make install clean。

2) 中文化openoffice

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

3) 啟動(dòng)OpenOffice

  1. #cd ~/OpenOffice.org1.1.4
  2. #./soffice
復(fù)制代碼

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2005-06-12 14:45 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

很詳細(xì) 支持樓主的勞動(dòng)  頂一下

論壇徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕節(jié)徽章
日期:2015-08-21 11:06:17
3 [報(bào)告]
發(fā)表于 2005-06-12 18:57 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

不錯(cuò)

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2005-06-12 20:02 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

不錯(cuò) 不錯(cuò)
問(wèn)個(gè)問(wèn)題
安裝 英文版的 openoffice 只要
把SimSun.ttc和Tahoma.ttf拷貝到openoffice的安裝目錄下的truetype文件夾里就可以達(dá)到漢化的目的了嗎

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2005-06-13 08:14 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

原帖由 "hfh08" 發(fā)表:
不錯(cuò) 不錯(cuò)
問(wèn)個(gè)問(wèn)題
安裝 英文版的 openoffice 只要
把SimSun.ttc和Tahoma.ttf拷貝到openoffice的安裝目錄下的truetype文件夾里就可以達(dá)到漢化的目的了嗎


沒(méi)試過(guò),但估計(jì)不行
建議還是一開(kāi)始就安裝中文版的

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2005-06-13 10:23 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

在問(wèn)個(gè)問(wèn)題  你的瀏覽器有沒(méi)有實(shí)現(xiàn)粗體的效果啊
要是有能叫我一下嗎 我的 實(shí)現(xiàn)不了啊

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2005-06-13 10:25 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

還有firefox 我也沒(méi)辦法漢化
裝了  zh_CN.xpi 沒(méi)有效果的

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2005-06-13 11:11 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

我是bsd新人,樓主的筆跡很受用

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2005-06-13 13:41 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

頂一個(gè)!

論壇徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕節(jié)徽章
日期:2015-08-21 11:06:17
10 [報(bào)告]
發(fā)表于 2005-06-14 12:03 |只看該作者

FreeBSD5.4Release中文工作站安裝筆記[附word文檔下載]

找了個(gè)機(jī)器,開(kāi)始安裝
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP