Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-03-2009, 10:14 AM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 4
Rep:
|
VMWare Tools - Ubuntu Update Virtual Machine
I have Ubuntu installed in several VMWare virtual machines. Every time they release a maintenance version I have to update the VM tools in Ubuntu. Its a royal pain because I have by this time forgotten how to do it. Hope other newbies find this no brainer procedure useful.
Updating Ubuntu. - Select the Ubuntu guest and power on the virtual machine then log on.
- Select VMWare Workstation menu VM and then select Install VMWare Tools.
A CD/DVD icon will appear on the Ubuntu Desktop.
- Right click on the icon.
- Select 'Extract To' from the list.
- When the Extract GUI has opened select Desktop in the places list.
- Click the extract button and then close the GUI file browser.
- Navigate to Ubuntu menu Application/Accessories/Terminal and drag the icon to the desktop or onto the toolbar. Open the Terminal by clicking its icon.
- At the $ prompt switch to root by entering sudo bash.
- At the # prompt enter apt-get update to update your package list.
- At the # prompt enter apt-get upgrade to upgrade your components.
- At the # prompt enter apt-get dist-upgrade to upgrade your system including the Linux Kernel. Once you have done all the core updates you can edit the /etc/apt/sources.list file and uncomment all the application repositories you want to include in your updates. You can uncomment them all, but that is your call.
- Repeat steps 9, 10 just to make sure. The system is now updated.
Installing the Build Tools
- At the # prompt enter apt-get install build-essential
- At the # prompt enter uname -r
This will return the kernel version, e.g. 2.6.24-16-generic
Highlight it and right click copy to the paste board.
- At the # prompt enter apt-get install linux-headers-
then paste what was copied from the last step.
The line should now look something like install linux-headers-2.6.24-16-generic
- At the # prompt enter exit
This will return you to the $ prompt
- At the $ prompt enter cd /home/<your username>/Desktop/vmware-tools-distrib
Folder names are case sensitive so make sure you enter Desktop properly.
You are now inside the folder extracted to the desktop in steps 3 thro 6
- At the $ prompt enter sudo ./vmware-install.pl
When prompted press enter to use the default setting.
The final stage will ask you to enter a number that represents the screen resolution that you want.
- At the $ prompt enter sudo /usr/bin/vmware-toolbox
This will launch the GUI VMWare tools application. Set as required then close.
Clean Up
- Power off Ubuntu from inside Ubuntu.
- Power on Ubuntu virtual machine and log on. Notice the DVD ROM icon has gone from the Desktop.
Delete the Desktop vmware-tools-distrib folder and empty the trash can. You are now done.
Notes
An ambition would be to write a script to do all of this and have it appear on a menu. Perhaps one day?
To uninstall VMWare Tools
At the $ prompt enter sudo /usr/bin/vmware-uninstall-tools.pl
This note is based upon JustChecking's Weblog On All. How to Install VMWare Tools on Ubuntu/Debian
http://justcheckingonall.wordpress.c...-ubuntudebian/
Very useful blogging, many thanks.
Last edited by ettubu; 01-03-2009 at 10:19 AM.
Reason: Change tags but can't do it. Change Title
|
|
|
01-03-2009, 05:03 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
|
|
|
All times are GMT -5. The time now is 07:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|