Security setup for Oracle Enterprise Linux 6.5 on Oracle VirtualBox
Oracle Corporation provides the ability for developers to create a complete development suite on their personal windows desktop or laptop without requiring the expensive equipment for a true production system. This article outlines the process for configuration security for an Oracle Enterprise Linux 6.5 installation in preparation for installation of Oracle 12c RDBMS.
NOTE: This process can be used for most Linux installations, regardless of original company or organization providing the base Linux OS.
The two key security requirements to temporarily remove during installation of most software suites is the firewall and linux se feature.
To disable the Linux firewall perform the following:
1. Logon to the linux VM as the root user and execute the command: “chkconfig iptables off”
login as: root
[root@oel65 ~]# chkconfig iptables off
To remove the Linux SE feature, perform the following:
2. Logon to your linux VM as the root user and execute the command: “perl -pi.bak -e ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/selinux/config”.
login as: root
[root@oel65 ~]# perl -pi.bak -e ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/selinux/config
3. Issue the command “reboot” for the the changes to take affect
[root@oel65 ~]# reboot
Broadcast message from root@oel65
(/dev/pts/0) at 22:02 …
The system is going down for reboot NOW!
4. This completes the setup of the linux security for Oracle installation.
Larry Catt, OCP