I need help installing vmware tools for Centos!
-
@nadnerB's tutorial looks good.
Official VMware documentation has you do this...I follow the equivalent for Ubuntu and it works flawlessly...
--
Installing VMware Tools from the Command Line with the RPM InstallerThe first steps are performed on the host, within Workstation menus:
-
Power on the virtual machine.
-
After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
- As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.
Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution.
mount /dev/cdrom /mnt/cdrom
cd /tmp
Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
/tmp/vmware-tools-distrib.- At the command prompt, enter:
rpm -Uhv /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.i386.rpm
umount /dev/cdrom
Where <xxxx> is the build/revision number of the VMware Workstation release.
Note: If you attempt to install an rpm installation over a tar installation — or the reverse — the installer detects the previous installation and must convert the installer database format before continuing.
- Configure VMware Tools:
Respond to the questions the installer displays on the screen. Press Enter to accept the default value.
- Log off of the root account.
exit
-
Start X and your graphical environment.
-
In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).
--
Taken from here: https://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html
-
-
In step 4, when you are trying to do the exact file name, just type out up to /mnt/cdrom/VMware and you should be able to tab complete the rest. That might even be overkill, but tab complete will be your friend!
-
Apt-get doesn't exist on CentOS. Apt is unique to the Debian family (which includes Ubuntu.)
CentOS is part of the RPM ecosystem and you use YUM there.
-
There is something basic being missed here. CentOS comes with the VMware tools already installed and fully managed by the OS. If you follow the VMware docs it says this right in them.
Also your OS is telling you this. That's why it is saying that the tools are already there. There is nothing to install, everything is already working.
-
This is another case of CentOS being so easy that it is confusing for people coming from harder operating systems.
-
@scottalanmiller said:
This is another case of CentOS being so easy that it is confusing for people coming from harder operating systems.
CentOS has VMware Tools installed by default? Is this on VMs only or on any install of CentOS period?
-
CentOS has the VMware tools built in in version 7.
-
@scottalanmiller said:
CentOS has the VMware tools built in in version 7.
That just seems odd to me...
-
@thanksaj said:
That just seems odd to me...
I'm curious, why does that seem odd to you?
I think it's very clever. One less thing to install later. -
@thanksaj said:
That just seems odd to me...
Most Linux distros already come with the equivalent tools from Xen and KVM, why not VMware. Some, like Suse, come with HyperV's tools already as well. I think that it is both the most natural thing ever, given the way that all other packages in Linux work, and one of the smartest as it makes Linux so much easier than ever before and than anyone else.
-
@nadnerB said:
I think it's very clever. One less thing to install later.
While that's nice, I think that it is minor. The far better thing is that the package is tested and maintained and automatically updated!
-
@scottalanmiller said:
@thanksaj said:
That just seems odd to me...
Most Linux distros already come with the equivalent tools from Xen and KVM, why not VMware. Some, like Suse, come with HyperV's tools already as well. I think that it is both the most natural thing ever, given the way that all other packages in Linux work, and one of the smartest as it makes Linux so much easier than ever before and than anyone else.
CentOS 7 also comes with Hyper-V tools pre-installed.
-
@scottalanmiller said:
CentOS has the VMware tools built in in version 7.
With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.
Thank for that feed back.
-
-
@MrWright4hire said:
With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.
Just wastes space. Just delete everything from /tmp. Many systems, like Solaris, mount /tmp into memory so that it is automatically flushed after every reboot. Many other systems use a cron job to blow away /tmp when it is on disk on a routine basis so that it doesn't collect dust.
-
@scottalanmiller said:
@MrWright4hire said:
With that being said, should I try to delete the files that I extracted from the vmware disc that I mounted? Will it cause any problems having extra vmware folder in /tmp.
Just wastes space. Just delete everything from /tmp. Many systems, like Solaris, mount /tmp into memory so that it is automatically flushed after every reboot. Many other systems use a cron job to blow away /tmp when it is on disk on a routine basis so that it doesn't collect dust.
Will do! Thanks again for the feed back.
-
Hello Mango fam. I need a lil help with linux command. The issue is that I added a group and added users that group, but when I use "ls -l" I don't see the group listed by the users name. When I go into each individual user directory I don't see the group that I assign them to. However, when I do cat /etc/group I see the group and the members I assigned.
Why can I not see them when I'm in the user dir, home dir and use "ls -l"? -
The ls command is short for "list" and it simply lists the files in a directory, nothing more. It shows who the owner is of a file or folder and who the group owner is, but it tells you nothing about which users and members of which groups. That's a different concept not related to the filesystem.
Use the "id" command instead.
-
This post is deleted! -
@MrWright4hire said:
Here you go @scottalanmiller:
[New Microsoft Office Word Document (2).docx](uploading 100%)
You posted while it was still uploading. You have to wait until it completes and the portion that says (uploading 100%) turns into the image link rather than a status message.