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.

  • 相关阅读:
    POJ 3026
    POJ 1258
    POJ 1751
    一种用于三维物体建模的精确、鲁棒的距离图像配准算法
    人脸识别技术介绍和表情识别最新研究
    汇总|实时性语义分割算法(共24篇)
    ECCV2020最佳论文解读之递归全对场变换(RAFT)光流计算模型
    三维重建的定位定姿算法
    多视图几何三维重建实战系列- Cascade-MVSNet
    HybridPose:混合表示下的6D对象姿态估计
  • 原文地址:https://www.cnblogs.com/growup/p/2105694.html
Copyright © 2011-2022 走看看