LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hutigers

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

[复制链接]
 楼主| 发表于 2004-11-8 16:59:25 | 显示全部楼层
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.
 楼主| 发表于 2004-11-8 17:00:23 | 显示全部楼层
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
发表于 2004-11-8 17:02:04 | 显示全部楼层
RPM 的变化也很重要,具Release note 介绍,在 FC3 里安装 rpm 时若遇到文件冲突不再中断,而是覆盖旧文件直接安装。
不过我觉得还是原来的规则比较好,能避免不同的 rpm 相互交叉,体现了 rpm 系统的严谨。待我下载后看看能不能把规则调回去。。
 楼主| 发表于 2004-11-8 17:03:32 | 显示全部楼层
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/show_bug.cgi?id=133478
发表于 2004-11-8 17:03:32 | 显示全部楼层
非常感谢~
太好了
 楼主| 发表于 2004-11-8 17:09:50 | 显示全部楼层
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-*-*-*-*-*-*".)
 楼主| 发表于 2004-11-8 17:11:53 | 显示全部楼层
OK。没了
:p :p
发表于 2004-11-8 17:59:34 | 显示全部楼层
辛苦了~
发表于 2004-11-9 01:24:47 | 显示全部楼层
Good,以阅。
发表于 2004-11-9 01:36:46 | 显示全部楼层
谢谢.有几个问题.
1. 用proz可以下载吗?
2. fedora 3默认的X server编成xorg了?
3. 上面提供的添加字体的方法是适用于xft的吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表