Ubuntu

Installing VMware tools – Ubuntu

Installing VMware tools – Ubuntu requires you to navigate to the toolbar and find the option to Install VMware tools, click on it and download it if required. Once the button is pressed, it will mount the drive in Ubuntu, a folder will auto open but can also be found in the Devices section of Files. Double click VMwareTools-……..tar.gz then select vmware-tools-distrib and click Extract and choose your destination directory, in my case Desktop and then click extract. Close the Extractor and now the files exist in a usable state for you to install.

  1. Open up Terminal and type cd ./Desktop/ and hit Enter to get terminal to look at the Desktop, type ls (lima sierra) if you want to check the contents.
  2. Type cd vmware-tools-distrib and hit Enter then sudo ./vmware-install.pl and hit Enter then type in your password when prompted.
  3. Accept the /usr/bin directory as the default by hitting Enter unless you want to use another.
  4. Confirm the directory that contains the init directories by hitting Enter and repeat for the init scripts, daemon files and library files.
  5. On a first install, /usr/lib/vmware-tools won’t exist, the installer will ask for confirmation to create it so hit Enter.
  6. Confirm the documentation files directory by hitting  Enter and repeat for creating the folder.
  7. Now the final request to confirm you want to run the program, hit Enter or if you have done all of the above by mistake type no and hit Enter.

Subsequent requests for confirmation will be made and are detailed below.

  • Do you want to allow shared folders between the Guest OS and the Host? Hit Enter or type no and hit Enter.
  • /usr/bin/gcc appears valid, do you want to change it? Hit Enter or type yes and hit Enter.
  • Searching for a valid kernel header path, do you want to change it? Hit Enter or type yes and hit Enter.
  • Do you want to allow copy and paste and dragging between host and guest? Hit Enter or type no and hit Enter.
  • Would you like to enable VMware automatic kernel modules? Hit Enter or type yes and hit Enter.
  • Enable Thinprint printing? Hit Enter or type no and hit Enter.
  • Enable guest authentication? Hit Enter or type no and hit Enter.

Installation will complete and a reboot will be required for all features to become available. Type sudo reboot and hit Enter the system will then reboot and you can use Ubuntu happily.

Installing Ubuntu Server

Insert the bootable Media and ensure that the machine will read from it during boot. Select the Language you desire and then Install Ubuntu Server. Again you are prompted for language but this is the installation language rather than the page instructions, key up or down and then press Enter, select your country and then select Yes to detect the keyboard layout before following the instructions. Once you are happy that the correct keyboard layout has been generated, click Continue, give your server a name and click Continue. Enter the Name of the User you wish to create, followed by the Username and hit Continue for each. Enter a Password for the user and click Continue, then enter the Password again to confirm it and hit Continue, before selecting No for home directory encryption (this option is up to you). Next is the Time Zone setting, if you are happy with what is preset, select Yes, if not click no and correct it appropriately.

Next is the Partition configuration, press  Enter to continue with the default “Guided – use entire disk and set LVM”, select the partition you wish to use and press Enter. If you are happy to write the changes you have opted for, select Yes and then press Enter, confirm the amount of the disk you wish to use by pressing Enter. Confirm changes and write to disk by selecting Yes and pressing Enter. Enter your Proxy details if necessary or leave blank if you don’t need it and press Enter. Select how you want to keep your system up to date, in this guide I have opted for No automatic updates and press Enter.

Now the basic install is nearly over, you can select which elements you want to add to your Server but essentially you have a Server ready to install whatever you wish onto it. I personally like to add OpenSSH server so as to be able to work from a machine of my choice rather than from the device itself. Select all that you wish to by pressing spacebar and then pres Enter. Next choose Yes and press Enter to install the GRUB boot loader on the hard disk. Press Continue to finish and reboot the machine but make sure you remove the installation media before you do so.

Once booted, log in to the user you chose at the beginning of the installation and run sudo apt-get update, if you installed the most up to date distribution this should run without a hitch. For good measure, run sudo apt-get upgrade and the relevant software upgrades will now be installed. The server is now ready to be manipulated to whatever use you have planned for it, run ifconfig and note the IP address so that you can SSH into it from your desk.