1、安装最小化linux系统
2、升级Linux图形界面:
在命令行下 输入下面的命令来安装Gnome包。
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
非常慢,建议安装系统时,直接选择带图形界面的安装方式。
更新系统的默认选择的启动界面为图形界面:
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
https://blog.csdn.net/zhagzheguo/article/details/79433307
3、安装vnc图形化远程桌面
4、进行oracle安装前的linux系统参数配置:
https://blog.csdn.net/demonson/article/details/79753766
[root@orcltest Downloads]#vim /etc/sysctl.conf
(没法通过sysctl命令生效,估计需要重启生效)
建用户建组
[root@orcltestDownloads]# groupadd oinstall
[root@orcltestDownloads]# groupadd dba
[root@orcltestDownloads]# groupadd oper
[root@orcltestDownloads]# useradd -g oinstall -G dba,oper oracle
[root@orcltestDownloads]# passwd oracle
[root@orcltestDownloads]# vim /etc/security/limits.conf
[root@orcltestDownloads]# vim /etc/pam.d/login
(不知道干嘛用)
[root@orcltest Downloads]# vim /etc/profile
(这种配置方式比较原始了,一般在profile.d中另建一个文件)
[oracle@orcltest ~]$ vim .bash_profile
(原文好多配置不对,明显是拼凑的)
[oracle@orcltest ~]$ source .bash_profile
[root@orcltest~]# mkdir /data/oracle
[root@orcltest~]# chown oracle:oinstall /data
[root@azure_earth_dbm1_3_112 app]# mkdir /data/oraInventory
其他ln -s /data/oracle oracle等命令我认为没有必要,我都放到data下不行么?
5、安装oracle程序
直接在图形界面的终端窗口执行$./runInstaller就能进入图形安装向导:
$./runInstaller
但是字符集有问题,许多汉字显示为方块(□),而且退出后窗口不能关闭,修改.bash_profile中的字符集好像不管用...