Shell Scripting Example 8 – 30 Sec’s install or upgrade VMTools remotely using arguments

Posted: April 25, 2015 in Shell Script, VMTools install or upgrade

Below script about install or upgrade VM Tools remotely if you use this script it will complete the job with in max 30 sec’s to 2 min’s.

In this script i have used arguments,totally four arguments i have used via script.

Arguments are

IP Address

Port Number

User Name

Root Password

Example:

38

 

Script steps

1.I have stored latest VM Tools in /VMTOOLS  path

2. Then i transferred VM Tools source file directory/VMTOOLS/vmware-tools-distrub/ to the remote Server /root path.

3.Then i have executed VM Tools installed file remotely.

 

37

39

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s