Chitika

Wednesday, September 21, 2011

Microsoft Windows8 Developers Preview on Vmware

Microsoft Windows8 Developers Preview on VMware Workstation 8


Download Microsoft Windows8 Developers preview from following location.                        http://msdn.microsoft.com/en-us/windows/apps/br229516


Vmware workstation 8 can give you windows 8 faster than Virtualbox :) 


Install Vmware Workstation 8 and Click on File > New Virtual Machine > Click on Custom > Click Next




Select Hardware Compatibility to Workstation 8.0 and Click next




Select the Installer disc image option and set the path for ISO Image. Click Next




Select Microsoft Windows (Guest Operating System) and Windows7 x64 as Version and click next




Enter your full name, User name, password, confirm password and click next




Click yes to continue without entering windows product key




Name your Virtual Machine and set the location on hard drive. Click Next




Click Next




Set the memory up to 2GB for your VM and click next




Select Use bridged networking and click next




Click next




Click next




Click next




Click next




Specify the disk file and click next




Clear check box next to power on this virtual machine after creation and click finnish  




Open VM settings and remove flopy drive from the devices list. Other wise you may have following error. 
(windwos cannot read the product key settings from the unattended answer file)
Power on your VM














Select Custom for a new copy of windows










Name your PC and click next




Click Use express settings




Give a user name and password 






Enter your password




Welcome to Windows8 Start menu :) 




Set the IP address for your VM and start using Internet with Internet Explorer 10




Microsoft Visual Studio 2011 Express Preview




You can enable remote desktop from my computer remote properties and RDP windows8 from network


Good Luck



How to Create_a_Local_Yum_Repository

You can mount your CD DVD or ISO images to create YUM repository on RedHat/CentOS 5.x.


DVD Disk or DVD ISO image


  • If you have DVD disk, please mount dvd-rom first, and then create yum repository
    • # mkdir /mnt/dvd/
    • # mount /dev/cdrom /mnt/dvd/
  • If you use DVD iso, please copy it to the system, and then create yum repository
    • # mkdir /mnt/dvd/ 
    • # mount -o loop /root/rhel5.1-dvd.iso /mnt/dvd

CD images

  • If you have multiple CD image files, You have to mount all those ISO images to create yum repository
    • # mkdir -p /mnt/{1,2,3,4,5}
    • # mount -o loop rhel5.1-disc1.iso /mnt/1
    • # mount -o loop rhel5.1-disc2.iso /mnt/2
    • # mount -o loop rhel5.1-disc3.iso /mnt/3
    • # mount -o loop rhel5.1-disc4.iso /mnt/4
    • # mount -o loop rhel5.1-disc5.iso /mnt/5

Install repository package

  • Find and install 'createrepo' package in /mnt directory
    •  # find /mnt -iname 'createrepo*' /mnt/dvd/Server/createrepo-0.4.11-3.el5.noarch.rpm
    • # rpm -ivh /mnt/dvd/Server/createrepo-0.4.11-3.el5.noarch.rpm

Create metadata

  • Create yum repository 
    • # cd /mnt/
    • # createrepo .

Define yum repository

  • Create yum repository define file /etc/yum.repos.d/dvdiso.repo
[MailRepo
name=MailRepo
baseurl=file:///mnt/ 
enabled=1
gpgcheck=0

Test 

  • Test it if its working fine. if its showing "yum list" it works
    • # yum clean all
    • # yum list
Good Luck :)

Monday, September 19, 2011

How to Install Windows 8 in VirtualBox

Microsoft has released new Operating system for developers preview. You can download and install it on a physical machine or on VirtualBox and Vmware. VirtualBox is free and open source software that lets you run various computer operating systems.


Download Microsoft Windows8 Developers preview from following location.                        http://msdn.microsoft.com/en-us/windows/apps/br229516

Download Virtualbox 4.1.2 for windows host from following location.  http://www.virtualbox.org/wiki/Download

Click on new machine button on Virtualbox and start creating your windows8 VM.  




Click Next, Name your new virtual machine "Windows 8"  Under Os Type Chose Microsoft Windows and Version Windows7 64bit.

Click Next and set the memory up to 2GB.

Click on create new hard disk and click next. 

Click on VMDK (Virtual Machine Disk) and click next.

Chose Dynamically Allocated and click next.

Select the size for hard disk and click next. 

Click Create

Click Next.

Chose Media Source ISO image which you have downloaded or the a DVD and click next. 

Click Start to create the VM.

Follow the prompts to finish the installation.

Enter your password and click submit.

That's it. Windows installation has been completed. You can use this VM from virturalbox console or you can enable remote desktop for this vm and access it from the network. 

Good Luck.