Wednesday, 29 January 2014

Installing Hyper-V in ESXi Server

        1. Firstly, Install the Server 2008 R2 or Server 2012 and Install the VMtools. then Shut It Down.

2. Add the line in esxi /etc/vmware/config
Vhv.allow = “TRUE"

3. Edit the VMX file or VM Configuration File Found in the Datastore.
And Search for “Guestos” and Edit as Follows
guestOS = "winhyperv"


4.       Now power ON the Server 2008 and Install HYPER-V Role.


Creating Local Repo file RHEL 6

Creating Local Repo file RHEL 6
11. [root@sysadmin Desktop]# mkdir /repodata/
.       
2. Copy Packages Folder From RHEL6 DVD to the Folder we have created Inside the Desktop folder “/Desktop/repodata/”
#cp –iv /media/RHEL6.0\x86_63\.... 1/Packages/* /repodata/

3.   Delete the Existing Repo File
#rm –vf /etc/yum.repo.d/*

4. Change directory to /repodata/
#cd /myrepo/

5.       #Rpm –ivh vsftpd-<>.rpm
6.       #Rpm –ivh deltarpm-<>.rpm
7.       #rpm –ivh python-delta<>.rpm
8.       #rpm –ivh create<>.rpm

#     Createrepo - -database /repodata/  
 #vi /etc/yum.repos.d/akshay.repo
Then add the following Details in the File
“ [akshay]
Name=akshay
Baseurl=file:///myrepo
Gpgcheck=0

11.   Also edit the /etc/yum.conf file, And make sure the value for gpgcheck is 0.

1.       Check the Repolist

#yum repolist

Now try to install any package 
Done !!!!!!!!!!!!!! ;)