发新话题
打印

请教freebsd6.0如何安装?

请教freebsd6.0如何安装?

请教freebsd6.0如何安装?我装好了后,怎么进不了kde?我是蔡鸟,大家帮帮忙!谢谢了      

TOP

TOP

我连装都不会啊。哎,哪里有教程呢?      

TOP

安装选择 包的时候,没有选择 吧。
-- 个人认为,安装挺简单的,怎么就这么多人不明白呢? 
安装简单,主要是配置复杂点而已。      

TOP

# sysinstall

选择[Configure]->[Distributions]->[X.Org]



接下来会出现一个菜单让你选择所需要安装的X.Org的包,如下图所示,请进入每一个选项里选取ALL.





接着选择Exit回到选择安装来源.您可以选择CD/DVD为安装本源,放入第一张CD即可开始安装.

安装KDE:
# sysinstall
选择[Configure]->[Packages]->[kde],选择kde-3.5.1


选择OK,然后Install会有提示要求您放第二张光盘.这里需要等比较长的时间.安装完就退出.

运行
xorgcfg ?textmode




配置xorg
本机上所生成的/etc/X11/xorg.conf文件内容如下
leo# cat /etc/X11/xorg.conf
Section \"ServerLayout\"
       Identifier     \"Layout0\"
       Screen      0  \"Screen0\" 0 0
       InputDevice    \"Keyboard0\" \"CoreKeyboard\"
       InputDevice    \"Mouse0\" \"CorePointer\"
EndSection

Section \"Files\"
EndSection

Section \"Module\"
       Load  \"freetype\"
       # Load \"xtt\"
       Load  \"extmod\"
       Load  \"glx\"
       Load  \"dri\"
       Load  \"dbe\"
       Load  \"record\"
       Load  \"xtrap\"
       Load  \"type1\"
       Load  \"speedo\"
EndSection

Section \"InputDevice\"
       Identifier  \"Mouse0\"
       Driver      \"mouse\"
       Option      \"rotocol\" \"Auto\"
       Option      \"Emulate3Buttons\"
       Option      \"Device\" \"/dev/sysmouse\"
EndSection

Section \"InputDevice\"
       Identifier  \"Keyboard0\"
       Driver      \"kbd\"
       Option      \"XkbModel\" \"pc101\"
       Option      \"XkbLayout\" \"us\"
EndSection

Section \"Monitor\"

### Comment all HorizSync and VertSync values to use DDC:
       Identifier   \"Monitor0\"
### Comment all HorizSync and VertSync values to use DDC:
       HorizSync    31.5 - 57.0
       VertRefresh  50.0 - 90.0
EndSection

Section \"Device\"
       Identifier  \"Card0\"
       Driver      \"vmware\"
EndSection

Section \"Screen\"
       Identifier \"Screen0\"
       Device     \"Card0\"
       Monitor    \"Monitor0\"
       DefaultDepth     24
       SubSection \"Display\"
               Viewport   0 0
               Depth     24
               Modes    \"1024x768\" \"800x600\"
       EndSubSection
EndSection

在 /root 目录下 编辑 .xinitrc 文件:
加入下面行
exec /usr/local/bin/startkde
然后执行
startx
即可进入KDE



接着我们要将KDE 汉化,如果要在X-Window 中看到中文的菜单,必须先装中文字体kcfont(国乔字体)及arphicttf(文鼎字体),以及中文信息档(i18n)
# cd /usr/ports/chinese/kcfonts
# make install clean
# cd /usr/ports/chinese/arphicttf
# make install clean
# cd /usr/ports/chinese/kde3-i18n-zh_CN
# make install clean
# cd /usr/ports/chinese/koffice-i18n-zh_CN
# make install clean
接着编辑/etc/X11/xorg.conf
leo# vi /etc/X11/xorg.conf
在Section \"Files\"之间加入下面三行,以使X-Window能找到正确的字体路径,如下:
Section \"Files\"
       FontPath     \"/usr/X11R6/lib/X11/fonts/TrueType\"
       FontPath     \"/usr/X11R6/lib/X11/fonts/local\"
       FontPath     \"/usr/X11R6/lib/X11/fonts/misc\"
EndSection
更改保存后进入KDE。
找到Setting->Desktop Setting Wizard进行设置:



按Next一直到最后即可。
如果您想要有Windows的字体,可以到将Win上面的字体COPY到下面的目录
#cd /usr/X11R6/lib/X11/fonts/TrueType
然后打开“控制中心”->外观和主题->字体,里面设置你所需要的字体和字体大小。我是把windows下面的simsun.ttc和tohoma.ttf拷贝到了FreeBSD上面,然后应用windows的字体,这样感觉比较舒服,毕竟是平时看惯了windows的字体了。看其它字体感觉怪怪的。
-rw-r--r--  1 root  wheel  10507340 May 14 19:07 simsun.ttc
-rw-r--r--  1 root  wheel    379856 May 14 19:07 tahoma.ttf



中文输入法安装:
cd /usr/ports/chinese/scim-tables/
make install

cat >> /etc/csh.cshrc << OK
setenv LANG zh_CN.eucCN
setenv LC_CTYPE zh_CN.eucCN
setenv XMODIFIERS @im=SCIM
setenv GTK_IM_MODULE scim
OK
另外在进入X之前需要执行(在~/.xinitrc中加入)
exec scim -d &
此行一定要放在exec /usr/local/bin/startkde之前
leo# cat /root/.xinitrc
exec scim -d &
exec /usr/local/bin/startkde

重新启动KDE就可以输入中文了。      

TOP

好像我的电脑按照你的说明去配置,还是不行

我的电脑 amd64, 集成sis760, dell 1905 LCD
按照你的做法,我发现仍然不行,显示如下:

warning: The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist
warning: couldn't open module speedo
error: No devices detected.(我的显卡是主板集成sis760,可是只能用vmware或者ati代替,结果都不行)
fatal server error:
no screens found

不知道那位老兄能帮我一下,本人是只菜鸟
另外我有个USB-400的 USB 无线网卡,不知道怎么能配上?谢谢。

[QUOTE=Rosly]# sysinstall

选择[Configure]->[Distributions]->[X.Org]



接下来会出现一个菜单让你选择所需要安装的X.Org的包,如下图所示,请进入每一个选项里选取ALL.





接着选择Exit回到选择安装来源.您可以选择CD/DVD为安装本源,放入第一张CD即可开始安装.

安装KDE:
# sysinstall
选择[Configure]->[Packages]->[kde],选择kde-3.5.1


选择OK,然后Install会有提示要求您放第二张光盘.这里需要等比较长的时间.安装完就退出.

运行
xorgcfg ?textmode




配置xorg
本机上所生成的/etc/X11/xorg.conf文件内容如下
leo# cat /etc/X11/xorg.conf
Section \"ServerLayout\"
Identifier \"Layout0\"
Screen 0 \"Screen0\" 0 0
InputDevice \"Keyboard0\" \"CoreKeyboard\"
InputDevice \"Mouse0\" \"CorePointer\"
EndSection

Section \"Files\"
EndSection

Section \"Module\"
Load \"freetype\"
# Load \"xtt\"
Load \"extmod\"
Load \"glx\"
Load \"dri\"
Load \"dbe\"
Load \"record\"
Load \"xtrap\"
Load \"type1\"
Load \"speedo\"
EndSection

Section \"InputDevice\"
Identifier \"Mouse0\"
Driver \"mouse\"
Option \"rotocol\" \"Auto\"
Option \"Emulate3Buttons\"
Option \"Device\" \"/dev/sysmouse\"
EndSection

Section \"InputDevice\"
Identifier \"Keyboard0\"
Driver \"kbd\"
Option \"XkbModel\" \"pc101\"
Option \"XkbLayout\" \"us\"
EndSection

Section \"Monitor\"

### Comment all HorizSync and VertSync values to use DDC:
Identifier \"Monitor0\"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 90.0
EndSection

Section \"Device\"
Identifier \"Card0\"
Driver \"vmware\"
EndSection

Section \"Screen\"
Identifier \"Screen0\"
Device \"Card0\"
Monitor \"Monitor0\"
DefaultDepth 24
SubSection \"Display\"
Viewport 0 0
Depth 24
Modes \"1024x768\" \"800x600\"
EndSubSection
EndSection

在 /root 目录下 编辑 .xinitrc 文件:
加入下面行
exec /usr/local/bin/startkde
然后执行
startx
即可进入KDE



接着我们要将KDE 汉化,如果要在X-Window 中看到中文的菜单,必须先装中文字体kcfont(国乔字体)及arphicttf(文鼎字体),以及中文信息档(i18n)
# cd /usr/ports/chinese/kcfonts
# make install clean
# cd /usr/ports/chinese/arphicttf
# make install clean
# cd /usr/ports/chinese/kde3-i18n-zh_CN
# make install clean
# cd /usr/ports/chinese/koffice-i18n-zh_CN
# make install clean
接着编辑/etc/X11/xorg.conf
leo# vi /etc/X11/xorg.conf
在Section \"Files\"之间加入下面三行,以使X-Window能找到正确的字体路径,如下:
Section \"Files\"
FontPath \"/usr/X11R6/lib/X11/fonts/TrueType\"
FontPath \"/usr/X11R6/lib/X11/fonts/local\"
FontPath \"/usr/X11R6/lib/X11/fonts/misc\"
EndSection
更改保存后进入KDE。
找到Setting->Desktop Setting Wizard进行设置:



按Next一直到最后即可。
如果您想要有Windows的字体,可以到将Win上面的字体COPY到下面的目录
#cd /usr/X11R6/lib/X11/fonts/TrueType
然后打开“控制中心”->外观和主题->字体,里面设置你所需要的字体和字体大小。我是把windows下面的simsun.ttc和tohoma.ttf拷贝到了FreeBSD上面,然后应用windows的字体,这样感觉比较舒服,毕竟是平时看惯了windows的字体了。看其它字体感觉怪怪的。
-rw-r--r-- 1 root wheel 10507340 May 14 19:07 simsun.ttc
-rw-r--r-- 1 root wheel 379856 May 14 19:07 tahoma.ttf



中文输入法安装:
cd /usr/ports/chinese/scim-tables/
make install

cat >> /etc/csh.cshrc << OK
setenv LANG zh_CN.eucCN
setenv LC_CTYPE zh_CN.eucCN
setenv XMODIFIERS @im=SCIM
setenv GTK_IM_MODULE scim
OK
另外在进入X之前需要执行(在~/.xinitrc中加入)
exec scim -d &
此行一定要放在exec /usr/local/bin/startkde之前
leo# cat /root/.xinitrc
exec scim -d &
exec /usr/local/bin/startkde

重新启动KDE就可以输入中文了。[/QUOTE]      

TOP

发新话题