installing linux mint - page 4

12
Installation of VMware Tools (only fo r virtual machines) Includes important info about common installation problems & solutions Note: This is a good exercise! You should read through, at the very least. For more detailed instructions, please refer to the official Installing VMware Tools how-to, as well as the VMware/Tools Community Ubuntu Documentation. In the File Menu of the VMware Server , choose VM > Install VMware Tools, OK the warning message. This will mount a virtual CD-ROM drive containing the VMware Tools binaries. The virtual CD-ROM contains two f iles - one with the extension .rpm and the other with .tar.gz. The .rpm stands for RedHat Package Manager and is suitable for RedHat-based distributions. Since Linux Mint is Debian-based, this type of file is no t suitable for us (instantly). Nevertheless, even if it were, we want to use the archive (.tar .gz.). Advertise! Would you like to advertise your product/site on Dedoimedo? Read more Donate to Dedoimedo! Do you want to help me take early retirement? How about donating some dinero to Dedoimedo? Read more Installing Linux Mint - Page 4 Software & security Computer games Life topics Hillbilly physics Greatest sites 3D art Model planes Intro Page 1 Page 2 Page 3 Page 4 Page 5 External links Installing Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmint_4.html 1 of 12 3/16/2013 10:23 PM

Upload: zufusdahakavectra

Post on 03-Apr-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 1/12

Installation of VMware Tools (only for virtual machines)

Includes important info about common installation problems & solutions

Note: This is a good exercise! You should read through, at the very least.

For more detailed instructions, please refer to the official Installing VMware Tools how-to, aswell as the VMware/Tools Community Ubuntu Documentation.

In the File Menu of the VMware Server, choose VM > Install VMware Tools, OK the warningmessage. This will mount a virtual CD-ROM drive containing the VMware Tools binaries.

The virtual CD-ROM contains two files - one with the extension .rpm and the other with .tar.gz.

The .rpm stands for RedHat Package Manager and is suitable for RedHat-based distributions.

Since Linux Mint is Debian-based, this type of file is not suitable for us (instantly).Nevertheless, even if it were, we want to use the archive (.tar.gz.).

Advertise!

Would you like to

advertise your

product/site on

Dedoimedo?

Read more

Donate to

Dedoimedo!

Do you want to

help me take early

retirement? How

about donating

some dinero to

Dedoimedo?

Read more

Installing Linux Mint - Page 4

Software & security Computer games Life topics Hillbilly physics Greatest sites 3D art Model planes

Intro Page 1 Page 2 Page 3 Page 4 Page 5  External links

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 2: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 2/12

First, we need to extract it. This can be done via command line, as I have demonstrated in my

Highly useful Linux commands & configurations article, but we'll do it using the GUI.

Right-click on the file > Extract-To...

Choose a destination.

After the archive has been extracted, we need to actually install the Tools. This must be done

using the command line. First, we need to open a Terminal. The shortcut to Terminal can beeasily found in the Menu, under System.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 3: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 3/12

Once we hit the command line, we need to navigate to the directory containing the VMwareTools files. In the relevant directory, we need to locally execute the installation script (wizard).

This can be done using the following command.

sudo . / vmware- i nst al l . pl

See below in the image; notice the geeky fortune.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 4: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 4/12

The script is very simple and friendly. It asks questions, with default answers already selected.

You will merely need to hit Enter several times - although you should read each step carefully.

After several steps, you'll hit a snag. But don't worry, I led you there deliberately. The purpose

of this step is to show you that even when your installation supposedly fails, the workaround issimple and fast.

The reason you see the error below is because the default Linux Mint installation does not

come with all the packages needed for compilation of sources. We will install the missing

packages and then repeat the installation of VMware Tools.

If you read carefully, you'll notice that the installer even tells you which packages are missing -

gcc, binutils, make, and kernel sources - and where to find them, on the installation CD. Thismeans that even if you don't have a working Internet connection, you'll be able to obtain them.

This is extremely important because in a real life situation, the missing modules might be the

network adapters, for example. Luckily, you would have the sources on the CDs that came

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 5: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 5/12

Page 6: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 6/12

After all the packages are installed successfully, start the installation of VMware Toolsagain.

This time, you should get no error messages and it should work.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 7: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 7/12

You can simply restart the X session (Ctrl + Alt + Backspace) and the network service (sudo

 /etc/init.d/networking restart) for the relevant changes to take effect. Or if you feel

uncomfortable, you can simply reboot the machine.

It is important to remember that the VMware Tools offer you to change the resolution. This is

what we aimed for, among other things. Indeed, after you restart, you should enjoy the

normal-sized desktop. Don't mind the lack of the bottom panel, I took the screenshot whilethe desktop was loading.

Now, we could have also installed all of the missing packages (gcc, binutils, make, kernel

sources) with one simple command in the Terminal:

sudo apt - get i nst al l bui l d- essent i al

See in the image below:

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 8: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 8/12

This comes to show that the command line is often simpler and faster - and should not be

feared! Lastly, you might want to setup the VMware Toolbox. This toolbox allows you to

synchronize time, the clipboard and the mouse movement between the host and the guest. It

will not run by default. You can manually invoke it - or add it to auto-start with thesession.

Manually, just type in Terminal:

vmware- t ool box

Alternatively, add the VMware Toolbox to your session. Click on Menu > Preferences >Sessions.

Under Startup Programs tab, you can see all the programs currently listed and enabled for allsessions. This is what we need. You can also configure your Current Session and generalSession Options, but that's another subject.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 9: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 9/12

Click Add to create a new Startup Program.

Now, give the new entry a Name (e.g. VMware Toolbox), the Command (path to command)

and an optional Comment, which can help you (or others) understand what the program does.

The path to VMware Toolbox is /usr/bin/vmware-toolbox - unless you specified a different pathduring the installation.

Now, once you restart the machine or manually run the Toolbox, you will see the VMware Tools

Properties window come up, with all the relevant options that can be setup. In order to enjoy

the extras, you must keep the VMware Toolbox running (most likely minimized). Scripts andShrink require root permissions.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

2 3/16/2013

Page 10: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 10/12

Now, we're happy. So let's power up a browser and surf a bit.

You will notice that you cannot scroll up and down with themiddle-mouse button. This isbecause the default VMware Tools installation configures the mouse device as a class ic three-button mouse that does not have the scrollable middle mouse button. Let's change that.

Again, here's a good exercise in configuring system files and overcoming common installation

problems. We will edit the configuration file for X Server - xorg.conf , which controls all aspectsof the display - monitor, graphical drivers, mouse, and keyboard.

sudo gedi t / etc/ X11/ xor g. conf 

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

12 3/16/2013

Page 11: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 11/12

In the file, look for Identifier "Configured Mouse".

Under Option "Protocol" change whatever is written to "ExplorerPS/2". Save and exit. Restart

the X session for the changes to take effect (Ctrl + Alt + Backspace).

And that's it! We have the VMware Tools fully configured and all the installation bugs ironed.

This is a very good exercise, because it shows us how to:

Not panic.

Successfully perform a guided text installation from an archive.

Troubleshoot compilation and installation problems.

Troubleshoot post-installation problems.

Edit system configuration files.

Add new startup programs.

Tweak the resolution and mouse settings.

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi

12 3/16/2013

Page 12: Installing Linux Mint - Page 4

7/28/2019 Installing Linux Mint - Page 4

http://slidepdf.com/reader/full/installing-linux-mint-page-4 12/12

Use both the GUI and the command line to achieve desired results.

Use the Package Manager to search and install packages.

Now, let's move on to the next page for some more post-installation fun.

Copyright @ Dedoimedo.com 2006-2013; all rights reserved

 

Intro Page 1 Page 2 Page 3 Page 4 Page 5  External links

 del.icio.us  stumble  digg  reddit  slashdot

Top Home Terms of use Contact me About

ling Linux Mint - Page 4 http://www.dedoimedo.com/computers/install_linuxmi