A prerequisite for this exercise is running Oracle Linux 6. Installation and configuration has been described in this article: Installing Oracle Linux 6 and preparing for Oracle Software installations.
Cloning virtual machine in Oracle VirtualBox involves the fallowing steps:
TIP: To power up virtual machine you may use VirtualBox GUI or the following command;
[email protected]:~$ VBoxManage startvm <VM_NAME> --type headless [email protected]:~$ VBoxManage startvm DB_12c_ZEUS --type headless
Our new OS has seed’s IP (192.168.2.130) and hostname (demo) settings. Let’s alter it.
#Change HOSTNAME NETWORKING=yes HOSTNAME=zeus GATEWAY=192.168.2.1
Make sure that hosts file have right entries (remove or comment out lines with ipv6), make sure there is correct IP and hostname, edit /etc/hosts as root:
127.0.0.1 localhost.localdomain localhost 192.168.2.120 zeus.zion.local zeus
TYPE=Ethernet BOOTPROTO=none #HWADDR=00:33:E1:2A:FA:D8 # comment out or remove this line IPADDR=192.168.2.120 PREFIX=24 GATEWAY=192.168.2.1 DNS1=220.127.116.11 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME=eth0 ONBOOT=yes
Reboot the system.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.