anthie 发表于 2013-03-10 11:46

PC-BSD 9.1 Release Installation diary

PC-BSD® is a user friendly desktop Operating System based on FreeBSD.
For the BSD! Let's motivate gorgeous future!

I have installed PC-BSD and find it has some glitches.
I decided to write a diary for the one wanna install PC-BSD as reference and I wish other people not get confused like me.

For preparation, I checked compatible hardware list.
Yes. Nvidia display card is totally compatible with PC-BSD.
If you have a AMD card and the type is beyond 5xxx series, you should cry for no drivers now.

I will try my best to write it simple.
OK. Let me get to business.

I downloaded PC-BSD 9.1 Release X64 iso image from pcbsd.org.
Burn it with a writable dvd driver.
You may wanna install it from a usb disk. That is another process.
I booted my computer from dvd, and I got a welcome screen with language selection. As your expect, I select English, but I wanna install chinese input method later.

Customize your install option.
Important: XBMC must be installed. After you watch a hd movie, you will know why XBMC is necessary. The option is below mist node.

Nvidia too big fonts
The display card will automatic calculate fonts dpi if it supports it.
To customize the fonts dpi, edit /etc/X11/xorg.conf
In Monitor section, add:
DisplaySize   452    254
452 is width of you display in millimeter, 254 is the height.
You should change it to fit your display.
at screen section, add blow codes:
Option"UseEdidDpi" "False"
I also can change the DPI here:
System Settings -> Application Appearance -> Fonts -> Force fonts DPI
I can change the DPI here too.

Install fonts from windows if you are a chinese user.
For some reason, system font of simplified Chinese is very ugly and bigger than traditional Chinese.
The windows fonts are commonly in the fold C:/windows/fonts
I ported the fonts with system settings -> fonts management -> add...

Enable ibus input method.
PC-BSD Control Panel -> System Configuration -> Mist ->
Force IBUS input keyboard.
Run Start menu -> Settings -> ibus preferences
add a chinese input method, mostly we select pinyin.

Install apps with AppCafe
Yes. almost apps I want are here. Great.
First, I will select a faster source site. In some wired place, connection to default pcbsd source site is incredible slow.
PC-BSD Control Panel -> System Configuration -> Mirrors -> Select a faster mirror from list

About Opera browser loading error
The KDE uses file dialog toolkit, and Opera crashes on start with a 'libpng error: incorrect data check'
To resolve the bug, edit the file:
~%/.opera/operaprefs.ini
add this code in the last line:

Dialog Toolkit=4

No sound?
PC-BSD Control Panel -> Sound Configuration
then select a working output interface.

Install the latest Nvidia display driver
If I wanna do that, I must install system source tree first.
PC-BSD Control Panel -> System Configuration -> tasks -> Fetch system source
or download src.txz from a fast site.
Example: ftp://mirrors.isc.org/pub/pcbsd/9.1-RELEASE/amd64/dist/src.txz
Then expanse src.txz to root directory.
Download the latest driver for freebsd from nvidia website.
Follow guide of installation on the nvidia downloading page.
Stop!
Before following their guide, I must do something to keep things right.
edit /etc/make.conf
add below lines:
# X11 Base
X11BASE=/usr/local

The most important section comes: multimedia
Yeah! I get the pcbsd most work.
However, I want pcbsd works perfectly.
KMPlayer is enough good to play movies. It can play mkv, avi, xvid, divx ... format videos and works fine.
Yet, It plays 720p, 1080p, hd movies difficultly.
For those movies, we need use XBMC the multimedia center.
XBMC effect is very good and works fine with bsd.
XBMC can display Chinese subtiles.
I strongly recommend it.
So, as you thinking, It has a bug.
Oh, No. I said it works fine with pcbsd. It's unfair!
;-)
Peace!
When I play movies with it from a smb server based on unix system.
After first buffering, it never get back to play smoothly.
Maybe, windows server does not arouse that bug, I'm not sure.
I search that problem at google.com
It seems xbmc smb client code caused the bug.
A lot of people encountered this bug.
Unfortunately, I get that bug so.
I started NFS service on that server.
XBMC runs well with that circumstance.
FTP is another good source for XBMC.

Upgrade packages with pkgng
Edit /usr/local/etc/pkg.conf to replace a faster downloading site:
Example:
packagesite: ftp://mirrors.isc.org/pub/pcbsd/packages/9.1-RELEASE/amd64
FTP_MIRROR: ftp
And run:
pkg upgrade

For any problem, to visit http://forums.pcbsd.org

Be happy, you're a great man.
页: [1]
查看完整版本: PC-BSD 9.1 Release Installation diary