Friday, 13 December 2024

SOLARIS 11. 4 installation on Oracle Virtual Box

 

Hi Guys, lets try to install solaris 11 inside virtual box. Below are the exact steps you can follow blindly

First Go to url - https://www.oracle.com/solaris/solaris11/downloads/solaris11-install-downloads.html

Pick 3rd option X86Text Installer and download it 








Hit create 

IMP :  check below setting


Change CPU count to 2 




Now provide .iso file during start 










click f2













pick asia





















Power off and remove iso boot file and start vdi









Now we need to start GUI interface 
pkg install solaris-desktop


reboot once done u will see the gui



To use this IP outside - Follow below steps

Go to url - https://www.oracle.com/solaris/solaris11/downloads/solaris11-install-downloads.html







Connect to putty with ipconfig -a output IP

Change network setting to Bridge 





also before connecting from outside network try to edit this file "PermitRootLogin" inside "/etc/ssh/sshd_config" to yes . Once you change that, you'll have to restart the SSH service on the system

svcadm disable svc:/network/ssh:default
svcadm enable svc:/network/ssh:default
svcs ssh

To install GE in solaris 11 

pkgadd -G -d ./VBoxSolarisAdditions.pkg

What else if you want more of GUI like guest additions ,follow below steps 
Go to https://download.virtualbox.org/virtualbox/6.0.0/   and download guest addtions here and mount it in your storage..      Voila Thank me later !

Now you can connect from outside putty

Enjoy Learning Solaris !!















































Wednesday, 11 December 2024

 

Restore INST_TOP if it is deleted or corrupted accidently?

Below steps to restore the INST_TOP if it is deleted or corrupted without using adcfgclone.

Step 1: 

If we have CONTEXT_FILE backup then we can easily restore (follow  step-2). If CONTEXT_FILE is not there then need to follow below steps to restore CONTEXT_FILE.

  perl /clone/bin/adclonectx.pl retrieve 

Step 2:

Once we restored CONTEXT_FILE then run the auto-config using below script. It will recreate INST_TOP without using adcfgcolne.

Run AutoConfig using: "perl $AD_TOP/bin/adconfig.pl contextfile=<CONTEXT_FILE>" command and it will create the $INST_TOP