oracle安装笔记CentOs 5挂载CDrom

在虚拟机下挂载光盘进行rpm安装,本次安装中文字体

修改/etc/sysconfig/i18n

#LANG="en_US.UTF-8"
LANG="zh_CN.gb2312"     #添加此行
SYSFONT="latarcyrheb-sun16"


首先查询是否在/mnt下存在cdrom目录,如果没有,需创建

[root@lcc test]# cd /mnt
[root@lcc mnt]# ll
total 0

[root@lcc mnt]# mkdir cdrom
[root@lcc mnt]# ll
total 4
drwxr-xr-x 2 root root 4096 Aug 26 01:31 cdrom
[root@lcc mnt]# mount /dev/cdrom  /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only


[root@lcc mnt]# cd cdrom
[root@lcc cdrom]# ll
total 538
-r--r--r-- 2 root root     14 Nov 29  2013 CentOS_BuildTag
-r--r--r-- 2 root root    212 Nov 27  2013 EULA
-r--r--r-- 2 root root  18009 Nov 27  2013 GPL
dr-xr-xr-x 3 root root   2048 Nov 29  2013 images
dr-xr-xr-x 2 root root   2048 Nov 29  2013 isolinux
dr-xr-xr-x 2 root root 509952 Nov 29  2013 Packages
-r--r--r-- 2 root root   1354 Nov 28  2013 RELEASE-NOTES-en-US.html
dr-xr-xr-x 2 root root   4096 Nov 29  2013 repodata
-r--r--r-- 2 root root   1706 Nov 27  2013 RPM-GPG-KEY-CentOS-6
-r--r--r-- 2 root root   1730 Nov 27  2013 RPM-GPG-KEY-CentOS-Debug-6
-r--r--r-- 2 root root   1730 Nov 27  2013 RPM-GPG-KEY-CentOS-Security-6
-r--r--r-- 2 root root   1734 Nov 27  2013 RPM-GPG-KEY-CentOS-Testing-6
-r--r--r-- 1 root root   3165 Nov 29  2013 TRANS.TBL

[root@lcc Packages]# pwd
/mnt/cdrom/Packages
[root@lcc Packages]# ll  *Chinese*
-r--r--r-- 2 root root  716356 Jul  3  2011 kde-i18n-Chinese-3.5.10-11.el6.noarch.rpm
-r--r--r-- 2 root root  895616 Jul  3  2011 kde-i18n-Chinese-Big5-3.5.10-11.el6.noarch.rpm
-r--r--r-- 2 root root 3397348 Jul  3  2011 kde-l10n-Chinese-4.3.4-5.el6.noarch.rpm
-r--r--r-- 2 root root 2372124 Jul  3  2011 kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch.rpm







yum安装

[root@lcc Packages]# yum install Chinese-Traditional
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * extras: mirrors.skyshe.cn
 * updates: mirrors.yun-idc.com
base                                                                                  | 3.7 kB     00:00    
extras                                                                                | 3.4 kB     00:00    
updates                                                                               | 3.4 kB     00:00    
Setting up Install Process
No package Chinese-Traditional available.
Error: Nothing to do
[root@lcc Packages]# rpm -ivh kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch
error: open of kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch failed: No such file or directory
[root@lcc Packages]# yum install kde-l10n-Chinese-Traditional
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * extras: mirrors.skyshe.cn
 * updates: mirrors.yun-idc.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kde-l10n-Chinese-Traditional.noarch 0:4.3.4-5.el6 will be installed
--> Processing Dependency: kde-l10n = 4.3.4-5.el6 for package: kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch
--> Running transaction check
---> Package kde-l10n.noarch 0:4.3.4-5.el6 will be installed
--> Processing Dependency: kde-filesystem for package: kde-l10n-4.3.4-5.el6.noarch
--> Running transaction check
---> Package kde-filesystem.noarch 0:4-30.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================
 Package                                  Arch               Version                  Repository        Size
=============================================================================================================
Installing:
 kde-l10n-Chinese-Traditional             noarch             4.3.4-5.el6              base             2.3 M
Installing for dependencies:
 kde-filesystem                           noarch             4-30.1.el6               base              46 k
 kde-l10n                                 noarch             4.3.4-5.el6              base              13 k

Transaction Summary
=============================================================================================================
Install       3 Package(s)

Total download size: 2.3 M
Installed size: 7.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): kde-filesystem-4-30.1.el6.noarch.rpm                                           |  46 kB     00:00    
(2/3): kde-l10n-4.3.4-5.el6.noarch.rpm                                                |  13 kB     00:00    
(3/3): kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch.rpm                            | 2.3 MB     00:01    
-------------------------------------------------------------------------------------------------------------
Total                                                                        991 kB/s | 2.3 MB     00:02    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : kde-filesystem-4-30.1.el6.noarch                                                          1/3
  Installing : kde-l10n-4.3.4-5.el6.noarch                                                               2/3
  Installing : kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch                                           3/3
  Verifying  : kde-filesystem-4-30.1.el6.noarch                                                          1/3
  Verifying  : kde-l10n-Chinese-Traditional-4.3.4-5.el6.noarch                                           2/3
  Verifying  : kde-l10n-4.3.4-5.el6.noarch                                                               3/3

Installed:
  kde-l10n-Chinese-Traditional.noarch 0:4.3.4-5.el6                                                         

Dependency Installed:
  kde-filesystem.noarch 0:4-30.1.el6                      kde-l10n.noarch 0:4.3.4-5.el6                    

Complete!





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值