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

怎么安装oracle 7.4 12c

文章页正文上

本篇内容介绍了“怎么安装oracle 7.4 12c”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!挂载安装介质[root@oracle01 ~]# mkdir /kingsql[root@oracle01 ~]# mount /dev/cdrom /kingsqlmount: /dev/sr0 is write-protected, mounting read-only[root@oracle01 ~]# mount /dev/cdrom /kingsqlmount: /dev/sr0 is write-protected, mounting read-onlymount: /dev/sr0 is already mounted or /kingsql busy /dev/sr0 is already mounted on /run/media/vdedu/RHEL-7.4 Server.x86_64 /dev/sr0 is already mounted on /kingsql[root@oracle01 ~]# vi /etc/yum.repos.d/kingsql.repo[kingsql]name=kingsqlbaseurl=file:///kingsqlenabled=1gpgcheck=0gpgkey=file:///kingsql/RPM-GPG-KEY-redhat-release[root@oracle01 ~]# yum -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* compa免费主机域名t*Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-managerThis system is not registered with an entitlement server. You can use subscription-manager to register.kingsql | 4.1 kB 00:00:00 (1/2): kingsql/group_gz | 137 kB 00:00:00 (2/2): kingsql/primary_db | 4.0 MB 00:00:00 Complete![root@oracle01 ~]# systemctl disable avahi-daemon.serviceRemoved 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@oracle01 ~]# chkconfig avahi-daemon offNote: Forwarding request to ‘systemctl disable avahi-daemon.service’.[root@oracle01 ~]# ps -ef | grep avahiavahi 790 1 0 15:03 ? 00:00:00 avahi-daemon: running [oracle01.local]avahi 796 790 0 15:03 ? 00:00:00 avahi-daemon: chroot helperroot 15520 15138 0 15:13 pts/3 00:00:00 grep –color=auto avahi[root@oracle01 ~]# kill -9 790[root@oracle01 ~]# ps -ef| grep avahi[root@oracle01 ~]# vi /etc/sysconfig/network# Created by anacondaNOZEROCONF=yes[root@oracle01 ~]# vi /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 three two values:# targeted – Targeted processes are protected,# minimum – Modification of targeted policy. Only selected processes are protected.# mls – Multi Level Security protection.SELINUXTYPE=targeted[root@oracle01 ~]# firewall-cmd –staterunning[root@oracle01 ~]# vi 1.shgroupadd -g 2100 oinstallgroupadd -g 2300 dbagroupadd -g 2301 operuseradd -m -u 1101 -g oinstall -G dba,oper -d /home/oracle -s /bin/bash -c “Oracle Software Owner” oraclepasswd oraclemkdir -p /u01/app/oraclechown -R oracle:oinstall /u01chmod -R 775 /u01ls -lR /u01[root@oracle01 ~]# sh 1.shChanging password for user oracle.New password:BAD PASSWORD: The password is shorter than 8 charactersRetype new password:passwd: all authentication tokens updated successfully./u01:total 0drwxrwxr-x. 3 oracle oinstall 20 Jan 2 15:18 app/u01/app:total 0drwxrwxr-x. 2 oracle oinstall 6 Jan 2 15:18 oracle/u01/app/oracle:total 0[root@oracle01 ~]#[root@oracle01 ~]# su – oracle[oracle@oracle01 ~]$ vi .bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/.local/bin:$HOME/binexport PATHexport PATHexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1export ORACLE_SID=VDEDUexport 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.AL32UTF8exportexport ORACLE_UNQNAME=kingsql[oracle@oracle01 ~]$ su – rootPassword:Last login: Wed Jan 2 15:08:11 CST 2019 from 192.168.192.1 on pts/3[root@oracle01 ~]#[root@oracle01 ~]# vi /etc/sysctl.conffs.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[root@oracle01 ~]# /sbin/sysctl -p[root@oracle01 ~]# vi /etc/security/limits.conforacle soft nofile 1024oracle hard nofile 65536oracle soft nproc 16384oracle hard nproc 16384oracle soft stack 10240oracle hard stack 32768oracle hard memlock 134217728oracle soft memlock 13421772[root@oracle01 ~]# vi /etc/pam.d/loginsession r免费主机域名equired pam_limits.so[root@oracle01 ~]# vi /etc/hosts传安装包[oracle@oracle01 ~]$ unzip linuxx64_12201_database.zip启动图形化[root@oracle01 ~]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.[root@oracle01 ~]# /u01/app/oracle/product/12.2.0/dbhome_1/root.shPerforming root user operation.The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/12.2.0/dbhome_1Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin … Copying oraenv to /usr/local/bin … Copying coraenv to /usr/local/bin …Creating /etc/oratab file…Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] :Oracle Trace File Analyzer (TFA – User Mode) is available at : /u01/app/oracle/product/12.2.0/dbhome_1/suptools/tfa/release/tfa_home/bin/tfactlOROracle Trace File Analyzer (TFA – Daemon Mode) can be installed by running this script : /u01/app/oracle/product/12.2.0/dbhome_1/suptools/tfa/release/tfa_home/install/roottfa.sh[oracle@oracle01 ~]# netca[oracle@oracle01 ~]# dbca“怎么安装oracle 7.4 12c”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注云技术网站,小编将为大家输出更多高质量的实用文章!

相关推荐: oracle11gRAC环境如何使用RMAN备份方案

这篇文章主要介绍了oracle11gRAC环境如何使用RMAN备份方案,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。 日志变大可清空[oracle@zx ~]$ cat /dev/null &g…

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

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

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

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

登录

找回密码

注册