国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Linux服務器 > 正文

Linux 7.4上安裝配置Oracle 11.2.0.4圖文教程

2024-09-05 23:04:26
字體:
來源:轉載
供稿:網友

1. 配置Yum源及關閉SeLinux

[root@localhost ~]# mkdir /media/rhel[root@localhost ~]# mount /dev/cdrom /media/rhelmount: /dev/sr0 is write-protected, mounting read-only[root@localhost ~]# vi /etc/yum.repos.d/iso.repo[iso]name=isobaseurl=file:///media/rhelenabled=1gpgcheck=0[root@localhost ~]# vi /etc/selinux/config# modifySELINUX=disabled

2. 安裝桌面環境(如果未安裝)

[root@localhost ~]# yum -y group install "Server with GUI"

3. 安裝軟件包

[root@localhost ~]# yum -y install binutils binutils-devel compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 ksh elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel glibc-headers gcc gcc-c++ libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 make sysstat unixODBC unixODBC-devel libXp libXp-devel libXpm-devel telnet

4. 建立用戶

[root@localhost ~]# groupadd oinstall [root@localhost ~]# groupadd dba [root@localhost ~]# useradd -g oinstall -G dba oracle[root@localhost ~]# passwd oracle[root@localhost ~]# vi /etc/profile#在末尾加入if [ /$USER = "oracle" ];then    if [ /$SHELL = "/bin/ksh" ];then        ulimit -p 16384        ulimit -n 65536    else        ulimit -u 16384 -n 65536    fi    umask 022fi

5. 建立文件夾

[root@localhost ~]# mkdir -p /u01/oracle[root@localhost ~]# mkdir -p /u01/oracle/11.2.0/db_1[root@localhost ~]# chown -R oracle:oinstall /u01/oracle/[root@localhost ~]# chown -R oracle:oinstall /u01/oracle/11.2.0/db_1/[root@localhost ~]# chmod -R 755 /u01/oracle/[root@localhost ~]# chmod -R 755 /u01/oracle/11.2.0/db_1/

6. 配置系統核心參數,Oracle用戶資源限制,Oracle用戶環境變量

[root@localhost ~]# MEMTOTAL=$(free -b | sed -n '2p' | awk '{print $2}') [root@localhost ~]# SHMMAX=$(expr $MEMTOTAL / 2)[root@localhost ~]# SHMMNI=4096[root@localhost ~]# PAGESIZE=$(getconf PAGE_SIZE)[root@localhost ~]# cat >> /etc/sysctl.conf << EOFfs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmmax = $SHMMAXkernel.shmall = $(expr /( $SHMMAX / $PAGESIZE /) /* /( $SHMMNI / 16 /))kernel.shmmni = $SHMMNIkernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576EOF[root@localhost ~]# sysctl -p[root@localhost ~]# vi /etc/security/limits.conf# add to the endoracle soft nproc  2047oracle hard nproc  16384oracle soft nofile 1024oracle hard nofile 65536oracle soft stack  10240oracle hard stack  32768[root@localhost ~]# vi /home/oracle/.bash_profile# add to the endexport ORACLE_SID=sdzy;export ORACLE_BASE=/u01/oracle;export ORACLE_HOME=/u01/oracle/11.2.0/db_1;export PATH=$ORACLE_HOME/bin:$PATH:$HOME/binexport LD_LIBRARY_PATH=$ORACLE_HOME/lib[root@localhost ~]# reboot

7. 編輯主機名

[root@localhost ~]# vi /etc/hosts# add192.168.10.11 oracle[root@localhost ~]# vi /etc/hostname# modifyoracle[root@localhost ~]# vi /etc/sysconfig/network

8. 解壓安裝文件

[root@localhost ~]# cd /opt[root@localhost opt]# unzip p13390677_112040_Linux-x86-64_1of7.zip ;unzip p13390677_112040_Linux-x86-64_2of7.zip

9. 開始安裝

[oracle@localhost ~]$ cd $ORACLE_HOME/sysman/lib[oracle@localhost lib]$ cp ins_emagent.mk ins_emagent.mk.bak[oracle@localhost lib]$ vi ins_emagent.mk[root@localhost rhel]# xhost +access control disabled, clients can connect from any host[root@localhost rhel]# su - oracle[oracle@localhost ~]$ export DISPLAY=10.1.105.52:0.0 #此處IP請改為客戶端的IP[oracle@localhost ~]$ cd /opt/database/[oracle@localhost database]$ ./runInstaller

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

[root@localhost opt]# rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

linux,7.4,oracle,11.2.0.4

[root@localhost opt]# /u01/oracle/oraInventory/orainstRoot.sh

總結

以上所述是小編給大家介紹的Linux 7.4上安裝配置Oracle 11.2.0.4圖文教程,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對VEVB武林網網站的支持!


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 城步| 卓尼县| 平安县| 衡东县| 同仁县| 永兴县| 洛阳市| 大石桥市| 弋阳县| 崇州市| 古浪县| 黄梅县| 云阳县| 松溪县| 江山市| 专栏| 新密市| 内江市| 屯留县| 鹤庆县| 泽普县| 宿州市| 正安县| 营山县| 成都市| 舞阳县| 电白县| 临湘市| 天气| 新丰县| 拜城县| 息烽县| 突泉县| 青神县| 农安县| 理塘县| 邵阳县| 泰来县| 黄山市| 霍州市| 盐山县|