- Project: VagrantBoxes@GitHub
- Use this box with Vagrant:
vagrant init terrywang/oraclelinux-7-x86_64 && vagrant up - SHA256:
44ba249926588c81ca626ae4e06d080e29ac91d32a6b892e539e29379b363f5c
This is a minimal base box built for Vagrant. Initially created using VirtualBox 4.3.24 (now 6.0.2) on Linux x86_64, guest additions installed, packaged using Vagrant 2.2.3.
NOTE: This Oracle Linux 7.6 base box can be updated to latest 7.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 7.7 is made available, just run
yum update -yand stay sharp. Enjoy!
- Release:
Oracle Linux 7.6 x86_64 - Kernels: UEK R5 =>
kernel-uek-4.14.35-1844.1.3.el7uek.x86_64, Red Hat Compatible Kernel =>3.10.0-957.1.3.el7.x86_64 - VirtualBox Guest Additions 6.0.2 installed
- Default boot target =>
multi-user.target,/etc/inittabis NO LONGER used due to the switch tosystemd. - Public YUM and EPEL configured, system up-to-date (packages and errata) as of 22 January, 2019 (UTC+11). 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=>/bootext4500M/dev/sda2=> LVM Physical Volume/dev/linux/root=>/xfs15GB/dev/linux/home=>/homeext43.8GB- No swap partition (LV) or swap file is configured
- reserved blocks percentage:
/boot=> 0%,/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 "oracle7" --natpf1 "guestssh,tcp,,2222,,22" - Hostname =>
oraclelinux7.vagrantup.com - For people who prefer the old NIC naming scheme (
ethXinstead of more predictable enpXsY), passnet.ifnames=0as kernel boot parameter to revert to old style.
- Extra packages installed
tmux(~vagrant/.tmux.confbased on Gist)vim(withVundle.vim, see~/.vimrc)gdb,strace,crash,ltracegit,tig,colordiffrsync,fdupeshtop,dstat,glances,smem,lsof,iotopcoreutils,moreutils,net-tools(inetutils),bind-utilspv,tree,psmiscwget,curl,gawk,ack,ag(the_silver_searcher)zsh(withprezto),bash-completionethtool,iptraf,iperf3,iftop,nmapbmon,tcpdump,nfs-utils,fuse-sshfsconntrack,iptstatelshw,pciutils,usbutilsreptyr,ntsysv,yum-utilsslneofetch(shell script)
- systemd services
- sshd.service (enabled)
- firewalld.service (disabled)
- kdump.service (disabled)
- postfix.service (enabled)
- sysstat.service (enabled)
- rhnsd (off)
- SELinux is disabled. To re-enable it, edit
/etc/selinux/configand reboot - Optional debuginfo repository added, disabled by default. Enable by editing
/etc/yum.repos.d/debuginfo.repo
rbenvinstalled in~vagrant/.rbenvruby2.6.0 installed usingruby-buildchef14.8.12 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
Download the base box and get the box started
$ mkdir test_environment
$ cd test_environment
$ vagrant init terrywang/oraclelinux-7-x86_64
$ vagrant up
$ vagrant ssh