简体   繁体   English

尝试在 linux mint 中安装 oracle xe 18c 但出现错误。 有什么建议么?

[英]Trying to install oracle xe 18c in linux mint but getting error. Any suggestions?

Hello everyone i'm kinda new to linux and trying to install oracle 18c in linux-mint.大家好,我对 linux 有点陌生,并试图在 linux-mint 中安装 oracle 18c。 I have searched this on google and some say it does not support for this distro and some provide a solution to install 18c.我在谷歌上搜索过这个,有人说它不支持这个发行版,有些人提供了安装 18c 的解决方案。 If i somehow get this running in my sys, it will be very helpful.如果我以某种方式让它在我的系统中运行,那将非常有帮助。

My Sys info我的系统信息

shubhro@shubhro-Inspiron-5570:~$ uname -a Linux shubhro-Inspiron-5570 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux shubhro@shubhro-Inspiron-5570:~$ uname -a Linux shubhro-Inspiron-5570 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 x86_64 x86_64 x86

Below is the error im getting下面是我得到的错误

root@shubhro-Inspiron-5570:/home/shubhro# alien --script oracle-database-xe-18c-1.0-1.x86_64.rpm
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
warning: oracle-database-xe-18c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
mkdir: cannot create directory ‘oracle-database-xe-18c-1.0’: File exists
unable to mkdir oracle-database-xe-18c-1.0:  at /usr/share/perl5/Alien/Package.pm line 257.

Actually i got it working by removing the already existing file实际上我通过删除已经存在的文件来让它工作

sudo rm -rf oracle-database-xe-18c-1.0 sudo rm -rf oracle-database-xe-18c-1.0

if a file exists with that name, the system can't create a directory with the same name, so we have to rm the file for the code to run unaltered.如果存在具有该名称的文件,则系统无法创建具有相同名称的目录,因此我们必须 rm 文件以使代码原样运行。

  1. you need to install alien你需要安装外星人
sudo apt install alien libaio1 unixodbc
  1. convert the.rpm file to.deb with the command使用命令将 .rpm 文件转换为 .deb
sudo alien --script oracle-database-xe-18c-1.0-1.x86_64.rpm
  1. install by running the command通过运行命令安装
sudo dpkg -i oracle-database-xe-18c_1.0-2_amd64.deb
  1. configuration配置
sudo /etc/init.d/oracle-xe-18c configure

you can see in this link link more details您可以在此链接中查看更多详细信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么 Oracle 数据库 XE 18c 未安装在 windows 10 中? - Why Oracle Database XE 18c is not installing in windows 10? Oracle 18c 数据库安装问题 - Oracle 18c Database Installation issue 在 CentOS8.2 上安装 oracle 18c 时如何设置 java.library.path? - How to set java.library.path when install oracle 18c on CentOS8.2? 获取“无法检查可用的 memory”。 在 Oracle 数据库 18c - Getting "Unable to check for available memory." on Oracle DB 18c 使用OCI8连接到Oracle 18c数据库 - Connecting to Oracle 18c Database with OCI8 将 Oracle 12c 升级到 18c 时对象无效 - Invalid objects while upgrading Oracle 12c to 18c Oracle 18c 的所有服务都没有安装。 无法连接到 Sql plus - All the services of Oracle 18c aren't installing. couldn't connect to Sql plus oracle 数据库 11g 和 18c 有什么区别? oracle sql 开发人员和 oracle 顶点与这些有什么关系? - Whats the difference between oracle database 11g and 18c? and what do oracle sql developer and oracle apex have to do with these? 如果我启用 HR 用户和 XEPDBA1 数据库,我在 oracle 18c 中与根数据库建立的连接会停止工作吗? - Will the connections I have made to the root database in oracle 18c stop working if I enable HR user and XEPDBA1 database? 将dmp文件导入到oracle xe的新安装中 - import dmp file into a new install of oracle xe
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM