分享更有价值
被信任是一种快乐

oracle 12cR2单实例如何安装

文章页正文上

小编给大家分享一下oracle 12cR2单实例如何安装,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大免费主机域名家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧![root@localhost ~]# cat /etc/yum.repos.d/kingsql.repo[kingsql]name=kingsqlbaseurl=file:///mntenabled=1gpgcheck=0gpgkey=file:///mnt/RPM-GPG-KEY-redhat-releaseyum -y install binutils elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-devel kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel pdksh compat-libcap1 libXext* libXtst* libX11* libXau* libxcb* libXi* nscd* libXp* xorg* xterm* unzip* readline* compat*[root@localhost ~]# chkconfig avahi-daemon off注意:正在将请求转发到“systemctl disable avahi-daemon.service”。Removed symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service.Removed symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket.Removed symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service.[root@localhost ~]# ps -ef | grep avahiavahi 823 1 0 10:06 ? 00:00:00 avahi-daemon: running [linux.local]avahi 859 823 0 10:06 ? 00:00:00 avahi-daemon: chroot helperroot 16790 16206 0 10:27 pts/0 00:00:00 grep –color=auto avahi[root@localhost ~]# kill -9 823[root@localhost ~]# ps -ef | grep avahiroot 16794 16206 0 10:27 pts/0 00:00:00 grep –color=auto avahi[root@localhost ~免费主机域名]# vi /etc/sysconfig/network# Created by anacondaNOZEROCONF=yesvi /etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing – SELinux security policy is enforced.# permissive – SELinux prints warnings instead of enforcing.# disabled – No SELinux policy is loaded.SELINUX=disabled# SELINUXTYPE= can take one of these two values:# targeted – Targeted processes are protected,# mls – Multi Level Security protection.[root@localhost ~]# systemctl stop firewalld[root@localhost ~]# systemctl disable firewalldRemoved symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.[root@db12c ~]# firewall-cmd –statenot runninggroupadd -g 1000 oinstallgroupadd -g 1300 dbagroupadd -g 1301 operuseradd -m -u 1101 -g oinstall -G dba,oper,asmdba -d /home/oracle -s /bin/bash -c “Oracle Software Owner” oraclepasswd oraclemkdir -p /u01/app/oraclechown -R oracle:oinstall /u01chmod -R 775 /u01ls -lR /u01export ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/12.2/dbhome_1export ORACLE_SID=kingsqlexport ORACLE_TERM=xtermexport PATH=/usr/sbin:$PATHexport PATH=/u01/app/ogg:$ORACLE_HOME/bin:$PATHexport LD_LIBRARY_PATH=/u01/app/ogg:$ORACLE_HOME/lib:/lib:/usr/lib:$LD_LIBRARY_PATHexport CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlibexport NLS_DATE_FORMAT=”yyyy-mm-dd HH24:MI:SS”export NLS_LANG=AMERICAN_AMERICA.AL32UTF8export ORACLE_UNQNAME=kingsqlvi /etc/sysctl.conf//加入下面参数fs.file-max = 6815744kernel.sem = 250 32000 100 128kernel.shmmni = 4096kernel.shmall = 1073741824kernel.shmmax = 4398046511104kernel.panic_on_oops = 1net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576net.ipv4.conf.all.rp_filter = 2net.ipv4.conf.default.rp_filter = 2fs.aio-max-nr = 1048576net.ipv4.ip_local_port_range = 9000 65500/sbin/sysctl -pvi /etc/security/limits.conf//加入下面参数oracle soft nofile 1024oracle hard nofile 65536oracle soft nproc 16384oracle hard nproc 16384oracle soft stack 10240oracle hard stack 32768oracle hard memlock 134217728oracle soft memlock 134217728[root@meihailetest1 ~]#vi /etc/pam.d/login//加入下面参数session required pam_limits.sovi /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.242.133 dbora12cvi /etc/hostnamedbora12c以上是“oracle 12cR2单实例如何安装”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注云技术行业资讯频道!

相关推荐: 数据库中如何获取方法、查看执行顺序、统计信息

小编给大家分享一下数据库中如何获取方法、查看执行顺序、统计信息,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧! 个人常用的获取执行计划的方法1.select * from table(…

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册