+ -
当前位置:首页 → 问答吧 → 从fc3的Release Note整理的一些要点,大家参考一下

从fc3的Release Note整理的一些要点,大家参考一下

时间:2004-11-08

来源:互联网

中文部分是我自己写的简要介绍,供大家简要参考 后面的英文是原文。如果涉及到具体的了,可以仔细看原文。有的地方有网址,大家可以去上面找更详尽的资料。

作者: hutigers   发布时间: 2004-11-08

1 使firefox和mozilla使用pango
方法:设定环境变量MOZ_ENABLE_PANGO=1
我觉得在firefox/mozilla的地址栏里输入about:config应该也能找到。
引用:
Firefox and Mozilla can be enabled with pango rendering support, which

enables many text layout features, including the rendering of CTL

(Complex Text Layout) such as Indic languages. To enable this, set the

following environment variable when running Firefox or Mozilla:

作者: hutigers   发布时间: 2004-11-08

2 在fc3中使用vmware workstation 4.5.2
方法:1 从
http://platan.vc.cvut.cz/ftp/pub/vmware/ 升级你的kernel module(anyany的补丁,非官方支持)
2 配置vmware
PHP 代码:
vmware-config.pl 
3 使之适应udev
PHP 代码:
cp -rp /dev/vm* /etc/udev/devices/ 
引用:
Note
VMware WS 4.5.2 is known to work on Fedora Core 3 after the following

workarounds are used:

You must upgrade the kernel modules and configuration using the

unofficial vmware-any-any-* toolkit available from:

http://platan.vc.cvut.cz/ftp/pub/vmware/

After vmware-config.pl is run and the VMware modules are loaded, the

following command creates the /sys/class/* nodes needed for udev:

cp -rp /dev/vm* /etc/udev/devices/

作者: hutigers   发布时间: 2004-11-08

3 下载Fedora Core 3 DVD ISO的注意
多数的下载工具不支持2G以上的文件下载,如wget;请使用支持2G以上文件下载的工具,如curl和ncftpget
引用:
Note
If you intend to download the Fedora Core 3 DVD ISO image, keep in mind

that not all file downloading tools can accommodate files larger than

2GB in size. For example, wget will exit with a File size limit

exceeded error.

The curl and ncftpget file downloading tools do not have this

limitation, and can successfully download files larger than 2GB.

作者: hutigers   发布时间: 2004-11-08

4 openssh更加严格
默认需要设置~/.ssh/config,并且要求权限为600才行
另外如果需要X的支持,需要加-X和-Y参数
引用:
openssh更加严格
openssh
Fedora Core 3 contains OpenSSH 3.9, which includes strict permission

and ownership checks for the ~/.ssh/config file. These checks mean that

ssh will exit if this file does not have appropriate ownership and

permissions.

Therefore, make sure that ~/.ssh/config is owned by the owner of ~/,

and that its permissions are set to mode 600.

In addition, OpenSSH is no longer configured to request X11 forwarding

by default when connecting to servers. To enable X11 forwarding, the -X

or -Y option must be specified, or the ForwardX11 option must be

enabled in the ~/.ssh/config file.

The behavior of ssh clients that are invoked with the -X flag has

changed. In OpenSSH 3.8 and later, X11 forwarding is performed in a way

that applications run as untrusted clients by default. Previously, X11

forwarding was performed so that applications always ran as trusted

clients. Some applications may not function properly when run as

untrusted clients. To forward X11 so that applications are run as

trusted clients, invoke ssh with the -Y flag instead of the -X flag, or

set ForwardX11Trusted in the ~/.ssh/config file.

作者: hutigers   发布时间: 2004-11-08

5 hotplug的新变化
文件位置改变由/usr/lib/hotplug/firmware到/lib/firmware
引用:
hotplug
The location where hotplug expects firmware to be loaded into (for

example, firmware for Cardbus cards) has changed from

/usr/lib/hotplug/firmware to /lib/firmware. Existing firmware files

must be moved into the new directory.

作者: hutigers   发布时间: 2004-11-08

6 内核源码的安装方法
为了节省空间(默认不安装内核源码),如需要安装,请执行下列步骤
步骤:
1 从网上,或者如果你有srpm光盘的话,获得kernel-<version>.src.rpm
PHP 代码:
up2date --get-source kernel 
2 使用默认方法安装内核的rpm文件。应该是这样吧
PHP 代码:
rpm -ivh 
安装之后到/usr/src/redhat/里找
3
PHP 代码:
cd /usr/src/redhat/SPECS/
rpmbuild -bp --target=<arch> kernel.spec 
<arch>部分写i386吧
之后到/usr/src/redhat/BUILD/找生成的rpm文件
4 到默认的位置找到默认的config(如i686 SMP的在/configs/kernel-<version>-i686-smp.config),把这个文件拷贝到源码的目录下,并改名为.config
5 make oldconfig,之后编译并安装内核

引用:
In order to eliminate the redundancy inherent in providing a separate

package for the kernel source code when that source code already exists

in the kernel's .src.rpm file, Fedora Core 3 no longer includes the

kernel-source package. Users that require access to the kernel sources

can find them in the kernel .src.rpm file. To create an exploded source

tree from this file, perform the following steps (note that <version>

refers to the version specification for your currently-running kernel):

Obtain the kernel-<version>.src.rpm file from one of the following

sources:

The SRPMS directory on the appropriate "SRPMS" CD iso image

The FTP site where you got the kernel package

By running the following command:

up2date --get-source kernel

Install kernel-<version>.src.rpm (given the default RPM configuration,

the files this package contains will be written to /usr/src/redhat/)

Change directory to /usr/src/redhat/SPECS/, and issue the following

command:

rpmbuild -bp --target=<arch> kernel.spec

(Where <arch> is the desired target architecture.)

On a default RPM configuration, the kernel tree will be located in

/usr/src/redhat/BUILD/.

In resulting tree, the configurations for the specific kernels shipped

in Fedora Core 3 are in the /configs/ directory. For example, the i686

SMP configuration file is named /configs/kernel-<version>-i686-

smp.config. Issue the following command to place the desired

configuration file in the proper place for building:

cp <desired-file> ./.config

Issue the following command:

make oldconfig

You can then proceed as usual.

Note
An exploded source tree is not required to build kernel modules against

the currently in-use kernel.

For example, to build the foo.ko module, create the following file

(named Makefile) in the directory containing the foo.c file:


obj-m := foo.o

KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules


Issue the make command to build the foo.ko module.

作者: hutigers   发布时间: 2004-11-08

7 使用raid的注意
你的/dev/sdx现在可能已经是/dev/hdx了
引用:
I2O SCSI RAID adapters from manufacturers such as Adaptec now use the

i2o_block driver, rather than the dpt_i2o driver used by Fedora Core 1

and earlier distributions.

Be aware that block devices used by the i2o_block driver are

/dev/i2o/hd* rather than the /dev/sd* SCSI devices. This may be

problematic for those upgrading from older distributions that used the

dpt_i2o driver. Therefore, after an upgrade to Fedora Core 3, you may

need to boot using a rescue disk and edit your /etc/fstab file to use

the new devices.

For more information about the new I2O device layer and Fedora Core-

specific notes, visit the I2O homepage:

http://i2o.shadowconnect.com/

作者: hutigers   发布时间: 2004-11-08

8 输入法
gnome用户可以使用GIMLET来管理输入法(可以加载到面板上)
调整自带输入法
iiimf-gnome-im-switcher
引用:
iiimf
The default Input Method (IM) for Chinese (Simplified and Traditional), Japanese, and Korean has been changed to IIIMF — the Internet/Intranet Input Method Framework. IIIMF is supported as a native GTK2 IM module, and also through XIM using the httx client. IIIMF supports the use of multiple Language Engines (LEs) at the same time; using the GNOME Input Method Language Engine Tool (GIMLET — an applet) it is possible to switch between LEs of different languages inside GTK2 applications.

IIIMF currently defaults to using Ctrl-Space or Shift-Space for toggling the input method on and off (Emacs users can use Ctrl-@ instead of Ctrl-Space to set the mark.)

Depending on your selection at the language support screen during installation, one or more IIIMF language engines may be installed. The IIIMF server package (iiimf-server) will also be installed if a language engine has been selected. The language to language engine (LE) package mappings are as follows:

ja_JP — iiimf-le-canna

zh_CN — iiimf-le-chinput

zh_TW — iiimf-le-xcin

ko_KR — iiimf-le-hangul

{bn,gu,pa,ta,hi}_IN — iiimf-le-unit

Accordingly, input via IIIMF will be enabled if you have chosen one of the following as your default locale:

ja_JP

zh_CN

zh_TW

ko_KR

{bn,gu,pa,ta,hi}_IN

To aid your use of IIIMF, if you have selected one of the above locales and you are using the GNOME Desktop, when you first login the GIMLET utility (part of the iiimf-gnome-im-switcher package) will automatically be added to your panel.

GIMLET is a utility for switching between the different LEs that are installed on your system. Using a different language engine allows you to enter text in different languages. Alternatively you may add GIMLET manually to your panel by right clicking on the panel and selecting:

Add to Panel -> GIMLET

Should you wish to switch between IIIMF or the legacy input method framework XIM, you can use the system-switch-im application. After changing the input method framework your changes will be reflected when you next start the X Window System.

作者: hutigers   发布时间: 2004-11-08

9 刻录,k3b
k3b安装向导已取消,因为fc3不需要它(牛
引用:
k3b
Past users of the CD/DVD burning application k3b may notice that the

program k3bsetup is missing. This is because k3bsetup is not necessary

under Fedora Core 3.

作者: hutigers   发布时间: 2004-11-08

10 apache的locale变化
httpd默认使用C作为locale,而不是象以前一样是用root的locale作为locale,可以通过修改/etc/sysconfig/httpd里的环境变量HTTPD_LANG来自定义。
引用:
httpd
By default, the httpd daemon is now started using the C locale, rather

than using the configured system locale setting. This behavior can be

changed by setting the HTTPD_LANG variable in the /etc/sysconfig/httpd

file.

作者: hutigers   发布时间: 2004-11-08

11 php相关包名称改变
引用:
php
The gd, mbstring, and ncurses extensions have been moved to the php-gd,

php-mbstring, and php-ncurses packages, respectively. Note that you

will need to install these packages manually (if required) when

upgrading from an earlier release

作者: hutigers   发布时间: 2004-11-08

RPM 的变化也很重要,具Release note 介绍,在 FC3 里安装 rpm 时若遇到文件冲突不再中断,而是覆盖旧文件直接安装。
不过我觉得还是原来的规则比较好,能避免不同的 rpm 相互交叉,体现了 rpm 系统的严谨。待我下载后看看能不能把规则调回去。。

作者: hupeng923   发布时间: 2004-11-08

12 samba相关
默认情况,自带的防火墙禁止samba的端口。
解决方法:
1 配置samba为WINS server
2 关闭本机自带防火墙(警告:关闭防火墙会增加危险)
引用:
amba
Browsing of Windows shares (also known as SMB browsing) fails on Fedora

Core 3 systems that have the standard firewall configured. This is most

easily noticed in the failure of Nautilus to display shares. The

failure is due to the firewall disrupting the broadcast mode of SMB

browsing, which is Samba's default setting. There are two workarounds:

Configure a WINS server on the network, and set the "wins server"

option in smb.conf to the address of the WINS server.

Disable the firewall

Warning
Depending on your system and network configurations, disabling the

firewall can greatly increase the chance of your system being attacked

and compromised. Make sure you fully understand the risks before

undertaking this step.

For additional information, refer to the following bug report:

https://bugzilla.redhat.com/bugzilla....cgi?id=133478

作者: hutigers   发布时间: 2004-11-08

非常感谢~
太好了

作者: Feraligatr   发布时间: 2004-11-08

13 手工添加字体的步骤
mkdir /usr/share/fonts/local/
cp 字体到/usr/share/fonts/local/
更新字体配置
ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale
mkfontdir /usr/share/fonts/local/
添加字体路径到xorg.conf
chkfontpath --add /usr/share/fonts/local/
fc-cache -fv
引用:
There has been some confusion regarding font-related issues under the X

Window System in recent versions of Fedora Core (and versions of Red

Hat Linux before it.) At the present time, there are two font

subsystems, each with different characteristics:

- The original (15+ year old) subsystem is referred to as the "core X

font subsystem". Fonts rendered by this subsystem are not anti-aliased,

are handled by the X server, and have names like:

-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1

The newer font subsystem is known as "fontconfig", and allows

applications direct access to the font files. Fontconfig is often used

along with the "Xft" library, which allows applications to render

fontconfig fonts to the screen with antialiasing. Fontconfig uses more

human-friendly names like:

Luxi Sans-10

Over time, fontconfig/Xft will replace the core X font subsystem. At

the present time, applications using the Qt 3 or GTK 2 toolkits (which

would include KDE and GNOME applications) use the fontconfig and Xft

font subsystem; most everything else uses the core X fonts.

In the future, Fedora Core may support only fontconfig/Xft in place of

the XFS font server as the default local font access method.

NOTE: An exception to the font subsystem usage outlined above is

OpenOffice.org (which uses its own font rendering technology).

If you wish to add new fonts to your Fedora Core 3 system, you must be

aware that the steps necessary depend on which font subsystem is to use

the new fonts. For the core X font subsystem, you must:

1. Create the /usr/share/fonts/local/ directory (if it doesn't already

exist):

mkdir /usr/share/fonts/local/

2. Copy the new font file into /usr/share/fonts/local/

3. Update the font information by issuing the following commands (note

that, due to formatting restrictions, the following commands may appear

on more than one line; in use, each command should be entered on a

single line):

ttmkfdir -d /usr/share/fonts/local/ -o

/usr/share/fonts/local/fonts.scale

mkfontdir /usr/share/fonts/local/

4. If you had to create /usr/share/fonts/local/, you must then add it

to the X font server (xfs) path:

chkfontpath --add /usr/share/fonts/local/

Adding new fonts to the fontconfig font subsystem is more

straightforward; the new font file only needs to be copied into the

/usr/share/fonts/ directory (individual users can modify their personal

font configuration by copying the font file into the ~/.fonts/

directory).

After the new font has been copied, use fc-cache to update the font

information cache:

fc-cache <directory>

(Where <directory> would be either the /usr/share/fonts/ or ~/.fonts/

directories.)

Individual users may also install fonts graphically, by browsing

fonts:/// in Nautilus, and dragging the new font files there.

NOTE: If the font filename ends with ".gz", it has been compressed with

gzip, and must be decompressed (with the gunzip command) before the

fontconfig font subsystem can use the font.

Due to the transition to the new font system based on fontconfig/Xft,

GTK+ 1.2 applications are not affected by any changes made via the Font

Preferences dialog. For these applications, a font can be configured by

adding the following lines to the file ~/.gtkrc.mine:

style "user-font" {

fontset = "<font-specification>"

}


widget_class "*" style "user-font"

(Where <font-specification> represents a font specification in the

style used by traditional X applications, such as "-adobe-helvetica-

medium-r-normal--*-120-*-*-*-*-*-*".)

作者: hutigers   发布时间: 2004-11-08

OK。没了

作者: hutigers   发布时间: 2004-11-08

辛苦了~

作者: Feraligatr   发布时间: 2004-11-08

Good,以阅。

作者: cnanyi   发布时间: 2004-11-09

谢谢.有几个问题.
1. 用proz可以下载吗?
2. fedora 3默认的X server编成xorg了?
3. 上面提供的添加字体的方法是适用于xft的吗?

作者: fog_proxy   发布时间: 2004-11-09

不好意思,第三个问题英文部分已经解答了.

作者: fog_proxy   发布时间: 2004-11-09

顶!

作者: zerolin   发布时间: 2004-11-09

好貼

作者: fatboy   发布时间: 2004-11-09

引用:
最初由 fog_proxy 发表
谢谢.有几个问题.
1. 用proz可以下载吗?
2. fedora 3默认的X server编成xorg了?
3. 上面提供的添加字体的方法是适用于xft的吗?
Fedora Core 2已经使用xorg了,FC3也是。

作者: z_york   发布时间: 2004-11-09

FC3能够使用gnome吗

作者: sbysky   发布时间: 2004-11-09

还fonts.scale?都要淘汰的东东了,为什么老抱住不放呢?

作者: guanhuaming   发布时间: 2004-11-12

引用:
最初由 guanhuaming 发表
还fonts.scale?都要淘汰的东东了,为什么老抱住不放呢?
它的应用面太广了,没了它好多程序的中文都无法正常显示,我们想不要也不行阿。

作者: hupeng923   发布时间: 2004-11-12

好貼

作者: luckyroot8   发布时间: 2004-11-12

建议加精

作者: hongfeng   发布时间: 2004-11-15

引用:
最初由 guanhuaming 发表
还fonts.scale?都要淘汰的东东了,为什么老抱住不放呢?
不是fonts.scale要淘汰了,而是ttmkfdir取代了mkfontscale

作者: Feraligatr   发布时间: 2004-11-15

相见恨晚呀!这种导读的形式应该大力提倡,有必要再顶一次。
谢谢ht!

作者: apachluxun   发布时间: 2005-06-23

哈哈!不错!但是没有CU好!确实!我不是打广告,我因为找点yum的资料,所以。。。。。

作者: 枫影谁用了   发布时间: 2005-09-05

相关阅读 更多