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

怎么安裝RPM方式單機(jī)數(shù)據(jù)庫

本篇內(nèi)容介紹了“怎么安裝RPM方式單機(jī)數(shù)據(jù)庫”的有關(guān)知識,在實(shí)際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!

10年積累的網(wǎng)站制作、網(wǎng)站建設(shè)經(jīng)驗(yàn),可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識你,你也不認(rèn)識我。但先網(wǎng)站設(shè)計(jì)制作后付款的網(wǎng)站建設(shè)流程,更有梁溪免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

一、           環(huán)境介紹

操作系統(tǒng)

Red Hat Enterprise Linux   Server release 7.7 (Maipo)

數(shù)據(jù)庫版本

Oracle database 19.3

主機(jī)名

adg19c

IP地址

192.168.84.99

安裝目錄

/DBSoft/oracle/product/19.3/dbhome_1

數(shù)據(jù)庫名稱

woo

字符集

AL32UTF8

二、           環(huán)境準(zhǔn)備

2.1.   關(guān)閉防火墻

[root@adg19c ~]# systemctl stop firewalld
[root@adg19c ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

2.2.   禁用NetworkManager服務(wù)

[root@adg19c ~]# systemctl stop NetworkManager
[root@adg19c ~]# systemctl disable NetworkManager

2.3.   禁用SELINUX

[root@adg19c ~]# setenforce 0
setenforce: SELinux is disabled
[root@adg19c ~]# sed -i "/^SELINUX=/s#enforcing#disabled#" /etc/selinux/config

2.4.   配置HOSTS解析

[root@adg19c ~]# cat >> /etc/hosts <<EOF
> 
> 192.168.84.99         adg19c
> EOF

2.5.   修改主機(jī)名

[root@adg19c ~]#sed -i 's#^HOSTNAME=.*$#HOSTNAME=db01#' /etc/sysconfig/network
[root@adg19c ~]# sed -i 's#^NETWORKING_IPV6=.*$#NETWORKING_IPV6=no#' /etc/sysconfig/network

2.6.   配置NOZEROCONFIG

[root@adg19c ~]# cat >> /etc/sysconfig/network <<EOF
> NOZEROCONF=yes
> EOF

2.7.   配置yum環(huán)境

[root@adg19c ~]# cat > /etc/yum.repos.d/local.repo <<EOF
> [base]
> name=base
> baseurl=file:///mnt
> enabled=1
> gpgcheck=0
> multilib_policy=all
> EOF
[root@adg19c ~]# yum clean all && yum makecache
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Cleaning repos: base

2.8.   上傳并安裝compat-libstdc++

[root@adg19c ~]# rpm -ivh /home/oracle/compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm 
warning: /home/oracle/compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:compat-libstdc++-33-3.2.3-69.el6 ################################# [100%]

注意:這個(gè)包在RHEL 7的環(huán)境中沒有,需要單獨(dú)下載后手工安裝。

三、           安裝數(shù)據(jù)庫

 3.1.     預(yù)安裝

[root@localhost ~]# ls -rtl
total 2631532
-rw-r--r--. 1 root root      18204 Apr 10 01:41 oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 2694664264 Apr 10 01:42 oracle-database-ee-19c-1.0-1.x86_64.rpm
 
[root@localhost ~]# yum localinstall -y oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm 
Loaded plugins: ulninfo
Examining oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-19c-1.0-1.el7.x86_64
Marking oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
==========================================================================================================================
 Package                            Arch       Version         Repository                                            Size
==========================================================================================================================
Installing:
 oracle-database-preinstall-19c     x86_64     1.0-1.el7       /oracle-database-preinstall-19c-1.0-1.el7.x86_64      55 k
 
Transaction Summary
==========================================================================================================================
Install  1 Package
 
Total size: 55 k
Installed size: 55 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                        1/1 
  Verifying  : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                        1/1 
 
Installed:
  oracle-database-preinstall-19c.x86_64 0:1.0-1.el7                                                                       
 
Complete!

 3.2.     安裝數(shù)據(jù)庫軟件

[root@localhost ~]# yum localinstall -y oracle-database-ee-19c-1.0-1.x86_64.rpm
Loaded plugins: ulninfo
Examining oracle-database-ee-19c-1.0-1.x86_64.rpm: oracle-database-ee-19c-1.0-1.x86_64
Marking oracle-database-ee-19c-1.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-ee-19c.x86_64 0:1.0-1 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
==========================================================================================================================
 Package                          Arch             Version           Repository                                      Size
==========================================================================================================================
Installing:
 oracle-database-ee-19c           x86_64           1.0-1             /oracle-database-ee-19c-1.0-1.x86_64           6.9 G
 
Transaction Summary
==========================================================================================================================
Install  1 Package
 
Total size: 6.9 G
Installed size: 6.9 G
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : oracle-database-ee-19c-1.0-1.x86_64                                                                                     1/1 
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure
  Verifying  : oracle-database-ee-19c-1.0-1.x86_64                                                                                     1/1 
 
Installed:
  oracle-database-ee-19c.x86_64 0:1.0-1                                                                                                    
 
Complete!

 3.3.     創(chuàng)建數(shù)據(jù)庫

[root@localhost sysconfig]# /etc/init.d/oracledb_ORCLCDB-19c configure
Configuring Oracle Database ORCLCDB.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
 /opt/oracle/cfgtoollogs/dbca/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
 
Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.

四、     一鍵自動(dòng)化安裝

 4.1.     安裝介質(zhì)下載并上傳

鏈接: https://pan.baidu.com/s/1tC7eLLp3JdRksLRWOfgPRg

提取碼:0ajw

復(fù)制這段內(nèi)容后打開百度網(wǎng)盤手機(jī)App,操作更方便哦

 4.2.     掛載操作系統(tǒng)光盤

[root@localhost ~]# mount /dev/sr0 /mnt/
mount: /dev/sr0 is write-protected, mounting read-only


 

 4.3.     執(zhí)行一鍵安裝

[root@localhost ~]# sh rhel7_oracle_1903_rpm_Install.sh 
----------------------------------------------------------------------------
Welcome to PrudentWoo Oracle 19.3 Database RPM Install Package
 
PrudentWoo QQ:286507175 E-mail:happy-wuweilong@hotmail.com

 4.4.     輸入數(shù)據(jù)庫名稱

Please Insert into ORACLE NAME: woo   --輸入woo

 4.5.     創(chuàng)建數(shù)據(jù)庫

------------------ Create Oracle Database; Name is woo -----------------------
 
Configuring Oracle Database woo.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
 /opt/oracle/cfgtoollogs/dbca/woo.
Database Information:
Global Database Name:woo
System Identifier(SID):woo
Look at the log file "/opt/oracle/cfgtoollogs/dbca/woo/woo.log" for further details.
 
Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.
Changing password for user oracle.
passwd: all authentication tokens updated successfully.

 4.6.     最后配置數(shù)據(jù)庫

sqlplus / as sysdba  << EOF
shut immediate
startup mount;
alter database archivelog;
alter database open;
alter pluggable database all open;
EOF

 4.7.     安裝完后檢查數(shù)據(jù)庫

sqlplus / as sysdba  << EOF
select userenv('language') from dual;
alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS';
select d.name,i.status,d.LOG_MODE,d.CREATED from v\$instance i,v\$database d;
show pdbs;
EOF
 
SQL> 
USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.AL32UTF8
 
SQL> 
NAME      STATUS       LOG_MODE     CREATED
--------- ------------ ------------ -------------------
WOO       OPEN         ARCHIVELOG   2020-06-01 11:22:31
 
SQL> 
    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 ORCLPDB1                       READ WRITE NO

“怎么安裝RPM方式單機(jī)數(shù)據(jù)庫”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!

分享題目:怎么安裝RPM方式單機(jī)數(shù)據(jù)庫
URL網(wǎng)址:http://chinadenli.net/article38/gpppsp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站排名、、品牌網(wǎng)站設(shè)計(jì)網(wǎng)站制作、虛擬主機(jī)關(guān)鍵詞優(yōu)化

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時(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)

搜索引擎優(yōu)化
亚洲精品一区二区三区免| 99久久人妻精品免费一区| 91日韩欧美中文字幕| 日本 一区二区 在线| 国内精品偷拍视频久久| 神马午夜福利免费视频| 日韩精品一区二区毛片| 麻豆一区二区三区在线免费| 欧美人妻一区二区三区| 日本深夜福利在线播放| 黄色国产精品一区二区三区| 国产精品免费自拍视频| 麻豆91成人国产在线观看| 亚洲一区二区亚洲日本| 婷婷伊人综合中文字幕| av免费视屏在线观看| 欧美一区日韩二区亚洲三区| 加勒比东京热拍拍一区二区| 亚洲a码一区二区三区| 高中女厕偷拍一区二区三区| 亚洲成人免费天堂诱惑| 国产成人精品在线一区二区三区| 午夜福利92在线观看| 国产中文另类天堂二区| 亚洲一区二区三区四区性色av| 欧美成人免费一级特黄| 亚洲精品日韩欧美精品| 女人精品内射国产99| 国产盗摄精品一区二区视频| 99少妇偷拍视频在线| 午夜福利黄片免费观看| 91日韩在线视频观看| 五月综合激情婷婷丁香| 日韩欧美一区二区黄色| 国产日韩欧美在线播放| 欧美精品中文字幕亚洲| 国产日产欧美精品视频| 国语对白刺激高潮在线视频| 美女被啪的视频在线观看| 久热香蕉精品视频在线播放| 中文字幕乱子论一区二区三区|