输入法:
首先查看原来字体的设置:
export |grep LANG 或者在/etc/sysconfig/i18n下面查看,设置完成后需要重启。
安装包在上传目录里下载
安装两个中文包:
fonts-chinese-3.02-12.el5.noarch.rpm
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
会提示错误,所以需要安装chkfontpath-1.7-2.i386.rpm,
过程还是提示有依赖性,使用rpm -ivh --nodeps命令
接下来修改配置文件
编辑 /etc/sysconfig/i18n 中的文件
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
然后下载小企鹅输入法
地址:http://www.fcitx.org/main/?q=node/9
下载linux版本的QQ
地址:http://im.qq.com/qq/linux/download.shtml
安装后重新启动系统
上下键:
在Linux下面使用sqlplus默认不可以使用上下键查找历史命令,使用起来很不方便,影响效率。不过,可以通过第三方工具rlwrap来解决这个问题。
rlwrap下载:http://utopia.knoware.nl/~hlub/uck/rlwrap/
一、安装readline
可以通过yum这个工具来完成
[root@rhel6 ~]# yum -y install readline*
如果没有源,可以自己下载相关的安装包,然后通过rpm安装
[root@rhel6 ~]# rpm -Uvh readline* error: Failed dependencies: libtermcap-devel is needed by readline-devel-5.1-1.1.i386.rpm [root@rhel6 ~]# rpm -Uvh libtermcap-devel-2.0.8-46.1.i386.rpm [root@rhel6 ~]# rpm -Uvh readline* package readline-5.1-1.1 is already installed [root@rhel6 ~]# rpm -Uvh readline-devel-5.1-1.1.i386.rpm
二、安装rlwrap
下载安装包rlwrap-0.37.tar.gz到~目录下
[root@rhel6 ~]# tar -zxvf rlwrap-0.37.tar.gz
[root@rhel6 ~]# cd rlwrap-0.37
[root@rhel6 rlwrap-0.37]# ./configure
[root@rhel6 rlwrap-0.37]# make
[root@rhel6 rlwrap-0.37]# make install
[root@rhel6 rlwrap-0.37]# man rlwrap
到这里rlwrap就装好了。。。
三、设置rlwrap
[root@rhel6 rlwrap-0.37]# vim /home/oracle/.bash_profile
添加
alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman'
OK,现在Linux下的SQL Plus可以像Windows下的那样使用了
配置yum源
1.确保RHEL6中已经安装了yum
[root@lvs-master ~]# rpm -qa |grep yum
yum-metadata-parser-1.1.2-3.el5
yum-updatesd-0.9-2.el5
yum-3.2.22-26.el5
yum-security-1.1.16-13.el5
yum-rhn-plugin-0.5.4-15.el5
2.修改yum的配置:
切换到/etc/yum.repo.d/下,把CentOS6-Base-163.repo放到下面,修改里面的内容
把$releasever改成6,然后就保存
3.运行,测试
#yum update
#yum clean all