使用yum快速安裝oracle11g依賴包
步奏:
a、確保網路暢通,即可連線到Internet。
b、已經安裝了yum包管理工具。c、切換到目錄 /etc/yum.repos.d/
d、獲取配置檔案並進行相應修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安裝版本項下欄位enabled=0更改為enabled=1)
e、使用yum安裝oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校驗核心修改日誌及原檔案備份情況
實戰操作:
切換到目錄 /etc/yum.repos.d/
[root@oel63 ~]# cd /etc/yum.repos.d/
獲取配置檔案並進行相應修改
[root@oel63 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
--2014-05-16 14:41:51-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>] 4,233 --.-K/s in 0.001s
2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
total 8.0K
-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
#本環境為Oracle Linux 6.3,因此修改了以下2個部分。即將需要安裝的部分的enabled的值置為1
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
使用yum安裝oracle-rdbms-server-11gR2-preinstall包
[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
[root@oel63 ~]# cd /var/log/oracle-rdbms-server-11gR2-preinstall/results/
[root@oel63 results]# ls
orakernel.log
[root@oel63 results]# more orakernel.log
參考連結:http://www.linuxidc.com/Linux/2014-09/106127.htm
相關文章
- 使用yum 安裝依賴關係較多的包
- 四、yum獲取安裝的軟體包及依賴包
- 安裝oracle11g R2 缺少依賴包Oracle
- xtrabackup_2.4.9安裝依賴包
- 【python】【安裝包依賴關係】Python
- python離線安裝外部依賴包Python
- 使用yum安裝oracle的包Oracle
- Hue安裝依賴
- kratos安裝及依賴安裝
- Linux下安裝DB2的包依賴LinuxDB2
- python安裝依賴Python
- Linux環境安裝Oracle11g(一)——配置檢查及依賴項安裝LinuxOracle
- VUE載入相關依賴包(安裝 node_modules)Vue
- 在python中使用mysql,須要安裝mysql-python依賴包,PythonMySql
- HTop依賴包
- vscode使用npm安裝依賴報錯VSCodeNPM
- rubymine debug需要安裝依賴
- mysql安裝依賴perl(Data::Dumper)MySql
- npm 安裝、刪除依賴命令NPM
- vue安裝babel依賴報錯VueBabel
- python 安裝依賴c++PythonC++
- mysql 依賴包問題MySql
- yum安裝及使用全集
- 用Maven快速生成帶有依賴的可執行jar包MavenJAR
- yum更換國內源、yum下載rpm包、 原始碼包安裝原始碼
- python 離線依賴包打包&安裝Python
- 快速安裝python包Python
- (轉)CentOS 下 rpm包與 yum 安裝與解除安裝CentOS
- LINUX下編譯原始碼時所需提前安裝的常用依賴包列表Linux編譯原始碼
- CentOS 6.4安裝Oracle 10g2 rac 包的依賴關係備記CentOSOracle 10g
- 配置本地yum源及安裝必要的包
- redhat配置yum環境安裝rpm包Redhat
- yum install 安裝linux系統包Linux
- Linux – CentOS 7 yum方式快速安裝MongoDBLinuxCentOSMongoDB
- Go官方依賴包管理工具dep的安裝及使用Go
- Linux安裝MySQL(使用yum)LinuxMySql
- 使用CocoaPods來做iOS程式的包依賴管理iOS
- RoboWare Studio安裝及依賴項解決