欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

Oracle11gonrhel5.5

      

網(wǎng)站建設(shè)哪家好,找成都創(chuàng)新互聯(lián)公司!專注于網(wǎng)頁設(shè)計(jì)、網(wǎng)站建設(shè)、微信開發(fā)、微信小程序開發(fā)、集團(tuán)企業(yè)網(wǎng)站建設(shè)等服務(wù)項(xiàng)目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了石龍免費(fèi)建站歡迎大家使用!

Oracle 11g on rhel5.5

檢查內(nèi)存
[oracle@oracle ~]$ grep MemTotal /proc/meminfo
MemTotal:      1213920 kB

檢查swap空間,要求》=內(nèi)存
[oracle@oracle ~]$ grep SwapTotal /proc/meminfo
SwapTotal:     2048276 kB


查看系統(tǒng)架構(gòu)
[oracle@oracle ~]$ uname -m
i686


查看磁盤空間
[oracle@oracle ~]$ df -h
文件系統(tǒng)              容量  已用 可用 已用% 掛載點(diǎn)
/dev/sda3              18G   11G  6.5G  61% /
/dev/sda1              99M   12M   83M  12% /boot
tmpfs                 593M     0  593M   0% /dev/shm

配置固定的ip地址和主機(jī)名
[root@handong ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
[root@handong ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0c:29:4c:c2:9c
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=10.7.21.11
GATEWAY=10.7.21.255
TYPE=Ethernet

[root@handong ~]# vim /etc/sysconfig/network
[root@handong ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=oracle

修改hosts文件,本地和主機(jī)映射
[root@handong ~]# cat /etc/hosts
10.7.11.22 handong

新建組和附屬組
[root@handong ~]# groupadd oinstall && groupadd dba

創(chuàng)建用戶并指定用戶所屬組和附屬組
[root@handong ~]# useradd -g oinstall -G dba oracle
[root@handong ~]# passwd oracle

配置yum文件
[root@handong ~]# mount /dev/cdrom /media
[root@handong ~]# cd /etc/yum.repos.d/
[root@oracle yum.repos.d]# rm -rf *
[root@oracle yum.repos.d]# vim iso.repo
[Server]
name=Server
baseurl=file:///media/Server
enabled=1
gpgcheck=0
[root@oracle yum.repos.d]# yum clean all
[root@oracle yum.repos.d]# yum update

用YUM安裝必備軟件包
[root@handong ~]# yum install sysstat libaio glibc compat-libstdc++-33.x86_64 elfutils-libelf-devel\* gcc-c++ libaio-devel unixODBC\* readline\* -y

創(chuàng)建安裝目錄
[root@handong ~]# mkdir /01

更改安裝目錄的所有組
[root@handong ~]# chown -R handong:oinstall /u01/

設(shè)置用戶的環(huán)境變量
[root@handong ~]# vi /home/oracle/.bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$PATH:$ORACLE_HOME/bin
export NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8"

ORACLE_BASE oracle產(chǎn)品目錄
ORACLE_HOME 數(shù)據(jù)庫家目錄(通常 HOME 目錄是 BASE 的子目錄)
ORACLE_SID oracle 數(shù)據(jù)庫實(shí)例名
PATH 將 oracle 命令追加到執(zhí)行搜索路徑里面
LD_LIBRARY_PATH動(dòng)態(tài)庫的位置
NLS_LANG更改字符集為UTF8

關(guān)閉內(nèi)核級安檢

[root@handong ~]#setenforce 0

永久關(guān)閉內(nèi)核級安檢可以修改

[root@handong  ]# vim /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 - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

 停止防火墻
#service iptables stop
#service ip6tables stop
禁止開機(jī)啟動(dòng)
#chkconfig iptables off
#chkconfig ip6tables off


 

切換用戶,進(jìn)入安裝目錄,執(zhí)行腳本進(jìn)行圖形安裝

※執(zhí)行腳本前時(shí)務(wù)必用創(chuàng)建的帳號(hào)登陸下圖形界面(或者root用戶執(zhí)行xhost +不好使時(shí)用)

[root@handong ~]# su oracle
[oracle@handong ~]$ cd /u01/database/
[oracle@handong database]$ ./runInstaller

 

Oracle 11g on rhel5.5

 

 Oracle 11g on rhel5.5

 

 Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

 

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

Oracle 11g on rhel5.5

 

網(wǎng)站欄目:Oracle11gonrhel5.5
轉(zhuǎn)載注明:http://chinadenli.net/article36/giessg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供全網(wǎng)營銷推廣動(dòng)態(tài)網(wǎng)站手機(jī)網(wǎng)站建設(shè)網(wǎng)站排名網(wǎng)站導(dǎo)航虛擬主機(jī)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)頁設(shè)計(jì)公司