How to install vmware tools on oracle linux 6 Guest operating system

This method will probably work on most of the linux environments including RHEL, CENTOS.  Most Vmware administrators without linux skills will probable have a couple linux boxes running without vmware tools…here is a nice and easy way to get vmware tools installed on all your linux guest operating systems:

Login to Oracle Linux VM using SSH or via your sphere client or web client

Right click the Guest Os and select guest and select install/upgrade vmware tools option

Creat a mount point for the image

[root@user]# mkdir /mnt/cdrom

Mount VMWare Tools cdrom to previously created mount point

[root@user]# mount /dev/cdrom /mnt/cdrom

Browse cdrom content

[root@user]# cd /mnt/cdrom

Copy VMWare Tools to a temp directory, in this case I used /tmp but you can copy to any directory of your choice…

[root@user]# cp VMwareTools-9.0.0-782409.tar.gz /tmp

Unmount cdrom

[root@user]# umount /mnt/cdrom

[root@user]# cd /tmp

Untar VMWare Tools

[root@user]# tar -xvf VMwareTools-9.0.0-782409.tar.gz

[root@user]# cd vmware-tools-distrib

Then perform installation  the main installation

[root@user]# ./vmware-install.pl

You will be prompted with a lot of options, usually I use recommended settings so press ENTER to any requested action….

That’s all, Please log on to your guest OS summary pane on the Vsphere web client to confirm vmwaretools is running

FEW THINGS YOU NEED TO KNOW ABOUT SNMP

SNMP means- Simple Network Management Protocol, as the name implies, it  is an internet protocol used to monitor and manage devices on a network, such as Server, routers, switches, IP phones etc.

SNMP provides management data/variables in a readable format, which gives information about device configurations and status.

SNMP and Windows:

Most Windows machines do not turn-on or install SNMP by default, You need to manaully install and configure the SNMP service. To do this, you have to be an administrator on the machines and must possess certain network rights and permissions, thats if your computer is on a network.

How to setup a local YUM server, on RHEL 6.X

YUM- Yellowdog updater Modified is an open source package management utility for linux operating systems. it allows automatic updates and dependency management on RPM based distributions.it removes packages as well.
With YUM its easier to maintain groups of machines without having to manually update each one using rpm.

Features include :
Configuration is simple, it supports multiple repositories, does automatic depedency calculation, quick operation, easy and simple interface.

Its quite easy to create your own repository, I may not add the screen shots to this write up, but am sure for advance linux users, it will be easy peasy…

To begin:

1. Mount you ISO or DVD on the /mnt directory

# mount /dev/cdrom1 /mnt/ — where cdrom1 is your local crdom drive, or your mounted .iso file incase of ESX/ESXi

you will get a response: mount: block device /dev/sr0 is write-protected, mounting read-only

2. install vsftpd package, it can be used as an FTP server to share the repository for other client systems on the network

then change the directory to where you mounted the RHEL OS DVD.

# cd /mnt/Packages – change directory
# rpm -ivh vsftpd-2.2.2-11.el6.i686.rpm- install vsftpd

3. Start the FTP service

# service vsftpd start

4.  Install the dependencies for the creatrepo package, normally we are supposed to run the createrepo installation NOW, but there are other dependences

 # rpm -ivh deltarpm-3.5-0.5.20090913git.el6.i686.rpm
 # rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.i686.rpm   — the revision numbers might be different depending on the distribution, but the package name is thesame

5. You can now install the createrepo package

 # rpm -ivh createrepo-0.9.8-5.el6.noarch.rpm

6 Create a folder called, ‘yumserver’, you can use your own nomenclature on the /var/ftp/pub directory, this will be a location to save all the packages from the RHEL DVD or .ISO.

 # mkdir /var/ftp/pub/yumserver

7. Then copy all the packages into this directory
 
 # cp -ar *.* /var/ftp/pub/yumserver

the above process will take sometime, you will need to wait.

8. when you are done with 7 above, create a repo file called ‘localyumserver.repo‘ in the ‘ /etc/yum.repos.d/ directory

 # nano /etc/yum.repos.d/yumserver.repo – you can also use the vi editor

[yumserver]— Name of the local respository
name=”my local repository’
baseurl=file:///var/ftp/pub/yumserver   — path of the repository( where we copied the RHEL ISO)
gpgcheck=0 — Authentication ofthe repository, its disabled here
enabled=1

9. This is where we create the repository, enter the command below:

  # createrepo -v /var/ftp/pub/yumserver

Image

You going to see something like this on your screen

10. Clean up stage
# yum clean all
# yum update

You can visit this link for more information:  http://linuxsysconfig.com/2013/03/create-a-rhelcentos-local-yum-repo-from-the-os-disk/

SQL Server 2008 Express SP2 installation failed with exit code: -206857830

this error occurs while installing HP SIM, and the user enters a wrong username and password, the installation will never create this account by it self, the user will have to enter the right and active account that has administrators rights and privileges on the server where the HP SIM is installed, before the SQL Server 2008 Express can be successfully installed.

do you need to specify an alternate source path ? Windows server 2012

It took me some time to figure this out, one day, one of my servers failed, and i needed to bring up another IIS server within few minutes and my Bosses were right over my head….Lo and behold i got the error and i needed to specify an alternate source path…

Solution: Mount the windows server 2012 installation ISO, (VMWARE) or installation CD (Physical machine)
on the ‘add feature and roles’ wizard, specify the alternate source path:

D:\Sources\SxS\