Fedora Core 2 正式版使用问题


 
如果转载请注明出处:
http://www.wonyen.net/bbs/mboard.asp


1、终端下显示中文是乱码
修改.bashrc 添加
export LC_ALL=zh_CN
export LANG=zh_CN

2、默认情况下vi和gedit都不能正确显示gb2312编码的文件
几种方法
1).运行 gconf-editor,把 gedit 的自动探测编码设置修改一下,加入 GB2312
2).编辑前用 iconv -f gb2312 -t utf8 filename 来转码
3).运行 vi,在打开文件之前,先设置 :set encoding=GB2312
4).用 gedit, kwrite, mozilla composer 或者 eclipse 的编辑器,都支持 GB2312 编

5).用 emacs

3、kde用起来很不好用,跳出n多Htt IM State
系统设置-服务器设置-服务,禁用llim服务,Htt IM Status 就不出来了

4、如何使用哈密瓜的五一美化包美化Fedora Core 2
1)停掉FC2自带的输入法
# /etc/init.d/IIim stop
2)下载,安装哈密瓜的五一美化包。
http://download.linuxsir.org/fontconfig/linuxsir-fontconfig-3.2.1.run安装过程(
可以完全脱离键盘操作):
1、下载后检查该文件是否具有可执行属性。可以通过鼠标直接修改其属性或在shell端执

chmod 755 linuxsir-fontconfig-3.2.1.run
2、鼠标双击该文件或在shell端执行:
./linuxsir-fontconfig-3.2.1.run 或 sh linuxsir-fontconfig-3.2.1.run
具体过程请见安装过程中的提示。

3)重启xwindows,一切OK

5、我们在进行一些网站访问时也碰到了麻烦,解析特别慢,失败的机率相当大。
问题是由Linux 2.6内核中一个叫做ECN(明确阻塞通知)的功能造成的,ECN可以让路由器
向用户报告网络堵塞的情况,但ECN功能开启的时候,这也会令一些老的防火墙拒绝进行网
络连接。为了关闭ECN,我们在/etc/sysctl.conf.文件中不得不添加了"net.ipv4.tcp_ec
n = 0"的命令。

6、显示器在装FC2是没有认出来。
调一下/etc/X11/xorg.conf,如果失败把/etc/X11/xorg.conf.backup
换回来就可以启动,重新调节显示。

7、fc2中的Konqueror怎么不能显示图象文件的缩略图呢?请问如何设置才能象以前那样直
接显示图象文件 ?
在配置里选择“显示文件提示”中“在文件提示中显示预览”

8、FC2那张rescue盘是干什么用的?
是急救盘,系统挂掉起不来的时候可以用这张盘启动然后修复。

9、 fat32 分区自动在 fstab 里面 mount 加载为 GB2312 或者 CP936,中文文件夹都会
显示为 XXX无效 Unicode。
fc2 中 mount vfat 分区时不用加编码的参数,除非在终端下用 zhcon 时才需要

10、Fc2下五笔输入法的问题
关闭iiimf──/etc/rc.d/IIim stop 或者serviceconf 关闭
安装fcitx──fcitx-2.0.2-4
# rpm -e miniChinput
# rpm -ivh fcitx-2.0.2-4
重启X,应该可以打开fcitx,如果不行,修改.bashrc
然后添加如下段落:
#FCITX
export XMODIFIERS="@im=fcitx"
export XIM=fcitx

#LOCALE setup
export LC_ALL=zh_CN
export LANG=zh_CN

#load fcitx
fcitx&

11、如何在vmware 4.5.1里安装FedoraCore2?
在VMware4.51里一边下载ISO,一边安装,,安装完后先安装VMware tools,再改XF86config
的pointer段:
Device "/dev/input/mice"
然后startx后就可看见gnome2.6了 .

12、mozilla是用的1.6版的,语言里只有e文。
要自己装上中文语言包或是去下一个简体中文版的1.6装上就行了

13、解决在最新的fedora驱动里,kernel hacking的4K stacks选项被取消了,导致nvid
ia现有驱动不能正常使用。(感谢fudaming兄弟)
这里有一个解决方法,下载www.kernel.org 的官方内核自己编译一遍,然后用这个内核
启动,再安装驱动。我现在使用的是2.6.6的内核,5341的驱动。一切正常。
详细方法:
到http://www.kernel.org/ 下载内核源码,我用的的是2.6.6的,地址如下
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2 将其放在/usr/
src 目录下,解压。得到名为linux-2.6.6 的目录
进入 (图1),使用
#make gconfig
配置内核,这时候它会检测配置文件,如果不存在默认的配置文件.config,就会使用/b
oot/config-XXXXX作为配置文件载入,这个是fedora当前内核默认的配置文件。建议新
手不要改动,因为既然已经正确运行,那就说明这个配置文件是有效的。
在载入了配置文件之后会出现一个配置窗口。包含了一些选项,由于fedora自己的内核
是打过不少补丁的,其中4kstacks这个选项是没有的,所以要用官方的内核把它取消掉
。另外还有一个选项要被取消掉:
CONFIG_4STACKS = n ( no )
and
CONFIG_REGPARMS = n ( no )
插一句,有人编译内核以后不能起动系统,找不到root分区,或者不能加载,很好解决
,root分区是什么格式,把它编译进核心就行了,不要作为模块加载。
配置完成以后,点保存按钮保存,然后退出。又不少文章介绍内核的编译方法,我接下
来是这样的
#make
#make modules_install
#make install
这样完成以后,检查/boot/grub/grub.conf文件里面是否修改,加入了新的内核条目,
还有文件是否copy到了/boot目录下,确认了以后重启,选择新的内核就可以了。

安装nvidia驱动的方法还是按照平时的做法(先保存相关文件)
先在控制台里
#init 3
#./NVIDIA*.run
修改配置文件xorg.conf,b把nv to nvidia
修改 /etc/inittab ,把3 ( command line ) to 5 ( Xwindows )

14、装了FC2,为什么不能启动winxp?
fc2所在是否主分区?如果是主分区,引导win分区要激活,加上
root noverify(hd0,0)
makeactive
chainloader +1
也可以到你的BIOS里面更改一下硬盘模式为LBA

15、制作安装Fedora Core 2起动软盘的方法(感谢weihe_duoduo)
首先,制作一张Mandrake Linux的启动盘,就是用hd_grub.img镜像文件写成的启动盘(
我用的是cooker版,文件在/cooker/i586/images中)。然后,就是更改启动盘中的menu.
lst文件的内容。未根改前的文件内容是这样的:
timeout 0
default 0
title Mandrake Install
root (hd0,4)
kernel /cooker/i586/isolinux/alt0/vmlinuz ramdisk_size=128000 root=/dev/ram3
acpi=ht vga=788
automatic=method:disk,partition=hda5,directory=/cooker/i586/isolinux/alt0/all
.rdz

在这里,我稍稍讲解一下这个文件(只讲我们需要更改的)。“title”是表明你所要完成
任务的描述,改不改无所谓。“root(hd0,4)”是说你的镜像文件放在那里。“hd0”表
明文件放在哪个硬盘上,“4”表明放在这个硬盘的哪个区中。“root(hd0,4)”表明文
件放在第一个硬盘的第五个分区中,即hda5,这与后面的“partition=hda5”相对应。如
果文件是放在第一个硬盘的第六个分区,那就应该表示为“root(hd0,5)”,即hda6;如
果是第二个硬盘的第五个分区,那就应该表示为“root(hd1,4)”,即hdb5。“kernel
/cooker/i586/isolinux/alt0/vmlinuz”和“directory=/cooker/i586/isolinux/alt0/
all.rdz”就是启动后要加载的主要文件。我们要改的地方也就是在这。首先,将你Fedo
ra Core 2第一张光盘中的isolinux目录下的 vmlinuz和initrd.img两个文件解压到某个
目录下,比如说/Fedora下;然后将“kernel /cooker/i586/isolinux/alt0/vmlinuz”
改为“kernel /Fedora/vmlinuz”,将“directory=/cooker/i586/isolinux/alt0/all.
rdz”改为“directory=/Fedora/initrd.img”。其他的设置不用变。这样,一张可以从
软盘启动安装Fedora Core 2的启动盘就作好了。

16、如何硬盘安装
将三个ISO文件放在同一目录下,如:G:/Fedora,用WinISO或者WinRAR解压出Fedora第
一张光盘ISO文件的dosutils目录,例如放在G:/Fedora目录下,用Windows 98引导盘进
入DOS,不要加载光驱。切换目录到dosutils下,运行autoboot就开始安装了。然后会让
你选择安装方式,选择硬盘安装,接下来就会让你选择ISO文件的存放路径,选择分区后
再填入目录名,如:选择/dev/hda8,填入Fedora。
注:Linux把所有的设备也当作文件。接在Primary Master上的设备在Linux下对应的设
备名为hda,接在Primary Slave上的设备就为hdb,接在Secondary Master就为hdc,接
在Secondary Slave就为hdd。/dev目录就是Linux存放设备文件的地方。硬盘接在了Prim
ary Master上,所以就是hda了,而分区就在后面加数字表示,由于Linux保留了1-4为主
分区,所以扩展分区的第一个逻辑分区就用5来表示,D盘一般就是hda5,所以上面的G盘
也就是hda8了。
小技巧:Fedora隐藏了reiserfs分区格式的选择。光盘安装的话,在boot后输入linux
reiserfs可以在安装时选择将分区格式化为reiserfs格式,如图。如果是硬盘安装的话
可以输入autoboot reiserfs。有些时候,由于安装程序不支持你的显卡,就可以采用文
本模式来安装,在boot:后输入linux text就可以了。

17、没有dosutils怎么办?
新建一个dosutils文件夹拷贝initrd.img和vmlinuz到文件夹下面,然后拷贝fedora1的l
oadlin.exe文件到同一目录下面。自建一个批处理文件autoboot.bat类容如下
loadlin vmlinuz initrd=initrd.img ramdisk_size=9216
也可以直接下载:http://download.fedora.redhat.com/pub/fedora/linux/core/1/i38
6/os/dosutils/

18、如何通过grub安装
从isolinux目录中提取vmlinuz和initrd.img文件即可安装了.
我一般用GRUB安装~~如果没有其它的LINUX系统是用GRUB引导的话,下载一个GRUB FOR
DOS,键入:
grub>kernel (hd0,X)/filepath/vmlinuz
grub>initrd (hd0,x)/filepath/initrd.im
grub>boot

19、用Fedora2浏览局域网
不用再像以前一样配置SMB了,只需在控制中心的-局域网浏览中设置一下就行。最爽的
域网浏览和本地浏览紧密地结合在一起了。

20、中文输入法无法在gb18030的FC2上调出的原因
ls /usr/lib/X11/locale
找补到gb18030,简体中文locale只有zh_CN、zh_CN.gbk和zh_CN.UTF-8三种,难怪说在g
b18030的FC2上调不出输入法了。
gbk的locale绝对可以的,只需卸载所有的IIim程序,无须export LC_ALL=zh_CN、expor
t LANG=zh_CN,中文输入法也能正常调出。
/etc/sysconfig/i18n文件:

源码:--------------------------------------------------------------------------------
#LANG="zh_CN.UTF-8"
#SUPPORTED="zh_CN.UTF-8:zh_CN:zh"
#SYSFONT="latarcyrheb-sun16"
LANG="zh_CN.gbk"
SUPPORTED="zh_CN.gbk:zh_CN:zh"
SYSFONT="latarcyrheb-sun16"

21、装上fedora2后,系统自带的openoffice一个汉字也看不见。
如果用过“五一”美化包,在OO 里把Tahoma字体替换成SimSun就行了。别的不要改的。没用过的话,直接在首选项--》字体--》把几种字体改成AR PL SungtiL。

22、FC2下怎么加载NTFS格式啊?
http://linux-ntfs.sourceforge.net/rpm/fedora2.html
根据 uname -a 来判断内核,然后下载安装上就行了。

中文常见问题处理页面

http://linux-ntfs.sourceforge.net/info/ntfs-zh.html

23、FC2如何通过ISO文件添加/删除软件包?
mount -o loop iso /mnt/cdrom 这样可以浏览ISO文件的内容,也可以使用system-config-packages命令。

24、我的fc2现在无法用gnome了,登录选gnome,输入用户密码后就停住了。
把~.gnome2/session-manual
里的Priority=31改成Priority=50

25、请问fedora2里面的xmms1.2.10播放mp3的插件哪儿有下载啊?
http://www.linuxsir.org/bbs/attachment.php?s=&postid=637654

26、哈蜜瓜兄,你的美化包美化后(fedora 2),xmms字体该怎么设啊?
这个问题可以通过修改/etc/X11/xorg.conf (我没装fedora2,不知文件是否写全了)
这是因为fedora把X系统从原来的XFree86换成了xorg(具体原因可见相关讨论),配置文件也作了相应的改变。而当然我也没考虑Fedora 2的情况。(把/etc/X11/XF86Config作为配置文件)
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/simsun" #加入这行
FontPath "unix/:-1"
EndSection

27、卸载mozilla英文版安装中文版的方法
到http://people.linux.net.cn/holywen/下载1.6的中文版
1.rpm -e mozilla
2.tar zxvf mozilla-i686-pc-linux-gnu-1.6-zhCN-installer.tar.gz
3.进入mozilla-installer
4../mozilla-installer
5.建立桌面起动器:
假使你安装在/usr/local/mozilla文件夹里
在命令里输入:/usr/local/mozilla/mozilla
6.徽标就在你的安装路径的icons里。

28、如何随意安装字体?
1. 创建 /usr/share/fonts/local/ 目录
2. 把新字体文件复制到 /usr/share/fonts/local/ 中
3. 使用以下命令来更新字体信息:
ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale
1) 把 fonts.scale 拷贝出来一份 fonts.dir.
2) chkfontpath --add /usr/share/fonts/local/
4. 使用以下命令来重新启动 xfs 字体服务器
service xfs reload
就以上几步就可以了.想要什么字体都可以.

以下29-36感谢aaccdd兄弟
http://www.linuxsir.org/bbs/showthread.php?s=&threadid=109912
29、添加xDsl连接:
图形工具# system-config-network,新建xdsl>填写网卡、供应商、账户、密码即可;
用adsl-setup# adsl-setup,按照提示一步步填写即可;
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...
LOGIN NAME
Enter your Login Name (default root): ( 填写账户名)
INTERFACE
Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0): (上网用的网卡接口,默认eth0)
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): (是按需拨号,还是持续连接;按需拨号,填写空闲时间,如60(秒);默认持续连接)
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: (域名解析服务器,可以填server,自动寻找;也可以直接填地址)
PASSWORD
Please enter your Password:
Please re-enter your Password: (输入口令并确认)
USERCTRL
Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): (用户控制,yes允许普通用户启动、关闭连接;默认yes)
FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
Choose a type of firewall (0-2): (防火墙规则,0-无有,1-基本工作站,2-局域网网关;一般选1就行)
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no): (是否随系统启动,如果包月yes)
** Summary of what you entered **
Ethernet Interface: eth0
User name: *********
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: STANDALONE
User Control: yes
Accept these settings and adjust configuration files (y/n)? (是否接受这些设置,并调整配置文件)
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
Congratulations, it should be all set up!
Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status. (配置完成,启动xdsl连接用 /sbin/ifup ppp0, 关闭 /sbin/ifdown ppp0;查看状态 /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0)

30、建立声音设备:
/dev/sound/mixer /dev/sound/midi /dev/sound/dsp
# cd /dev/
# mkdir sound(建立目录)
# cd sound
# ln -s ../mixer mixer
# ln -s ../dsp dsp
# ln -s ../midi midi
# chmod 777 mixer dsp midi

31、安装zhcon:
这样的软件我是常备在硬盘上的,如要下载到北大天网e.pku.edu.cn、http://rpmfind.net/ 搜索一下就有
# rpm -ivh zhcon-0.2.3-1.i386.rpm

32、编译安装openQ:
下载页http://openq.linuxsir.org/cgi-bin/wiki/moin.cgi/_cf_c2_d4_d8
下载openq-0.3.tbz和qq-ver-0.3.0-p2.tar.bz2
解压
# tar xjvf openQ-0.3.tbz
# tar xjvf qq-ver-0.3.0-p2.tbz
替换openq/gaim/src/protocol/qq目录
# cp -r qq-ver-0.3.0-p2/ openQ-0.3/gaim/src/protocol/qq/
编译
2. cd openQ-0.3
* 安装OpenQ 主程序
3. cd gaim
4. ./configure --prefix=/opt/OpenQ ( 根据安装情况设定)
5. make
6. sudo make install
* 安装QQ 笑脸
7. mkdir –p ~/.gaim/smileys
8. cp –r qq2003iii ~/.gaim/smileys
* 安装QQ 秀
9. cp –r qqshow ~/.gaim
* 安装IP 地址文件,( 可以安装到任何目录,但一定要在”首选项”中设置)
10. cp QQWry-20040330.dat ~/.gaim/
QQ 表情资源:http://www.loveqq.com/
QQip查询dat20040515:http://www.showqq.com/download/qqdown_138.htm

33、安装j2sdk:
Java 2 SDK Standard Edition 1.4.2 for Linux
华军的下载页:http://www.onlinedown.net/soft/11537.htm
# chmod 777 j2sdk-1_4_2-linux-i586.bin
# j2sdk-1_4_2-linux-i586.bin
# cp j2sdk1.4.2/ /usr/local/
建立连接:
# ln -s /usr/local/j2sdk1.4.2/jre/bin/java /usr/local/bin/java
为mozilla添加java插件
# ln -s /usr/local/j2sdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins/libjavaplugin_oji.so
为konqueror添加java插件
konqueror>设置>配置konqueror>java和javascript--java执行程序的路径:/usr/local/j2sdk1.4.2/jre/bin/java
使java显示中文字体:
# 修改 /usr/local/j2sdk1.4.2/jre/lib/font.properties 另存为/usr/local/j2sdk1.4.2/jre/lib/font.properties.zh_CN。
源码:--------------------------------------------------------------------------------# @(#)font.properties.linux 1.7 02/03/07
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
#

# Component Font Mappings
#
serif.0=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0(替换为simsun)

serif.italic.0=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

serif.bold.0=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

serif.bolditalic.0=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

sansserif.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

sansserif.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

sansserif.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

sansserif.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

monospaced.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

monospaced.italic.0=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.italic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

monospaced.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bold.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

monospaced.bolditalic.0=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialog.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialog.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialog.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialog.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialoginput.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialoginput.italic.0=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.italic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialoginput.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bold.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

dialoginput.bolditalic.0=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.1=-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

# Missing Glyph Character
#
default.char=274f

# Component Font Character Encodings
#
fontcharset.serif.0=sun.io.CharToByteISO8859_1
fontcharset.serif.1=sun.awt.CharToByteSymbol

fontcharset.sansserif.0=sun.io.CharToByteISO8859_1
fontcharset.sansserif.1=sun.awt.CharToByteSymbol

fontcharset.monospaced.0=sun.io.CharToByteISO8859_1
fontcharset.monospaced.1=sun.awt.CharToByteSymbol

fontcharset.dialog.0=sun.io.CharToByteISO8859_1
fontcharset.dialog.1=sun.awt.CharToByteSymbol

fontcharset.dialoginput.0=sun.io.CharToByteISO8859_1
fontcharset.dialoginput.1=sun.awt.CharToByteSymbol

# Exclusion Ranges
#

# XFontSet Information
#
fontset.serif.plain=/
-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.italic=/
-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.bold=/
-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1

fontset.serif.bolditalic=/
-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1

fontset.sansserif.italic=/
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.bold=/
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.bolditalic=/
-b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.sansserif.plain=/
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.monospaced.italic=/
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.bold=/
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.bolditalic=/
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.monospaced.plain=/
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialog.italic=/
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.bold=/
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.bolditalic=/
-b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialog.plain=/
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

fontset.dialoginput.italic=/
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.bold=/
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.bolditalic=/
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.dialoginput.plain=/
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

fontset.default=/
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

filename.-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1982-0=/usr/share/fonts/zh_CN/TrueType/simsun.ttc(添加simsun字体位置)

34、编译monkey audio plugin for xmms
下载页面:http://supermmx.org/linux/mac/(感谢superMMX大侠的工作)
下载libxmms_mac-0.2.0.tar.gz mac-3.99-linux.tar.gz
解压编译:
# tar xzvf libxmms_mac-0.2.0.tar.gz
# tar xzvf mac-3.99-linux.tar.gz
# cd mac-3.99
# ./configure
发现少nasm,在FC2-i386-disc2.iso里,装上
# rpm -ivh nasm-0.98.38-2.i386.rpm
# make
# sudo make install
# cd plugin
# ./configure
发现无法找到xmms-config,在FC2-i386-disc4.iso里找到xmms-devel装上
# rpm -ivh xmms-devel-1.2.10-2.p.i386.rpm
# make
# sudo make install
现在可以享受ape的美妙音质了^_^

35、安装rar for linux 3.30:
官方下载页面:http://www.win-rar.com/index.php?aid=download&lang=eng
华军软件园:http://www.onlinedown.net/soft/3.htm
解压安装:
# tar xzvf rarlinux-3.3.0.tar.gz
# cd rar/
# make
以后就可以用# rar 命令压缩/解压缩rar文件了

36、安装apt软件仓库(参考Fedora Wiki)
Fedora core 2 HowTo页面:http://www.fedora.us/wiki/FedoraHOWTO
如何使用apt-get:http://www.fedora.us/wiki/FedoraSources
Fedora 镜像列表:http://www.fedora.us/wiki/FedoraMirrorList

apt-0.5.15cnc6-0.fdr.11.2.i386.rpm下载地址:
http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/apt-0.5.15cnc6-0.fdr.11.2.i386.rpm
图形前端synaptic,下载页面:
http://www.nongnu.org/synaptic/download.html
还没有fr2的synaptic,可以下源码编译,synaptic-0.48.2.tar.gz:
http://savannah.nongnu.org/download/synaptic/synaptic-0.48.2.tar.gz
运行apt-get:
# apt-get
源码:--------------------------------------------------------------------------------This appears to be the first time you are running APT.
Before you can use apt for software installation you need to
select some software repositories first.

Choose the repositories you want to use from the list below:
1 Fedora Core
2 Fedora Extras
3 Macromedia

When finished choose 'c' to continue or choose 'q'
to quit repository selector without changing anything.
Enter your selection(s) in a comma-separated list:
1,2,3
(第一次运行,询问用哪个仓库,都选吧;输入数字,逗号分隔;输完了,按“c”键,“q”退出)

Choose the geographically nearest mirror(s)for use with:

Fedora Core
1 Indiana University, Bloomington Indiana, USA
2 University of Southern California, USA
3 Kernel.org, San Francisco California, USA
4 University Aachen, Germany
5 Technical University Chemnitz, Germany
6 University of Applied Sciences Esslingen, Germany
7 London, Great Britain
8 Multikabel N.V. Alkmaar, The Netherlands
9 Romanian Education Network, Iasi, Romania
10 SdV Plurim茅dia, Strasbourg, France
11 Charles University, Prague, Czech Republic
12 SunSite RedIRIS, Madrid, Spain
13 University of Hawaii Honolulu, Hawaii, USA

When finished choose 'c' to continue or choose 'q'
to quit repository selector without changing anything.
Enter your selection(s) in a comma-separated list:
1,2,3,4,5,6,7,8,9,10,11,12,13
(选择最近的镜像,这个就看着来吧;同上,也是逗号分隔;“c”继续)

Choose the geographically nearest mirror(s)for use with:

Fedora Extras
1 Indiana University, Bloomington Indiana, USA
2 University of Southern California, USA
3 Kernel.org, San Francisco California, USA
4 University Aachen, Germany
5 Technical University Chemnitz, Germany
6 University of Applied Sciences Esslingen, Germany
7 London, Great Britain
8 Multikabel N.V. Alkmaar, The Netherlands
9 Romanian Education Network, Iasi, Romania
10 SdV Plurim茅dia, Strasbourg, France
11 Charles University, Prague, Czech Republic
12 SunSite RedIRIS, Madrid, Spain
13 University of Hawaii Honolulu, Hawaii, USA

When finished choose 'c' to continue or choose 'q'
to quit repository selector without changing anything.
Enter your selection(s) in a comma-separated list:
1,2,3,4,5,6,7,8,9,10,11,12,13
(选择附加软件仓库,方法同上;都选了?太贪了测测速度嘛,以后用的时候可别都选,可以修改/etc/apt/sources.list.d/mirror-select.list
来实现或者apt-get mirror-select命令)

Choose the geographically nearest mirror(s)for use with:

Macromedia
1 USA West, University of California at Santa Cruz
2 USA East, Rutgers University, New Jersey
3 Europe, Centro de Comunicaciones CSIC/RedIRIS, Madrid Spain
4 Pacific, University of Hawaii

When finished choose 'c' to continue or choose 'q'
to quit repository selector without changing anything.
Enter your selection(s) in a comma-separated list:
1,2,3,4
(Macromedia 的仓库,同上)

Writing source list entries...
NOTE: /etc/apt/sources.list moved to /etc/apt/sources.list.backup !!
Done.
Get:1 http://ruslug.rutgers.edu fedora/2 release [505B]
Get:2 http://download.fedora.us fedora/2/i386 release [2145B]
Get:3 http://mirrors.usc.edu fedora/2/i386 release [2137B]
Get:4 http://sluglug.ucsc.edu fedora/2 release [505B]
Get:5 http://ftp-stud.fht-esslingen.de fedora/2/i386 release [2145B]
Get:6 http://sunsite.informatik.rwth-aachen.de fedora/2/i386 release [2137B]
Get:7 http://macromedia.rediris.es fedora/2 release [505B]--------------------------------------------------------------------------------

……下面就开始下载列表了,速度看情况而定,反正我这里不很快 :-(


导入GPG KEY:
# cd /etc/apt/gpg/
(导入来自redhat的fedora gpg key)
# mount /mnt/WinE/fc2/FC2-i386-disc1.iso /mnt/cdrom/ -o loop
# rpm --import /mnt/cdrom/RPM-GPG-KEY
# rpm --import /mnt/cdrom/RPM-GPG-KEY-beta
# rpm --import /mnt/cdrom/RPM-GPG-KEY-fedora
# rpm --import /mnt/cdrom/RPM-GPG-KEY-fedora-rawhide
# rpm --import /mnt/cdrom/RPM-GPG-KEY-fedora-test
# rpm --import /mnt/cdrom/RPM-GPG-KEY-rawhide
当然也可以从fedora.us网站导入:
# wget http://www.fedora.us/FEDORA-GPG-KEY
# rpm --import FEDORA-GPG-KEY
导入其他网站的gpg key,如rpm.livna.org
# wget http://rpm.livna.org/RPM-LIVNA-GPG-KEY
# rpm --import RPM-LIVNA-GPG-KEY
apt-get安装synaptic:
# apt-get install synaptic


37、在Fedora2安装Helix Player 1.0 and RealPlayer 10
软件可以到这里下载:
https://player.helixcommunity.org/2004/downloads/


1、这两软件增加支持MP3, Flash, MPEG-4等文件,至于优缺点就自己去体验。

2、安装首先保证安装Mozilla 1.4 和gcc 3.2 或更高版本。

3、使用.bin文件安装方法:(以Helix Player 1.0为例)
下载:
https://helixcommunity.org/download.php/405/hxplay-0.3.0.123-linux-2.2-libc6-gcc32-i586.bin
#chmod a+x hxplay-0.3.0.123-linux-2.2-libc6-gcc32-i586.bin
#./hxplay-0.3.0.123-linux-2.2-libc6-gcc32-i586.bin
接着按照提示填写,安装完成后,nphelix.so and nphelix.xpt文件会复制到mozilla plugins文件夹里,如果是 root安装在/usr/lib/mozilla/plugins,其他用户在~/.mozilla/plugins。运行mozilla,就可以加载插件Helix DNA Plugin。
运行
~/.hxplayerrc

4、使用.RPM文件安装方法:(以RealPlayer 10为例)
下载:
https://helixcommunity.org/download.php/392/RealPlayer-0.3.0.120-gcc32-20040517.i586.rpm
用root登陆
#rpm -i RealPlayer-0.3.0.120-20040517-platform-arch.rpm
运行
#~/.realplayerrc

38、如何下载下载DVD iso
wget、prozilla这样的软件目前还无法正确下载>4G的文件,但lftp将DVD iso完整。

39、在dia内用fcitx输入中文的解决方法
首先,打开用户主目录下.fcitx目录内的config文件,修改“打开/关闭输入法”这一行,改成下面的样子:
打开/关闭输入法=CTRL_SPACE SHIFT_SPACE
修改“全半角”这一行,改成下面的样子:
全半角=CTRL_SHIFT_SPACE
也就是说,把全半角的热键改为CTRL_SHIFT_SPACE,把打开/关闭输入法的热键加一个SHIFT_SPACE。
然后重启fcitx。现在就可以同时用Control_Space键和Shift_Space键打开输入法了。Dia屏蔽了Ctrl键,那么你就可以用Shift+Space来打开输入法。



40、在linux系统中从硬盘安装FC2 -- lilo篇
# mount -o loop /where/is/your/fc2cd1.iso /mnt/cdrom
# cp -r /mnt/cdrom/isolinux /boot/

参照lilo.conf中原linux段加入一新段,改以下三行为:
image=/boot/isolinux/vmlinuz
label=FC2install
initrd=/boot/isolinux/initrd.img

# lilo
# reboot
在出现的lilo引导画面上选"FC2install"开始安装.

注:
你的FC2 iso不能放在要安装的分区上,也不能放在nfs分区上

41、解决FC2下 用CMI8738之类外置PCI声卡没有声音
FC2下的PCI外置声卡(比如CMI8738声卡)没用,虽然检测声卡的时候提示找到声卡,但是就是没声音,试一下下面的方法:
打开“K菜单”---“控制中心”---“声音系统”---“硬件”,选择“全双工”就行了!

42、fc2的 samba 使用
起动lisa服务,在lan浏览中可以正常访问,且直接支持中文文件名!方法:Konqueror在地址栏中输入: smb://PCName 访问PCName机器,smb:/ 访问工作组

43、装了英文FC2英文,如何中文输入
中止了iiim服务后,卸载了minichinput,再装了fcitx包,可以输入中文,另外在i18n文件中加LC_TYPE=zh.CN.GBK。

44、Konqueror地址栏中输入文字后回车不进行搜索的设置问题
习惯了在Konqueror地址栏中输入文字后回车调用google进行搜索。
安装好fc2后发现这样作不行,提示找不到网址。检查Konqueror的设置,发现默认的搜索为“无”,重新设置为google后好了。

45、用了51美化包以后什么都好,就是xmms不能正确识别字体,java的控制台也不能够显示中文。
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/simsun" # Add this line.
FontPath "unix/:7100"
或把xmms的字体加上fixed就好了
-simsun-simsun-medium-r-normal-*-*-100-*-*-c-*-gbk-0,fix

46、原来那里是FC2,重装了XP后引导不了
用fc2的rescue引导然后
grub
然后
install (hd0,1)/boot/grub/stage1 d (hd0) (hd0,1)/boot/grub/stage2 p (hd0,1)/boot/grub/menu.list

****(hd0,1)是你linux所在分区。可以(hd0, 然后按tab,会列出所有分区,看看你的是那个。

回头进linux 在menu.list 中加上
title windows
rootnoverify (hd0,0)
chainloader +1

47、Fedora core 2 重启时硬盘关闭问题!!
编译内核,把ACPI选项去掉即可...........(默认是打钩的)

48、fc2 kde启动到初始化外围设备后,声卡就开始有噪音
运行kmix,然后close iec958 input output radio button!

49、apt升级fc2,出现下面错误
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

重建rpm db
rpm --rebuilddb

50、fedora 2下没法正常浏览irc中的中文 (xchat连上dev.linuxsir.org后,可以看到中文,但是进入聊天室后,别人的说话都是乱码,请问应该在哪里设置才能解决此问题?)

修改/etc/sysconfig/i18n文件:
LANG="zh_CN.gbk"
SUPPORTED="zh_CH.gbk:zh_HK.UTF-8:zh_HK:zh:zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
把LANG的UTF-8改成gbk,在SUPPORTED中增加一个zh_CH.gbk,退出,重新登录就正常了。
51、安装前需要注意的问题:
安装需求:
cpu──文本安装 p200或更好 图形安装 PII400或更好
硬盘──最小安装 620M 服务器1.1G 桌面2.3G 工作站3G 完全安装6.9G
内存──文本安装最小64M 图形安装最小 192M 推荐256M

FC2 主要包括:
2.6 kernel GNOME 2.6 KDE 3.2.2 Gimp2.0同时包括 Xfce 4

主要变动:
XFree86被Xorg代替──
X Server Binary
XFree86 X11: XFree86
X.org X11: Xorg
X Server Configuration File
XFree86 X11: /etc/X11/XF86Config
X.org X11: /etc/X11/xorg.conf
X Server Log File
XFree86 X11: /var/log/XFree86.$DISPLAY.log
X.org X11: /var/log/Xorg.$DISPLAY.log
IM被IIIMF代替
过去的配置命令redhat-config-*都被system-config-*取代
新的SG_IO,使用cdrecord烧录直接用设备名 cdrecord --device=<device> <iso-file>

添加的包──如alsa-lib/utils,k3b,gcc3.4,tvtimer,system-config-×,xfce4等
移除的包──如XFree86,redhat-config等
标记为过时的包──如xcin, miniChinput等

安装完成应该重新编译一下内核,因为
系统安装默认支持大内存 4GB
kernel log 默认17k
等很多桌面用户不实用的设置,
而且默认的内核安装nvidia的驱动有问题

52、硬盘安装时非常顺利,也可以使用鼠标,可是装完重启后居然不能使用usb鼠标
modprobe uhci-hcd

53、FC2升级后用升级的2.6.5内核, 鼠标滚轮不能用了.
modprobe uhci-hcd 就行了. 加入modprobe.conf也行.

54、Fedora2中OpenOffice菜单中都没字
在工具菜单中选择最下面的选项,然后在openoffice.org选项中的最后一项辅助选项中将第二项采用使用者界面的系统字体取消就可以正常显示汉字了。

55、fedora 2如何调节分辨率
system-config-display

56、安装FC2以后RPM没有关联程序?
打右键--打开方式---其它应用程序里面就有,设为默认就可以了。

57、fc2中安装flash插件
# apt-get install flash-plugin

58、在gnome桌面中,nautilus文件夹窗口没有工具栏,没有地址栏。
使用gconf-editor修改nautilus设置。

$gconf-editor

在apps -> nautilus -> preferences 中的 always_use_browser打勾就可以了。

59、有些网站浏览出现乱码
修改浏览器里面的字体的设置
Fonts for >> Simplified Chinese
Proportional >>Serif
其余的都是 System Default


60、安装了fcitx-2.0.2-4.noarch.rpm和美化包,gnome难以启动或者崩溃的问题
在这里简单说一下原因和解决办法
fcitx-2.0.2-4.noarch.rpm和站上提供的一个美化包都会往/etc/profile.d内复制一个脚本
input.sh,这个脚本在每次登陆系统时都会运行,并往用户目录下的.gnome2文件夹写入session-manual文件,并且每次登陆gnome的时候,这个文件都会起作用,但它的内容却有错,导致gnome登陆困难,有时会导致崩溃。

解决办法:
1.删除这些文件
$HOME/.gnome2/session-manual
/etc/profile.d/input.sh
$HOME/.kde/Autostart/fcitx

2.删除曾经加入的export XMODIFIERS="@im=fcitx"; export XIM=fcitx ;export XIM_PROGRAM=fcitx等类似的条目,然后进行第3部

3.改/etc/X11/xinit/xinitrc.d/xinput
这个文件是redhat、fedora专门用来调用输入法的脚本,已经作了XIM的定义,把里面的chinput全部替换成fcitx就可以了,以后fcitx可以自动运行。记得备份

61、关于FC2中浏览网络邻居的设置方法
FC2里把网络邻居的功能(其实在FC1也有的)更强化,更直观了, 设置一下就可以访问整个LAN里的COMPUTER了
在开始设置前你要确保LISA这个服务是打开的!
第一步:在control center 选择 Internet&network 中的local Netword Browsing 选项
第二步:windows share 选项可以不添任何东西,但在MS WINDOWS ENCONDING 一定要选择好,我使用的是:gb2312
第三步:设置LISA DAEMON 在这个选项中你看到左下角有一个:Guided LISA Setup 选项,按照提示的步骤添吧,IP设置成你自己的内部IP就可以了,保存,注销,登陆。
第四步、进入你的HOME,是不是有一个LAN BROWSER的选项,点击一下看看有什么发现?当然这里看到的都是IP哟

62、能在FC2里用的zhcon是什么版本
使用0.2.1,在RH9.0下可以正常编译,但到了FC2就出现编译错误了。现在使用的是0.2.3版本,一切正常。

63、FEDRO中到那里去手动设置IP呢?
#netconfig

64、vmware共享文件夹设置方法
首先要安装vmware tools,因为共享文件夹是vmware tools支持的一项功能
vmware tools在guest操作系统是linux的时候只能在文字模式下安装,不能在x下安装
安装过程我就不说了,http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html#1008207 这里有详细的安装方法

其次,在vmware菜单的虚拟机设定中,添加一个共享目录,可以指定你的host系统下
的任何目录,并记住之后还要enable

最后就能在Fedora中/mnt/hgfs下面看到这个目录啦


65、Flash插件如何安装
Flash 6.0
http://sluglug.ucsc.edu/macromedia/apt/fedora/2/RPMS.macromedia/flash-plugin-6.0.81-1.i386.rpm
直接就安装
http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz
里面两个文件复制到Mozilla的插件文件夹下就可以

66、Fedora 2 里VMware4.5.1安装了Guest OS win2000上网方法
参考这个帖子来找到了答案:
http://www.linuxsir.org/bbs/showthread.php?s=&threadid=62649&highlight=vmware

从这里我找到vmware的knowledgebase:
http://www.vmware.com/support/kb/enduser/std_alp.php?p_sid=JzxfJnch&p_lva=977&p_li=&p_page=1&p_prod_lvl1=31&p_prod_lvl2=33&p_cat_lvl1=8&p_cat_lvl2=10&p_search_text=networking&p_new_search=1&p_search_type=7&p_sort_by=dflt

从里面看到对于guest OS是windows2000的话,联网会受MediaSense的影响,所以应该修改注册表,DisableDHCPMediaSense,修改方法推荐看微软的介绍:
http://support.microsoft.com/default.aspx?scid=kb;en-us;q239924

具体可以这样来做:开始-->运行:regedt32 -->找到这个键:HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Tcpip/Parameters -->增加如下的值:
Value Name(值名): DisableDHCPMediaSense
Data Type(数据类型): REG_DWORD
Value Data Range(值): 1

好了,重启,就可以上网了。如果不行,说明这个帖子不适合你:)
补充一点:
我在vmware里设置:
Use virtual device:vlance
Network connection:custom specific virtual network :选择/dev/vmnet8


67、使用GF FX5200等显卡在FC2下无需重编译内核也能加速!
使用geforce mmx440、 fx5200显卡的朋友,安装nvdia5336驱动后,修改xorg.conf文件,除原先的修改,再在device部分加上一行:
Option "IgnoreDisplayDevices" "DFP, TV"
x就可以正常启动了,好了,开始3D游戏吧。

68、如何安装ATI驱动
下载最新驱动:
http://www.ati.com/support/products/workstation/fireglx2/linux/fireglx2linuxdrivers.html?type=linux&prodType=firegl&prod=fireLinBedriver&submit.x=12&submit.y=2
安装:
1) tar -xjvf build_mod-3.9.0-regparm.tar.bz2
2) Get into build_mod-3.9.0-regparm
3) make.sh
4) cp 2.6.x/fglrx.ko /lib/modules/{kernel_version}/kernel/drivers/char/drm
(if the drm directory does not exist create it)
5) depmod -a
更多见:
http://rage3d.com/board/showthread.php?s=c1c94eab0dce937d772ee177efeab353&threadid=33760878

69、 安装FC2后不能启动WINXP的解决方法(先备份分区表)
由于FC2 的一个BUG(应该说是LINUX 2.6 内核改变了读硬盘参数方法,导致了和WINDOWS的不兼容,据说 Mandrake 10.0 COMMUNITY 也有此问题) ,在安装过程中硬盘分区表中的硬盘参数(hard disk geometry)可能会被改变, 导致安装完成后Windows无法启动.

今天在fedora-devel-list上贴出了关于这个问题的解决办法.

1. 预防办法: 在安装时手动输入硬盘参数, 避免安装程序改变它.
a) 使用Fedora Core 2 Rescue CD, 启动计算机. 不需要启动网络和mount硬盘
b) 执行fdisk 命令, 列出硬盘参数.
fdisk -l /dev/hda
c)记下fdisk输出开始部分的硬盘参数 (Cylinders, Heads, and Sectors).
d)使用Fedora Core 2 installation CD,重启动计算机
e) 在出现boot菜单提示的时候, 输入:
linux hda=14593,255,63
用刚记下的数代替14593,255,63 .
f)完成安装.

2) 恢复办法:
如果安装FC2后, 无法启动WINDOWS, 屏幕上通常显示:
Rootnoverify(hd0,0)
Chainloader +1

a) 使用"single-user mode"启动FC2
b) 执行sfdisk 命令
sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda

更多细节,参考
http://lwn.net/Articles/86835/

70、FC2 看电视的方法

1- 在终端机下
# lspic
检查是否已安装电视咭驱动

# modprobe SAA7134
启动电视咭(我的咭是saa7134)

在选单中启动 tvtime

2- 如要预先搜台,在终端机下达指令
# tvtime-scanner
再进入tvtime 以键盘上下方向键或mouse滑轮操控转台。

整体而言,tvtime的画面效果很好,
即使不作调较,亦比视窗下的 dscaler 1.9 佳,
但在简易言,则 dscaler占优。

71、直观安装字体方法
到ftp://61.130.8.206:8847 uname:wxz;passwd:linuxfans.org 下载simsun_with_bdf_new.zip(simsun的粗体及粗斜体)后解压缩,打开kde控制中心,选择系统管理-/选择系统管理- >字体安装程序->安装新字体,选中刚才下载的那几个字体安装好之后在各种选择字体的地方都用上simsun就搞定了。

72、Diskless Fedora Core 2 Install (2.6.5 of kernel)]
无盘安装Fedora Core 2 (内核2.6.5)

Posted by mchirico on Sunday, May 30, 2004 - 04:22
由 契里科 于 星期日,五月30日,2004 - 04:22 发表

The Fedora core 2 runs under the 2.6.5 kernel. Hopefully the following
instructions will help.
Fedora Core 2 在2.6.5内核上运行,希望以下的指导能有帮助。

Diskless Fedora Install
Mike Chirico
Last Updated: Sun May 30 08:57:21 EDT 2004
Fedora 无盘安装
麦克 契里科
最后更新:Sun 五月 30 日 08:57:21 美国东部时间 2004

The latest version of this document can be found at:
http://osdn.dl.sourceforge.net/sourceforge/souptonuts/README_fedora.txt
此文档最新版本在:
http://osdn.dl.sourceforge.net/sourceforge/souptonuts/README_fedora.txt


UPGRADING TO FEDORA (DISKLESS INSTALL)
升级到Fedora (无盘安装)

It's possible to completely install Fedora by downloading the *.iso image, mount
it to a loopback device, copy the Linux kernel images to /boot, modify grub, reboot, then
have it find the *.iso image for the rest of the install.
可以这样完全安装 Fedora:下载*.iso 映象,加载到回送(loopback)设备,复制linux kernel映象到 /boot,修改grub,重启,然后使机器找到*.iso映象,进行安装。

STEP 1:
第一步:

Download the complete DVD package. It's 4 GB:
FC2-i386-DVD.iso
from: http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/iso/
从以下地址下载FC2的完整DVD映象FC2-i386-DVD.iso,大小4GB:
http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/iso/

STEP 2:
第二步:

Once downloaded check the md5sum
md5sum FC2-i386-DVD.iso
下载完毕,检验映象的md5sum:
md5sum FC2-i386-DVD.iso

STEP 3:
第三步:

Create a directory off of root for mounting the iso image.
mkdir /iso0
从根目录创建一个目录用于加载iso映象
mkdir /iso0

STEP 4:
第四步:

The DVD image file can be mounted with the following command:
mount -o loop -t iso9660 /FC2-i386-DVD.iso /iso0
使用如下命令加载DVD映象:
mount -o loop -t iso9660 /FC2-i386-DVD.iso /iso0

STEP 5:
第五步:

Copy /iso0/images/pxeboot to the /boot directory
cp -r /iso0/images/pxeboot /boot/.
复制/iso0/images/pxeboot 到 /boot目录
cp -r /iso0/images/pexboot /boot/

STEP 6:
第六步:

Modify Grub to include the following:
修改Grub(grub。conf),添加如下内容:

title Fedora (INIT)
root (hd0,2)
kernel /pxeboot/vmlinuz
initrd /pxeboot/initrd.img


Special note: Look at the other grub entries "root (hd0,1)", perhaps
it's listed as "root (hd3,0)" or (hd2,0). This must be the same, so
change hd0 above to match the other entries.
特别注意:查看其它的grub条目“root (hd0,1)”,也许列出的是“root (hd3,0)" 或者" (hd2,0)。添加的条目必须与其一致,如果需要,修改上面的hd0与其它条目保持一致。

STEP 7:
第七步:

Make note of where FC2-i386-DVD.iso resides by issuing the "df" command.
$ df .
You'll need this location after reboot. It's something like /dev/hda1 or /dev/hdb2
使用“df”命令记录FC2-i386-DVD.iso的位置
$ df
重启系统后,你会需要这个位置,这个位置的样子是 /dev/hda1 或者 /dev/hda2等。

STEP 8:
第八步:

Reboot. When asked for the location of the "iso" file select FILE on the Fedora menu.
put in the /dev/hda1 location above. Note if it's in a subdirectory off of this
filesystem there is a text box to enter that as well.
重启。问你要iso文件位置时,在Fedora菜单选择“文件”,
选择上面如/dev/hda1的位置。注意如果映象在子目录里,
在下面的文本框里填入子目录的名称。

The install should proceed on it's own from here.
至此,安装可以自动进行了。

OTHER OPTIONS:
其它的选项:

Perhaps you're running Redhat 8.0 or Redhat 9 and only want to upgrade to the 2.6
kernel from source.
也许你在运行Redhat 8.0 或者Redhat 9,仅希望从源码升级到2.6的内核。

Reference (This also includes information on creating your own 2.6 kernel modules):
参看(这里也包括创建你自己的2.6内核模块信息):

http://osdn.dl.sourceforge.net/sourceforge/souptonuts/README_26.txt

REFERENCES:
参考:
http://fedora.redhat.com/download/

--------------------------------------------------------------------------------

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值