How to install vmware-tools and use shared folders on an Ubuntu VM inside VMWare Workstation 12 Pro

Although when you I tried to enable the guest additions using the suggested open-vm-tools, it doesn’t run correctly and I’ve been unable to use shared folders between the host and guest in order to copy some files.

I accordingly used the legacy vmware-tools, and voila! everything worked fine!

My Setup:

  • Host: Ubuntu 15.10 (Wily)
  • Guest: Ubuntu 14.04.3 LTS Server
  • Hypervisor: VMWare Workstation 12 Pro

Prerequisites:

  1. Install the following packages: build-essential, linux-image-virtual, linux-headers-virtual
  2. create a directory /mnt/hgfs
  3. Right-click the settings on the VM -> Options -> Shared Folders and enable Folder Sharing and add a folder to be shared between the host & guest

Install the VMWare Tools:

  1. start the VM, then from the top menu click VM -> Install VMWare Tools. This should attach the VMWare Tools CD to the VM
  2. Mount the VMWare Tools CD: “sudo mount /dev/cdrom /media/username/cdrom”
  3. copy the “VMware-Tools-xxxx” to any folder and extract it
  4. Navigate to the created folder: “cd vmware-tools-distrib” and install: “sudo ./vmware-install.pl”
  5. Accept all the defaults
  6. Reboot!

Mount the shared folder:

  1. “sudo mount -t vmhgfs .host:/ /mnt/hgfs”

That’s it! Enjoy!

Posted in Virtualization | Tagged , , , | Leave a comment

Getting VMWare Workstation 12 Pro to work on Ubuntu Wily (15.10)

Just add this line to the  “/usr/bin/vmware” file:

export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

immediately after the “export PRODUCT_NAME bla bla bla” line.

That’s it! Enjoy!

Source: http://askubuntu.com/questions/689123/vmware-wont-work-after-ubuntu-upgrade

Posted in Ubuntu | Tagged , , , , , , | Leave a comment

Setting the CPU Governor to Performance on Ubuntu Wily (15.10)

Hi,

I prefer to always set the CPU to the performance governor as it always boosts my computer’s performance:

Update: The kernel module loaded by default that controls the cpu frequency in Ubuntu Wily’s kernel is “linux_pstate”. You have to disable it before applying the steps in the next section. You can do this by modifying “/etc/default/grub” and adding “intel_pstate=false” parameter to the “GRUB_CMDLINE_LINUX_DEFAULT” line, it should look like this:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash intel_pstate=disable”

save the file, then run “sudo update-grub”

Reboot, then do the steps below:

  1. Install the cpufrequtils package: “sudo apt-get install cpufrequtils”
  2. Edit the “/etc/init.d/cpufrequtils” file and set the following line to the governor you need (performance in my case): “GOVERNOR=”performance””
  3. Save the file and exit
  4. Reboot

That’s it! Enjoy!

Reference

Posted in Uncategorized | 1 Comment

How to change the hostname in RHEL7

At last, Red Hat has decided to act like other distros to change the hostname of the server in Red Hat Enterprise Linux 7.

In older Red Hat releases, changing the hostname required modifying the  “/etc/sysconfig/network” configuration file and edit the “HOSTNAME” parameter.

Now, all you have to do is – like other distros such as Ubuntu and LinuxMint – edit the “/etc/hostname” file and change the name there, that’s it!

Posted in Linux | Tagged , , , | Leave a comment

Linux & Antiviruses; A must-read for any Linux newbie or wannabe

A very nice article from the Ubuntu docs. It covers many questions that might arise with new Linux users or those who plan to switch to Linux.

It covers questions like:

  • Why do I need anti-virus software on Linux?
  • What are the available Open Source and Commercial Antiviruses for Linux?
  • Why is Linux less prone to malware?

I highly recommend reading it.

https://help.ubuntu.com/community/Antivirus

Posted in Linux | Tagged , , , , | Leave a comment