Skip to content

Instantly share code, notes, and snippets.

@andrewshulgin
Created March 20, 2015 20:14
Show Gist options
  • Save andrewshulgin/9b26a9bb957aab393ad3 to your computer and use it in GitHub Desktop.
Save andrewshulgin/9b26a9bb957aab393ad3 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Install Oracle XE on CentOS 7
yum install -y libaio bc net-tools
rpm -i oracle-xe-11.2.0-1.0.x86_64.rpm
/etc/init.d/oracle-xe configure
firewall-cmd --add-port 1521/tcp --permanent
firewall-cmd --reload
echo "ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe" > /etc/profile.d/oracle-xe.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment