Skip to main content

VMware tools into Ubuntu...

Just doing this a few times today:

VMware Tools into Ubuntu

From the VMware menu in VCentre, choose VM->Install VMware Tools.

This makes the tools installed appear as a CDROM drive, but this now needs to be mounted, and the installer run.

On Ubuntu it's also necessary to compile the tools from source - and so we need to first install compilers etc that are not normally needed.

The script below does all of this.

Open an editor (nano or vim), to create a file called vm-tools, paste the contents in, save and then run the chmod command to make the script executable:

    cd     
(changes to your home directory)

    nano vm-tools
(paste and save)

    chmod +x vm-tools
and now run the script:

    ./vm-tools


You'll be asked for your password initially - and can safely use the defaults for all prompts.

This is the script:

#
## vmti - VMware Tools Installer
#
echo -e "\n## Installing build-essential etc...\n"
sudo apt-get install build-essential linux-headers-`uname -r` psmisc

echo -e "\n## Mounting the VMware tools CD...\n"
sudo mkdir /media/cdrom
sudo mount /dev/cdrom /media/cdrom
if [ -r /media/cdrom/VMwareTools* ] ; then
echo -e "\n## Tools CD loaded...\n"
else
echo -e "\n## ERROR!! - Tools CD not loaded properly\n"
exit
fi

echo -e "\n## Copy tools to home...\n"
cp /media/cdrom/VMwareTools* ~
cd ~
tar zxf VMwareTools*
if [ ! -d vmware-tools-distrib ] ; then
echo -e "\n## ERROR!! - Not extracted!\n"
exit
fi

echo -e "\n## Now we do the install...\n"

cd ~/vmware-tools-distrib

sudo ./vmware-install.pl

Comments

Popular posts from this blog

Health status

My health is not the best. Two and a half years ago I was diagnosed with myeloma after finding myself suddenly very breathless when doing strenuous exercise. The myeloma had in turn caused amyloidosis - which in its turn had severely affected my heart, causing heart failure. Not cool. Two years ago, after six months of prep chemo I had an autologous bone marrow transplant. Now, two years on, and I'm doing pretty well all considered. I'm not disabled in any way really - apart from not being able to easily walk more that about 500m! However, I don't have sufficient heart capacity to cope if I were to be hit by a bad flu or COVID-19... As you can imagine, I'm keeping pretty strictly to the lockdown procedures...

How can you support LinuxUpskillChallenge.org?

How can you support LinuxUpskillChallenge.org? I'm often asked how "students" of the LinuxUpskillChallenge course can support it, or show their appreciation... Patreon? No, I don't need the money, and the project itself has only minimal costs for website etc.  My small team are happy to pay for this for now. Spreading the word The major way you can help is by "spreading the word" so that as many people as possible are aware of the course. It's not always the best option - but at the moment most people are unaware that it even is an option. It's also the case that the more we have signed up for each class, the more interesting, dynamic and informative the comments in the subreddit are. Send them to:  LinuxUpskillChallenge.org Join "the team" The course material itself is a bit of a living document, needing a  constant stream of small tweaks and updates. Developing a "Part II" will take a lot of discussion and work. Managing the s...

"Succession planning" for the LinuxUpskillChallenge"

The current "Linux Upskill Challenge" course was designed as a commercial course, and was run that way from its launch eight years ago. As outlined in my recent "Health status" post here, I've now pivoted to a not-for-profit approach running on Reddit ( r/linuxupskillchallenge ). This has been pretty successful so far, but it depends on a level of care from me that's not sustainable long term. (I get monthly visits from a palliative care nurse, have a Do Not Revive notice on my refrigerator - you get the picture!) So I need some little helpers, to fill the following roles: Posting the daily lesson If the lesson hasn't been posted by me before 12:07 am UTC, then assume I'm not able to - and someone else will need to do so. The source of the lessons is in publicly available in my  Github, so anyone can do this, and it will appear at the top on the topics when viewed in "New" order. If you're a "Moderator", you can and sh...