Skip to content

Instantly share code, notes, and snippets.

@eonil
Created November 6, 2013 00:10
Show Gist options
  • Save eonil/7328657 to your computer and use it in GitHub Desktop.
Save eonil/7328657 to your computer and use it in GitHub Desktop.
Oracle 11g XE on CentOS 6 Pitfalls
# Don't trust the fucking manual about minimum requirements.
# You always need 2GB of *swap* space at least and 512MB physical RAM.
# Maybe server can run with less resources, but it fails to create initial database.
# So don't expect it to run on low-end machine.
# Configure hostname properly... Oracle fails if it cannot find the server using hostname.
# Example.
echo "127.0.0.1 oracle11g.local"
# Install requirements properly. Especially, 'bc' is undocumented dependency.
# Versions are all fine. So don't worry.
yum install -y glibc make binutils gcc libaio bc
# Now you're safe to run installaion.
rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment