You've already forked www.colben.cn
update
This commit is contained in:
@@ -6,13 +6,13 @@ tags: ["oracle"]
|
||||
categories: ["database"]
|
||||
---
|
||||
|
||||
# 环境
|
||||
## 环境
|
||||
- CentOS7.4 最小安装
|
||||
- 数据库软件
|
||||
- linux.x64_11gR2_database_1of2.zip
|
||||
- linux.x64_11gR2_database_2of2.zip
|
||||
|
||||
# 操作系统配置
|
||||
## 操作系统配置
|
||||
- 关闭 SELinux
|
||||
```bash
|
||||
sed -i '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config
|
||||
@@ -27,7 +27,7 @@ categories: ["database"]
|
||||
reboot
|
||||
```
|
||||
|
||||
# 安装依赖
|
||||
## 安装依赖
|
||||
- 安装可能用到的工具
|
||||
```bash
|
||||
yum install epel-release
|
||||
@@ -45,7 +45,7 @@ categories: ["database"]
|
||||
unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686
|
||||
```
|
||||
|
||||
# 配置安装环境
|
||||
## 配置安装环境
|
||||
- 创建 oracle 用户
|
||||
```bash
|
||||
groupadd oinstall
|
||||
@@ -122,7 +122,7 @@ categories: ["database"]
|
||||
EOF
|
||||
```
|
||||
|
||||
# 安装数据库
|
||||
## 安装数据库
|
||||
- 上传数据库软件到 /root 下,解压
|
||||
```bash
|
||||
unzip linux.x64_11gR2_database_1of2.zip -d /home/oracle/
|
||||
@@ -185,7 +185,7 @@ categories: ["database"]
|
||||
#查看屏幕输出的创建进度
|
||||
```
|
||||
|
||||
# 简单使用
|
||||
## 简单使用
|
||||
- 登陆数据库
|
||||
```
|
||||
[oracle@localhost ~]$ rlwrap sqlplus / as sysdba
|
||||
|
Reference in New Issue
Block a user