zoukankan      html  css  js  c++  java
  • redhat server 5.4安装中文

    按照网上教的办法:

    都不记得安装顺序了,反正就是有依赖的就装~囧~

    1.挂载安装光盘,(RedHat5.4安装光盘只有一个)在里面的Server文件夹下找到(可能会版本号不一样,但是大概就是这个名字)
    fonts-chinese-3.02-9.6.el5.noarch.rpm
    fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
    这两个包并安装:

    在VMware里面选择镜像文件ISO的路径后挂载,由于不同的版本上面两个包名称中的数字可能不一样,所以列出包含fonts包的文件:ls -a|grep fonts
    然后安装包:

    rpm  -ivh  fonts-chinese-3.02-9.6.el5.noarch.rpm
    rpm  -ivh  fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm

    安装中文输入法 , 要找到以下文件(也在/server文件夹下):
    (反正不急的了,都安装了)

       scim-libs-1.4.4-41.el5.i386.rpm
        scim-1.4.4-41.el5.i386.rpm
        scim-chinese-standard-0.0.2-1.el5.i386.rpm
        scim-tables-0.5.6-7.i386.rpm
        scim-tables-chinese-0.5.6-7.i386.rpm
        scim-pinyin-0.5.91-16.el5.i386.rpm

    不管是重启,重新登录,依然不行~

    看到有一个地方说要,要再输入命令:

    fc-cache –fv

    尝试了下,中文出来了~哇哈哈

    关键是,在没有用这个命令之前,不管重启还是重新登录都不行!

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

    fc-cache

    fc-cache 命令重建字体缓冲

    fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling.

    If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is scanned for font files readable by FreeType. A cache is created which contains properties of each font and the associated filename. This cache is used to speed up application startup when using the fontconfig library.

    Note that fc-cache must be executed once per architecture to generate font information customized for that architecture.

  • 相关阅读:
    API短信平台的部分例子代码(转)
    将你的blog变成英文版
    如何构建安全的.net web应用系统
    利用ASP.NET AJAX实现表格更新程序
    asp.net Futures 之 Dynamic Data Control 的 学习总结
    Java修饰符public,private,protected及默认的区别
    Android之Handler用法总结
    Activity与Service通信(不同进程之间)
    Java关键字this、super使用总结
    Java之模板方法模式(Template Method)
  • 原文地址:https://www.cnblogs.com/growup/p/2105694.html
Copyright © 2011-2022 走看看