真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

oracle10g安裝腳本怎么寫

這篇文章主要介紹oracle 10g安裝腳本怎么寫,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!

10多年的運(yùn)城網(wǎng)站建設(shè)經(jīng)驗(yàn),針對(duì)設(shè)計(jì)、前端、開(kāi)發(fā)、售后、文案、推廣等六對(duì)一服務(wù),響應(yīng)快,48小時(shí)及時(shí)工作處理。成都營(yíng)銷網(wǎng)站建設(shè)的優(yōu)勢(shì)是能夠根據(jù)用戶設(shè)備顯示端的尺寸不同,自動(dòng)調(diào)整運(yùn)城建站的顯示方式,使網(wǎng)站能夠適用不同顯示終端,在瀏覽器中調(diào)整網(wǎng)站的寬度,無(wú)論在任何一種瀏覽器上瀏覽網(wǎng)站,都能展現(xiàn)優(yōu)雅布局與設(shè)計(jì),從而大程度地提升瀏覽體驗(yàn)。創(chuàng)新互聯(lián)建站從事“運(yùn)城網(wǎng)站設(shè)計(jì)”,“運(yùn)城網(wǎng)站推廣”以來(lái),每個(gè)客戶項(xiàng)目都認(rèn)真落實(shí)執(zhí)行。

#!/bin/sh

cat <  /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=DB
EOF

hostname DB

cat <  /etc/hosts
127.0.0.1    localhost localhost.localdomain localhost4 localhost4.localdomain4
::1          localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.200 DB

EOF

cat < /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.1.200
TYPE=Ethernet
EOF

chkconfig cups off
chkconfig sendmail off
service cups stop
service sendmail stop
service network restart


cat < /etc/resolv.conf
nameserver 8.8.8.8
EOF

iptables -F
iptables -X
iptables -Z
service iptable save
service iptable restart
setenforce  0

mount -o loop /dev/cdrom  /mnt

rm -rf /etc/yum.repos.d/*

cat < /etc/yum.repos.d/base.repo
[Base]
name=base
baseurl=file:///mnt/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
EOF

yum -y install  binutils-* \
compat-db-* \
control-center-* \
gcc-* \
gcc-c++-* \
glibc-* \
libXp-* \
libstdc++-* \
libstdc++-devel-* \
make-* \
openmotif-* \
termcap* \
readline* \
libtermcap-devel* \
readline-devel* \
sysstat* \
wget

cd /tmp

unzip oracle10g_database_linux32.zip

rm -rf oracle10g_database_linux32.zip


groupadd oinstall  

groupadd dba

useradd -g oinstall -G dba oracle

echo "oracle" | passwd --stdin oracle

 mkdir -p /oracle/app
 
 chmod 777 /oracle
 
 chown -R oracle.oinstall /oracle
 

echo "kernel.sem = 250 32000 100 128" >>/etc/sysctl.conf

echo "fs.file-max = 65536" >>/etc/sysctl.conf

echo "net.ipv4.ip_local_port_range = 1024 65000" >>/etc/sysctl.conf

echo "net.core.rmem_default = 262144" >>/etc/sysctl.conf

echo "net.core.rmem_max = 262144" >>/etc/sysctl.conf

echo "net.core.wmem_default = 262144" >>/etc/sysctl.conf

echo "net.core.wmem_max = 262144" >>/etc/sysctl.conf

echo "" >/etc/redhat-release

echo "Red Hat Enterprise Linux Server release 3 (Tikanga)" > /etc/redhat-release

/sbin/sysctl -p

echo "oracle          soft    nproc           2047" >>/etc/security/limits.conf

echo "oracle          hard    nproc           16384" >>/etc/security/limits.conf

echo "oracle          soft    nofile          1024" >>/etc/security/limits.conf

echo "oracle          hard    nofile          65536" >>/etc/security/limits.conf

echo "session    required     /lib/security/pam_limits.so" >>/etc/pam.d/login

echo "stty erase ^H" >>/home/oracle/.bash_profile

echo "ORACLE_BASE=/oracle/app" >>/home/oracle/.bash_profile

echo "ORACLE_HOME=\$ORACLE_BASE/oracle/product/10.2.0/db_1" >>/home/oracle/.bash_profile

echo "ORACLE_SID=ecom" >>/home/oracle/.bash_profile

echo "PATH=\$PATH:\$HOME/bin:\$ORACLE_HOME/bin" >>/home/oracle/.bash_profile

echo "LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/usr/lib" >>/home/oracle/.bash_profile

echo "NLS_LANG=AMERICAN_AMERICA.ZHS16GBK" >>/home/oracle/.bash_profile

echo "export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LIBRARY_PATH NLS_LANG" >>/home/oracle/.bash_profile

以上是“oracle 10g安裝腳本怎么寫”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對(duì)大家有幫助,更多相關(guān)知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!


文章題目:oracle10g安裝腳本怎么寫
地址分享:http://weahome.cn/article/jpjcdi.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部