Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save mortenbra/86d84231aafb8f095c16 to your computer and use it in GitHub Desktop.

Select an option

Save mortenbra/86d84231aafb8f095c16 to your computer and use it in GitHub Desktop.
Install Oracle XE on CentOS
# install Oracle XE 11g on CentOS
# assumes the installation file has already been copied to /u01/download
# create Oracle user and groups
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba,oinstall oracle
chown -R oracle:oinstall /u01
# change the password
passwd oracle
# unzip the installation files
cd /u01/download
unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
cd /u01/download/Disk1
# run installation
rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
# run the configuration script
# accept the defaults (unless you know what you are doing!)
/etc/init.d/oracle-xe configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment