Thursday, November 7, 2013

Ubuntu Tips & Tricks

1. Download Linux kernel

Step 1 : Ctrl + Alt + T
Step 2 : sudo apt-get install linux-headers-$(uname -r)
Step 3 : The path to the kernel headers is then /usr/src/linux-headers-$(uname -r)/include

2. Update Link kernel header

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
 


3. Install Vmware on ubuntu

Before installing Vmware Workstation you need to install build-essential and linux headers
   sudo apt-get install build-essential linux-headers-$(uname -r)
and then
 sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h


4.Uninstaller Vmware on Linux

  • First check which version is installed in your system.
[root@fedora-home ~]# vmware-installer   --list-products
Output:
Product Name           Product Version      ====================== ==================== vmware-workstation     7.0.0.203739
  • Second- Remove  the installed version of Vmware using the following  command :
[root@fedora-home ~]# vmware-installer   -u vmware-workstation


5. customize grub loader 

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer