Created
April 29, 2019 20:20
-
-
Save bmaupin/9272238610fb5fae584607c793143836 to your computer and use it in GitHub Desktop.
Install Oracle XE 11 on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerequisite: download Oracle Database 11gR2 Express Edition for Linux x64 from: https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/xe-prior-releases-5172097.html | |
sudo sh -c 'curl https://public-yum.oracle.com/public-yum-ol7.repo > /etc/yum.repos.d/public-yum-ol7.repo' | |
sudo sh -c 'curl https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 > /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle' | |
sudo yum install oracle-rdbms-server-11gR2-preinstall unzip | |
unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip | |
# Don't use rpm -ivh (https://stackoverflow.com/a/18110721/399105) | |
sudo rpm -i Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm | |
sudo /etc/init.d/oracle-xe configure | |
# See here for troubleshooting: https://stackoverflow.com/q/18028942/399105 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment