linux 7.4安装11g报错

2299494.1

1959008.1

18841764

18370031

26247490

28429134

yum provides *fuser 最小安装。。还有其他包 compat-libstdc++...

yum install perl_CPAN

Switch-2.17.tar.gz

Env-1.04.tar.gz

www.cpan.org

打acfs的报错:

2018-12-07 10:17:42: Removing file /etc/rc.d/rc6.d/K15ohasd

2018-12-07 10:17:42: Successfully removed file: /etc/rc.d/rc6.d/K15ohasd

2018-12-07 10:17:42: Creating a link "/etc/rc.d/rc6.d/K15ohasd" pointing to /etc/init.d/ohasd

2018-12-07 10:17:42: The file ohasd has been successfully linked to the RC directories

2018-12-07 10:17:42: Executing cmd: /u01/app/11.2.0/grid/bin/acfsdriverstate supported

2018-12-07 10:17:42: Command output:

>  ACFS-9200: Supported

>End Command output

2018-12-07 10:17:42: acfs is supported

2018-12-07 10:17:42: Executing '/u01/app/11.2.0/grid/bin/acfsroot install'

2018-12-07 10:17:42: Executing cmd: /u01/app/11.2.0/grid/bin/acfsroot install

2018-12-07 10:17:47: Command output:

>  ACFS-9459: ADVM/ACFS is not supported on this OS version: '3.10.0-693.el7.x86_64'

>End Command output

2018-12-07 10:17:47: /u01/app/11.2.0/grid/bin/acfsroot install ... failed

2018-12-07 10:17:47: USM driver install status is 0

2018-12-07 10:17:47: ACFS driver install actions failed

2018-12-07 10:17:47: Starting Oracle Restart

2018-12-07 10:17:47: Executing /u01/app/11.2.0/grid/bin/crsctl start has

2018-12-07 10:17:47: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl start has

2018-12-07 10:19:25: Command output:

>  CRS-4123: Oracle High Availability Services has been started.

>End Command output

2018-12-07 10:19:25: Checking ohasd

2018-12-07 10:19:25: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check has

2018-12-07 10:19:25: ohasd started successfully

安装Oracle 11gLinux 7.4上的步骤如下: 1. 首先,确保你已经下载了Oracle 11g安装文件,可以通过Oracle官方网站来获取。 2. 安装必要的依赖包。在终端中以root用户身份运行以下命令: ```shell yum install -y binutils compat-libcap1 compat-libstdc++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++-devel libX11 libXau libxcb libXi libXtst make sysstat ``` 3. 创建用户和组。在终端中以root用户身份运行以下命令: ```shell groupadd oinstall groupadd dba useradd -g oinstall -G dba oracle ``` 4. 设置环境变量。切换到oracle用户,并编辑.bash_profile文件: ```shell su - oracle vi ~/.bash_profile ``` 添加以下内容并保存: ```shell export ORACLE_BASE=/opt/oracle export ORACLE_HOME=$ORACLE_BASE/product/11g export PATH=$PATH:$ORACLE_HOME/bin export ORACLE_SID=orcl ``` 5. 解压Oracle安装文件。切换到Oracle安装文件所在目录并执行以下命令: ```shell unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip ``` 6. 运行安装程序。回到oracle用户环境,并执行以下命令: ```shell cd database ./runInstaller ``` 7. 在图形化安装向导中按照提示完成安装。选择安装类型、目标目录、创建数据库选项、数据库配置等。这些选项根据你的需求和系统配置可能有所不同。 8. 完成安装后,执行以下命令配置所需的环境变量: ```shell cd $ORACLE_HOME ./oui/bin/runConfig.sh ``` 9. 创建监听器。运行以下命令以配置监听器: ```shell cd $ORACLE_HOME/network/admin vi listener.ora ``` 添加监听器配置并保存: ``` SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /opt/oracle/product/11g) (PROGRAM = extproc) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) ) ``` 10. 启动监听器: ```shell lsnrctl start ``` 11. 创建数据库。运行以下命令以创建数据库(以orcl为例): ```shell dbca ``` 12. 完成数据库创建后,你可以使用sqlplus命令连接到数据库。 以上是在Linux 7.4安装Oracle 11g的基本步骤,具体安装过程可能根据系统配置和需求而有所不同。请确保已经阅读Oracle官方文档并按照相关要求进行操作。
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值