Sounds fun, right? Yes you can install Oracle Linux’s latest version with just 3 commands.
For TL;DR : This can be achieved using Hashicorp Vagrant.
Vagrant is an open-source software product developed by HashiCorp (Same company behind Terraform) for building and maintaining portable virtual software development environments.
Prerequisite
- You should have VirtualBox and Vagrant installed on you machine, can be downloaded from here and here respectively.
- Create a directory for your vagrant files and from within that directory, you will issue the 3 commands.
Installation
- Creating init file
- Oracle Linux 8: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json
- Oracle Linux 7: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/7.json
- Oracle Linux 6: https://oracle.github.io/vagrant-projects/boxes/oraclelinux/6.json
vagrant init oraclelinux/{release} <box json url>
Now you can see there will be a file created at your vagrant directory “C:/users/jit3n/vagrantOL8” (in my case). You can tweak that file you change things like, name, disk size, memory size of VM, Networking setting and many thing more depending on how good you are in vagrant.
- Startup Machine
- SSH into Machine
#List all boxes downloaded vagrant box list #Remove a box vagrant box remove <box name> #Change state of a VM vagrant halt vagrant up vagrant reload vagrant destroy -f
Thanks for reading…
subscribe to get notified for latest post.
Very creative
Thankyou Nikhil bhai!