一.字体设置
1.从Windows系统,C:\windows\fonts目录中拷出simsun.ttc 并重命名为simsun.ttf
2.在jdk的安装目录中找到/jre/lib/fonts/
3.mkdir fallback
4.cp /xxx/simsun.ttf fallback/
5.cd fallback
6.chmod 777 simsun.ttf
7.mkfontscale
8.mkfontdir
第7和8步骤完成后生成fonts.dir和fonts.scale文件
9.追加fonts.scale文件到交目录fonts.dir
cat fonts.scale >> ../fonts.dir
10.涮新字体缓存
fc-cache -fv
二.初始Oracle时使用如下指令
./runInstaller -jreLoc /usr/lib/java/jdk1.7.0_10
设置字符为英文
只要在运行./runInstaller之前先运行下以下命令就ok了:
export LANG=en_US #设置运行语言
Checking Temp space: must be greater than 120 MB. Actual 840087 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8076 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Continue? (y/n) [n]
1.先进入root
DISPLAY=:0.0; export DISPLAY
echo $DISPLAY
cd /usr/bin
./xhost
access control enabled, only authorized clients can connect
./xhost +
access control disabled, clients can connect from any host
2.进入oracle用户
su - oracle
DISPLAY=:0.0; export DISPLAY
echo $DISPLAY
:0.0