Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Created April 29, 2019 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmaupin/9272238610fb5fae584607c793143836 to your computer and use it in GitHub Desktop.
Save bmaupin/9272238610fb5fae584607c793143836 to your computer and use it in GitHub Desktop.
Install Oracle XE 11 on CentOS 7
# 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