此处应该有闲言碎语......比如,你累不累哈哈哈
开车...
centOs 7.4 安装的时候默认选GUI服务器
oracle默认不支持CentOS系统安装, 修改文件 /etc/RedHat-release 内容为RedHat-7
vi /etc/redhat-release#修改成红色部分文字redhat-7
1.检查如下Oracle所需的组件是否都已经安装完毕
下载地址 http://www.rpmfind.net/linux/rpm2html/search.php
检查的命令 rpm -qa | grep xxx
Red Hat Enterprise Linux 7 对应的组件
binutils-2.23.52.0.1-30.el7.s390x
compat-libcap1-1.10-7.el7.s390x
cpp-4.8.2-16.el7.s390x
gcc-4.8.3-9.el7.s390x
gcc-c++-4.8.3-9.el7.s390x
glibc-2.17-78.el7.s390
glibc-2.17-78.el7.s390x
glibc-devel-2.17-78.el7.s390
glibc-devel-2.17-78.el7.s390x
glibc-headers-2.17-55.el7.s390x
ksh-20120801-22.el7.s390x
libaio-0.3.109-12.el7.s390
libaio-0.3.109-12.el7.s390x
libaio-devel-0.3.109-12.el7.s390
libaio-devel-0.3.109-12.el7.s390x
libgcc-4.8.3-9.el7.s390
libgcc-4.8.3-9.el7.s390x
libstdc++-4.8.3-9.el7.s390
libstdc++-4.8.3-9.el7.s390x
libstdc++-devel-4.8.3-9.el7.s390
libstdc++-devel-4.8.3-9.el7.s390x
libXi-1.2.2-2.1.el7.s390
libXi-1.2.2-2.1.el7.s390x
libXtst-1.2.2-2.1.el7.s390
libXtst-1.2.2-2.1.el7.s390x
make-3.82-21.el7.s390x
mpfr-3.1.1-4.el7.s390x
sysstat-10.1.5-7.el7.s390x
经测试7.4 少了2个组件 分别是 ksh 和 libaio-devel,下载安装之(后面安装过程中会提示缺少的组件,到时继续补上就好)
rpm -ivh xxx.rpm
2.追加配置
执行命令 vi/etc/sysctl.conf 配置生效 sysctl -p
net.ipv4.icmp_echo_ignore_broadcasts= 1
net.ipv4.conf.all.rp_filter = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
lsnrctl start stop status 监听命令 配置命令 netca
dbca 数据库配置命令,在这之前必先开启监听服务
断电之后,登录oracle 用户 ,重启监听lsnrctl start 重启数据库 sqlplus / as sysdba startup
http://www.linuxidc.com/Linux/2016-04/130559.htm
https://www.cnblogs.com/xibei666/p/5935219.html
网友评论