Chitka

Sunday, December 11, 2016

Configure local yum using DVD iso

Hi all

Today we will try to configure local yum using DVD iso and try to install packages

To see how to install Centos OS in vmplayer check my previous post.
http://linuxbarny.blogspot.in/2016/12/steps-to-install-centos-using-vmplayer.html

Now let us start.

I will open the session in putty as it is easy to run commands.

Step1: We will link DVD iso in vmplayer. I will power off the machine so that i can add iso file

Step2: Mount the iso file to some folder permanently

Step3: create yum repoistory. Remove/Move all default repo

Step4: Try install http package for testing purpose

Step5: We will make the mount permanent. This mount iso automatically during boot.

Thats all the steps to configure your local yum

Thanks for watching. :)

Steps to install Centos using VMplayer

Install Centos6/Redhat6 using VMplayer

Here we will install centos 6. Redhat installation will be similar to centos


Below are few steps.

Step1: Open VMplayer and configure necessary settings (CPU,RAM, Disk etc)

Step2: Installation of OS. Run the VM

Step3: Once installation completes reboot the VM

Step4: After system comes up check the IP address. Currenlty there no IP address assigned.
We will check the config.
IP adress is 192.168.111.128 - This is dynamic IP which means in next reboot server may have different IP.

Step5: Create a static IP address for the server. We should know the gateway IP of the server and add it in eth0 config.
Gateway IP is 192.168.111.2

Step6: We will reboot and check if IP address is same
IP address is same.

Step7: Now you can use this IP to connect the virtual machine from putty (Host Machine)

Step8: Thats All. Hope you liked this.
Thanks