oracle11g在linux7的静默安装脚本怎么写
发表于:2025-11-12 作者:千家信息网编辑
千家信息网最后更新 2025年11月12日,这篇文章给大家分享的是有关oracle11g在linux7的静默安装脚本怎么写的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。1 把11.2.0.4的安装文件放到基础目录,一
千家信息网最后更新 2025年11月12日oracle11g在linux7的静默安装脚本怎么写
这篇文章给大家分享的是有关oracle11g在linux7的静默安装脚本怎么写的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
1 把11.2.0.4的安装文件放到基础目录,一般我放在/u01下
2 把compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm和elfutils-libelf-devel-0.168-8.el7.x86_64.rpm放到基础目录下
3 把2个脚本放到基础目录下,确认有默认的unzip命令
4 执行2个脚本
更新:
1 可以单独指定数据文件位置,也可以使用默认位置
2018-10-11更新:
1 修改swap空间增加后不能继续的bug
2 添加了unzip的安装
脚本分享连接:
链接:https://pan.baidu.com/s/13ebRwJ29zly9EMMazcs_nQ 密码:52my
链接: https://pan.baidu.com/s/1yOcae6PG7LKki7FRRmG-Ow 提取码: 8qiq
因为在linux7上面安装rdbms有个报错,所以提前跑脚本,避免错误
这里需要注意:执行脚本的时候如果基础目录不是/u01请指定基础目录否则安装会失败。
AutoInstallOraOnLinux7_auxiliary.sh:
#!/bin/bash#by raysuen#v01if [ $# -eq 1 ];then orahome=$1/oracle/product/11.2.0/db_1else orahome=/u01/oracle/product/11.2.0/db_1fiwhile truedo if [ -f ${orahome}/sysman/lib/ins_emagent.mk ];then sed -i 's/$(MK_EMAGENT_NMECTL)/$(MK_EMAGENT_NMECTL)-lnnz11/g' $orahome/sysman/lib/ins_emagent.mk break fidone################help##################AutoInstalllOraOnLinux7_auxiliary.sh basedir#default /u01################help#################下面是自动安装脚本
AutoInstallOracle11OnLinux7.sh
#!/bin/bash#by ray suen#v0.3##################################################################################before the bash you must install necessary rpm for oracle and edit hostname ##################################################################################echo "please confirm that you have put the script and software into the base dir"echo "please confirm that server can connect to internet"c_yellow="\e[1;33m"c_red="\e[1;31m"c_end="\e[0m"#####################################################################################obtain ip####################################################################################echo " "echo "internet name:"for i in `ip addr | egrep "^[0-9]" | awk -F ':' '{print $2}'`doecho -e " \e[1;33m"$i": "`ifconfig $i | egrep -v "inet6" | awk -F 'net|netmaskt' '{print $2}' | sed ':label;N;s/\n//;b label' | sed -e 's/ //g' -e 's/)//g'`"\e[0m"donewhile truedo#read -p "please enter the name of Ethernet,default [eth0]:" ethread -p "`echo -e "please enter the name of Ethernet,default [${c_yellow}lo${c_end}]: "`" eth#get ip #ifconfig ${eth:-eth0} 2> /dev/null | grep -Po '(?<=inet addr:)[\d\.]+'ipaddr=`ifconfig ${eth:-lo} 2> /dev/null | egrep -v "inet6" | awk -F'inet|netmask' '{print $2}' | sed ':label;N;s/\n//;b label' | sed 's/ //g'`[ $? != 0 ]&& echo -e "pleas input the ${c_red}exact name of Ethernet${c_end}"&& continueif [ -n "$(echo ${ipaddr} | sed 's/[0-9]//g' | sed 's/.//g')" ];thenecho -e 'shell can not obtain ip,pleas input the ${c_red}exact name of Ethernet${c_end}'continueelsebreakfidone#####################################################################################obtain base dir####################################################################################while truedo read -p "`echo -e "please enter the name of base dir,put this shell and software in the dir.default [${c_yellow}/u01${c_end}]: "`" bdir basedir=${bdir:-/u01} #this is base dir,put this shell and software in the dir if [ ! -d ${basedir} ];then echo -e "the ${basedir} is not exsist,please ${c_red}make it up${c_end}" continue else break fidone#####################################################################################obtain hostname####################################################################################sname=$(hostname) #get hostname[ -z ${sname} ]&& echo -e 'shell can not obtain ${c_red}hostname${c_end},shell interrupt forcedly'&&exit 1#####################################################################################obtain ORACLE_BASE ORACLE_HOME####################################################################################orabase="${basedir}/oracle" #set path of oracle_baseorahome="${basedir}/oracle/product/11.2.0/db_1" #set path of oracle_home#####################################################################################obtain ORACLE_SID####################################################################################read -p "`echo -e "please enter the sid.default [${c_yellow}orcl${c_end}]: "`" osidorasid=${osid:-orcl} #set value of oracle_sid#####################################################################################obtain the momery percentage of the oracle using server momery####################################################################################while truedo read -p "`echo -e "Please enter the momery percentage of the oracle using server momery.default [${c_yellow}60${c_end}]: "`" mper perusemom=${mper:-60} if [ -n "`echo ${perusemom} | sed 's/[0-9]//g' | sed 's/-//g'`" ];then echo -e "please enter ${c_red}exact number${c_end}" continue else [ "${perusemom}" -ge "90" ]&& echo -e "the percentage can not be greater than ${c_red}90${c_end}"&& continue break fidone#####################################################################################obtain current day####################################################################################daytime=`date +%Y%m%d`#####################################################################################stop firefall and disable selinux####################################################################################systemctl stop firewalldsystemctl disable firewalld/usr/sbin/setenforce 0cp /etc/selinux/config /etc/selinux/config.$(date +%F)sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config#####################################################################################edit /etc/hosts####################################################################################cp /etc/hosts /etc/hosts${daytime}.bakecho ${ipaddr}' '${sname} >> /etc/hosts#####################################################################################edit sysctl.conf####################################################################################shmall=`/sbin/sysctl -a | grep "shmall" | awk '{print $NF}'`shmmax=`/sbin/sysctl -a | grep "shmmax" | awk '{print $NF}'`cp /etc/sysctl.conf /etc/sysctl.conf${daytime}.bakecho 'kernel.shmall = '${shmall} >> /etc/sysctl.confecho 'kernel.shmmax = '${shmmax} >> /etc/sysctl.confecho 'kernel.shmmni = 4096' >> /etc/sysctl.confecho 'kernel.sem = 250 32000 100 128' >> /etc/sysctl.confecho 'fs.file-max = 6815744' >> /etc/sysctl.confecho 'net.ipv4.ip_local_port_range = 9000 65500' >> /etc/sysctl.confecho 'net.core.rmem_default = 262144' >> /etc/sysctl.confecho 'net.core.rmem_max = 4194304' >> /etc/sysctl.confecho 'net.core.wmem_default = 262144' >> /etc/sysctl.confecho 'net.core.wmem_max = 1048576' >> /etc/sysctl.confecho 'fs.aio-max-nr=1048576' >> /etc/sysctl.confsysctl -p#####################################################################################edit limits.conf####################################################################################cp /etc/security/limits.conf /etc/security/limits.conf${daytime}.bakecho 'oracle soft nproc 2047' >> /etc/security/limits.confecho 'oracle hard nproc 16384' >> /etc/security/limits.confecho 'oracle soft nofile 1024' >> /etc/security/limits.confecho 'oracle hard nofile 65536' >> /etc/security/limits.conf#####################################################################################edit pam.d/login####################################################################################cp /etc/pam.d/login /etc/pam.d/login${daytime}.bakecho 'session required /lib64/security/pam_limits.so' >> /etc/pam.d/loginecho 'session required pam_limits.so' >> /etc/pam.d/login#install rpm that oracle is necessary for installingyum -y install binutils compat-libstdc++ compat-libcap1 gcc gcc-c++ glibc glibc*.i686 glibc-devel glibc-devel*.i686 ksh libaio*.i686 libaio libaio-devel*.i686 libaio-devel libgcc*.i686 libgcc libstdc++*.i686 libstdc++ libstdc++-devel*.i686 libstdc++-devel libXi*.i686 libXi libXtst*.i686 libXtst make sysstat unixODBC*.i686 unixODBC unixODBC-devel unzip yum -y localinstall compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm yum -y localinstall elfutils-libelf-devel-0.168-8.el7.x86_64.rpmrpm -q compat-libstdc++-33 elfutils-libelf-devel binutils compat-libcap1 gcc gcc-c++ glibc glibc.i686 glibc-devel glibc-devel.i686 ksh libaio.i686 libaio libaio-devel.i686 libaio-devel libgcc.i686 libgcc libstdc++.i686 libstdc++ libstdc++-devel.i686 libstdc++-devel libXi.i686 libXi libXtst.i686 libXtst make sysstat unixODBC.i686 unixODBC unixODBC-devel unzip --qf '%{name}.%{arch}\n'|sortwhile truedoread -p "`echo -e "Please confirm that all rpm package have installed.[${c_yellow}yes/no${c_end}] default yes:"`" ansif [ "${ans:-yes}" == "yes" ];thenbreakelsecontinuefidone##################################################################################### create user and groups for oracle installation####################################################################################groupadd -g 1100 oinstallgroupadd -g 1101 dbagroupadd -g 1102 operuseradd -u 1101 -g oinstall -G dba,oper oracleecho "oracle" | passwd --stdin oracle#####################################################################################create directories for oracle installation####################################################################################mkdir -p ${orabase}chown -R oracle:oinstall ${basedir}chmod -R 755 ${basedir}#####################################################################################edit oracle's bash####################################################################################su - oracle -c "cp /home/oracle/.bash_profile /home/oracle/.bash_profile${daytime}.bak"su - oracle -c "echo 'ORACLE_BASE='${orabase} >> /home/oracle/.bash_profile"su - oracle -c "echo 'ORACLE_HOME='${orahome} >> /home/oracle/.bash_profile"su - oracle -c "echo 'ORACLE_SID='${orasid} >> /home/oracle/.bash_profile"su - oracle -c "echo 'export ORACLE_BASE ORACLE_HOME ORACLE_SID' >> /home/oracle/.bash_profile"su - oracle -c "echo 'export PATH=\$PATH:\$HOME/bin:\$ORACLE_HOME/bin' >> /home/oracle/.bash_profile"su - oracle -c "echo 'export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK' >> /home/oracle/.bash_profile"su - oracle -c "echo 'export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$ORACLE_HOME/lib' >> /home/oracle/.bash_profile"#####################################################################################uncompress the oracle install file####################################################################################su - oracle -c "unzip ${basedir}/p13390677_112040_Linux-x86-64_1of7.zip -d ${basedir}/"su - oracle -c "unzip ${basedir}/p13390677_112040_Linux-x86-64_2of7.zip -d ${basedir}/"#####################################################################################edit responseFile of rdbms####################################################################################su - oracle -c "echo 'oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0' > ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.option=INSTALL_DB_SWONLY' >> ${basedir}/db.rsp"su - oracle -c "echo 'ORACLE_HOSTNAME='${sname} >> ${basedir}/db.rsp"su - oracle -c "echo 'UNIX_GROUP_NAME=oinstall' >> ${basedir}/db.rsp"su - oracle -c "echo 'INVENTORY_LOCATION='${basedir}'/oraInventory' >> ${basedir}/db.rsp"su - oracle -c "echo 'SELECTED_LANGUAGES=en' >> ${basedir}/db.rsp"su - oracle -c "echo 'ORACLE_HOME='${orahome} >> ${basedir}/db.rsp"su - oracle -c "echo 'ORACLE_BASE='${orabase} >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.InstallEdition=EE' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.EEOptionsSelection=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.optionalComponents=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.DBA_GROUP=dba' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.OPER_GROUP=oinstall' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.CLUSTER_NODES=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.isRACOneInstall=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.racOneServiceName=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.type=GENERAL_PURPOSE' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.globalDBName=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.SID=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.characterSet=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.memoryOption=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.memoryLimit=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.installExampleSchemas=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.enableSecuritySettings=true' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.password.ALL=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.password.SYS=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.password.SYSTEM=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.password.SYSMAN=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.password.DBSNMP=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.control=DB_CONTROL' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.automatedBackup.enable=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.automatedBackup.osuid=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.automatedBackup.ospwd=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.storageType=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.asm.diskGroup=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.install.db.config.asm.ASMSNMPPassword=' >> ${basedir}/db.rsp"su - oracle -c "echo 'MYORACLESUPPORT_USERNAME=' >> ${basedir}/db.rsp"su - oracle -c "echo 'MYORACLESUPPORT_PASSWORD=' >> ${basedir}/db.rsp"su - oracle -c "echo 'SECURITY_UPDATES_VIA_MYORACLESUPPORT=false' >> ${basedir}/db.rsp"su - oracle -c "echo 'DECLINE_SECURITY_UPDATES=true' >> ${basedir}/db.rsp"su - oracle -c "echo 'PROXY_HOST=' >> ${basedir}/db.rsp"su - oracle -c "echo 'PROXY_PORT=' >> ${basedir}/db.rsp"su - oracle -c "echo 'PROXY_USER=' >> ${basedir}/db.rsp"su - oracle -c "echo 'PROXY_PWD=' >> ${basedir}/db.rsp"su - oracle -c "echo 'PROXY_REALM=' >> ${basedir}/db.rsp"su - oracle -c "echo 'COLLECTOR_SUPPORTHUB_URL=' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.installer.autoupdates.option=SKIP_UPDATES' >> ${basedir}/db.rsp"su - oracle -c "echo 'oracle.installer.autoupdates.downloadUpdatesLoc=' >> ${basedir}/db.rsp"su - oracle -c "echo 'AUTOUPDATES_MYORACLESUPPORT_USERNAME=' >> ${basedir}/db.rsp"su - oracle -c "echo 'AUTOUPDATES_MYORACLESUPPORT_PASSWORD=' >> ${basedir}/db.rsp"#####################################################################################edit responseFile of instance####################################################################################echo '[GENERAL]' > ${basedir}/dbca.rspecho 'RESPONSEFILE_VERSION ="'' 11.2.0''"' >> ${basedir}/dbca.rspecho 'OPERATION_TYPE = "''createDatabase''"' >> ${basedir}/dbca.rspecho '[CREATEDATABASE]' >> ${basedir}/dbca.rspecho 'GDBNAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'SID = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'TEMPLATENAME = "''General_Purpose.dbc''"' >> ${basedir}/dbca.rspecho 'SYSPASSWORD = "''oracle''"' >> ${basedir}/dbca.rspecho 'SYSTEMPASSWORD = "''oracle''"' >> ${basedir}/dbca.rspecho 'SYSMANPASSWORD = "''oracle''"' >> ${basedir}/dbca.rspecho 'CHARACTERSET = "''ZHS16GBK''"' >> ${basedir}/dbca.rspecho 'NATIONALCHARACTERSET= "''UTF8''"' >> ${basedir}/dbca.rspecho 'MEMORYPERCENTAGE = "'${perusemom}'"' >> ${basedir}/dbca.rspecho 'AUTOMATICMEMORYMANAGEMENT = "''TRUE''"' >> ${basedir}/dbca.rspecho '[createTemplateFromDB]' >> ${basedir}/dbca.rspecho 'SOURCEDB = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'SYSDBAUSERNAME = "''system''"' >> ${basedir}/dbca.rspecho 'TEMPLATENAME = "''My Copy TEMPLATE''"' >> ${basedir}/dbca.rspecho '[createCloneTemplate]' >> ${basedir}/dbca.rspecho 'SOURCEDB = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'SYSDBAUSERNAME = "''sys''"' >> ${basedir}/dbca.rspecho 'TEMPLATENAME = "''My Clone TEMPLATE''"' >> ${basedir}/dbca.rspecho '[DELETEDATABASE]' >> ${basedir}/dbca.rspecho 'SOURCEDB = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'SYSDBAUSERNAME = "''sys''"' >> ${basedir}/dbca.rspecho '[generateScripts]' >> ${basedir}/dbca.rspecho 'TEMPLATENAME = "''New Database''"' >> ${basedir}/dbca.rspecho 'GDBNAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho '[CONFIGUREDATABASE]' >> ${basedir}/dbca.rspecho '[ADDINSTANCE]' >> ${basedir}/dbca.rspecho 'DB_UNIQUE_NAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'INSTANCENAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'NODELIST=' >> ${basedir}/dbca.rspecho 'SYSDBAUSERNAME = "''sys''"' >> ${basedir}/dbca.rspecho '[DELETEINSTANCE]' >> ${basedir}/dbca.rspecho 'DB_UNIQUE_NAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'INSTANCENAME = "'${orasid}'"' >> ${basedir}/dbca.rspecho 'SYSDBAUSERNAME = "''oracle''"' >> ${basedir}/dbca.rsp#####################################################################################change the owner and group of the responseFile####################################################################################chown -R oracle:oinstall ${basedir}chmod -R 755 ${basedir}#####################################################################################check swap,swap must be greater then 150M####################################################################################while truedoswap=`free -m | grep Swap | awk '{print $4}'`if [[ ${swap} -lt 150 ]];thenecho 'failed,swap less then 150M'echo 'please increase the space of swap, greater then 150M'elsebreakfiecho "Have you been increased the space of swap?"read -p "`echo -e "Whether or not to check the space of swap? ${c_yellow}yes/no${c_end}. no will quit the intalling: "`" swapDoneif [[ "${swapDone}" = "yes" ]];thencontinue elif [[ "${swapDone}" = "no" ]];then exit else echo "please enter yes/no" continue fidone#####################################################################################install rdbms####################################################################################su - oracle -c "${basedir}/database/runInstaller -silent -noconfig -ignorePrereq -responseFile ${basedir}/db.rsp > ${basedir}/install.log"#follow coding are create oracle instance.if you don't want to create install instance,you can use # making coding invalidlyecho ' 'echo ' 'echo -e "you use the command to get information about installation:\e[1;37m tail -f ${basedir}/install.log${c_end}"sleep 1mecho ' '#####################################################################################obtain datafile destination####################################################################################echo -e "Default datafile directory is ${c_yellow}${orabase}/oradata/${orasid}${c_end}"while truedoread -p "`echo -e "You can specify another directory.Do you sure change datafile directory.default no .${c_yellow}yes/no ${c_end} :"`" ansif [ "${ans:-no}" == "yes" ];thenwhile truedoread -p "`echo -e "please enter your datafile directory: "`" datafiledirif [ "${datafiledir:-none}" == "none" ];thenecho "The directory must be specified."continueelseecho -e "The datafile directory is ${c_yellow}${datafiledir}${c_end}."read -p "`echo -e "Are you sure? Default yes. ${c_yellow}yes/no${c_end} :"`" ans2if [ "${ans2:-yes}" == "yes" ];thenbreakelsecontinuefifidonebreakelif [ "${ans:-no}" == "no" ];thenbreakelsecontinuefidone#####################################################################################install instance####################################################################################while truedoinstallRes=`tail -1 ${basedir}/install.log | awk '{print $1}'`if [[ "${installRes}" = "Successfully" ]];then${basedir}/oraInventory/orainstRoot.sh${orahome}/root.sh#create instanceif [ "${datafiledir:-none}" == "none" ];thensu - oracle -c "dbca -silent -responseFile ${basedir}/dbca.rsp -cloneTemplate"elseif [ -d ${datafiledir} ];thenchown oracle:oinstall ${datafiledir}elsemkdir ${datafiledir}chown oracle:oinstall ${datafiledir}fisu - oracle -c "dbca -silent -responseFile ${basedir}/dbca.rsp -cloneTemplate -datafileDestination ${datafiledir}"fibreakelsesleep 20scontinuefidone#####################################################################################start listen,the port is 1521####################################################################################su - oracle -c "netca /silent /responsefile ${basedir}/database/response/netca.rsp"#####################################################################################edit tnsnames.ora ####################################################################################su - oracle -c "echo ${orasid}' =' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' (DESCRIPTION =' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' (ADDRESS_LIST =' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' (ADDRESS = (PROTOCOL = TCP)(HOST = '${sname}')(PORT = 1521))' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' )' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' (CONNECT_DATA =' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' (SERVICE_NAME = '${orasid}')' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' )' >> ${orahome}/network/admin/tnsnames.ora"su - oracle -c "echo ' )' >> ${orahome}/network/admin/tnsnames.ora"#####################################################################################initial parameter####################################################################################su - oracle -c "sqlplus /nolog <感谢各位的阅读!关于"oracle11g在linux7的静默安装脚本怎么写"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
脚本
基础
目录
位置
内容
文件
更多
篇文章
链接
更新
不错
实用
命令
密码
数据
文章
时候
看吧
知识
空间
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
党建信息系统网络安全
万方数据库属于二次文献吗
lol聊天服务器断开连接壁纸
软件开发好学吗17k
视频拼接服务器厂家
网络安全等级保护标准解读
宿迁市网络安全宣传周开幕
计算机网络技术前途
api物性数据库
哪些主板可以用服务器cpu
excel宏的模块数据库
共筑网络安全防线主题内容
显卡云服务器
实时数据库 下载
推荐的网络安全类型
计算机网络技术能做什么
海量搜索软件开发
四川手机软件开发公司
2022定制化软件开发行业
小学网络安全应急演练方案
我的世界ts服务器的编号是多少
怎么显示本地驱动器服务器
已订阅的日历 输入服务器地址
服务器端口管理方法
php连上数据库
深圳市九州云网络技术有限公司
新入职网络安全
阳江自主可控软件开发销售厂
珠海软件开发咨询
福州软件开发费用明细