- Project: VagrantBoxes@GitHub
- Use this box with Vagrant:
vagrant init terrywang/oraclelinux-6-x86_64 && vagrant up - SHA256:
ba5a3c43335ab3083f5d8b8d0dc008a88063f2cc9396ca091eed70b8d4ee3c82
This is a minimal base box built for Vagrant. Initially created using VirtualBox 4.3.18 (now 5.1.24) on Linux x86_64, guest additions installed, packaged using Vagrant 1.9.7 (initially 1.0.6).
NOTE: This Oracle Linux 6.9 base box can be updated to latest 6.x minor releases once it is made available via Oracle's Public YUM Server. You also get package updates and errata for free. For example, once Oracle Linux 6.10 is made available, just run
yum update -yand stay sharp. Enjoy!
- Release:
Oracle Linux 6.9 x86_64 - Kernels: UEK R4 =>
4.1.12-94.3.9.el6uek.x86_64, Red Hat Compatible Kernel =>2.6.32-696.6.3.el6.x86_64 - VirtualBox Guest Additions 5.1.24 installed
- Default run level 3 =>
id:3:initdefault: - Public YUM and EPEL configured, system up-to-date (packages and errata) as of 24 July, 2017 (UTC+10). Simply run
yum update -yasrootto stay updated. - Users and passwords
root/vagrantvagrant/vagrantPublic Key authentication configured for vagrant, password-less sudo
- File Systems Layout
- Virtual Hard Disk Capacity 20GB, Dynamically allocated
/dev/sda1=>/bootext4300M/dev/sda2=> LVM Physical Volume/dev/linux/root=>/ext415GB/dev/linux/home=>/homeext44.2GB/dev/linux/swap=>swap512MB- reserved blocks percentage:
/=> 0.1%,/home=> 0% btrfssupport,btrfs-progstools installed- In case more storage space is needed, create a new hard disk using
VBoxManage createhd, attach it usingVBoxManage storageattach. Then create a physical volume using the new HDD, add it to existing volume group, either grow existing logical volumes or create new ones, as you wish.
- Networking
- Networking mode - NAT
- Port forwarding configured for NAT =>
VBoxManage modifyvm "oracle6" --natpf1 "guestssh,tcp,,2222,,22" - Hostname =>
oracle.vagrantup.com
- Extra packages installed
- tmux (
~vagrant/.tmux.confbased on Gist) - vim (with Vundle.vim, see
~/.vimrc) - gdb
- strace
- git
- rsync
- htop
- pv
- ack
- colordiff
- bash-completion
- sl
- cowsay
- linux_logo (compiled from source)
- screenfetch (shell script)
- tmux (
- Services
- sshd (on)
- iptables (off)
- ip6tables (off)
- SELinux is disabled, to re-enable, edit
/etc/selinux/configand reboot - To install Oracle Database 11gR2 or 12c, the
oracle-rdbms-server-11gR2-preinstallororacle-rdbms-server-12cR1-preinstallpackage installs all dependencies and configure the system to meet all requirements with one simple step- Install Oracle RDBMS Pre-Install RPM =>
yum install oracle-rdbms-server-11gR2-preinstallfor 11gR2,yum install oracle-rdbms-server-12cR1-preinstallfor 12cR1 - Refer to How I Simplified Oracle Database 11g Installation on Oracle Linux 6
- Download Oracle Database and Fusion Middleware (e.g. WebLogic Server) installers and get your hands dirty ;-)
- NOTE: The Pre-Install RPM installs X11 client libraries but NOT X Window System server packages.
- To use GUI, enable ssh X11 Forwarding by using
ssh -X vagrant@localhost -p 2222(input vagrant user password) orssh -X -i /path/to/vagrant vagrant@localhost -p 2222for public key authentication. Private key vagrant is available here. - In case trusted X11 forwardings are required, use
ssh -Y vagrant@localhost -p 2222instead ofssh -X vagrant@localhost -p 2222.
- Install Oracle RDBMS Pre-Install RPM =>
rbenvinstalled in~vagrant/.rbenvruby 2.4.1installed usingruby-buildchef13.2.20 installed- Puppet YUM repository configured and enabled. To install puppet master run
yum install puppet-server, to install puppet on agent nodes runyum install puppet, to configure, check Configuring Puppet - Other gems =>
bundler,rbenv-rehash,ruby-shadow
Download the base box and get the box started
$ mkdir test_environment
$ cd test_environment
$ vagrant init terrywang/oraclelinux-6-x86_64
$ vagrant up
$ vagrant ssh