*nix VirtualBox installation

Posted on February 2, 2015. Filed under: Uncategorized | Tags: , , , , , , , , , |

NOTE

The debian stuff is wrong. Select “debian graphical environment”, “Xfce” and “standard utilities” in dselect.


Installing the OS

  • Copy & paste has to be enabled in VirtualBox Manager (General > Advanced > Shared Clipboard = Bidirectional)
  • Install (Ubuntu Server) as cleanly as possible. In particular, do not select any packages to install.
  • Remove CD/DVD if necessary, and reboot.
  • sudo apt-get update and upgrade.
  • Choose one:
    • sudo apt-get install build-essential dkms linux-headers-generic xubuntu-desktop (Ubuntu)
    • sudo apt-get install build-essential dkms linux-headers-amd64 xfce (Debian)

Installing VB additions

  • Reboot
  • Mount Additions ISO from VBox’s Device menu and run:
    sudo bash /media/bri/VBOXADDITIONS_.../VBoxLinuxAdditions.run
    (it may autorun!)
  • add user to vboxsf group:
    sudo usermod -a -G vboxsf bri

Install other necessities

  • duplicity
    • add-apt-repository ppa:duplicity-team/ppa
      apt update
      apt install duplicity
    • duplicity --no-encryption file:///media/bri/SAMSUNG/backups/linux /home/o
      touch /home/o/.nobackups
  • emacs
    • apt-get install emacs24 emacs24-el emacs-goodies-el
  • git
    • add-apt-repository ppa:git-core
      apt update
      apt install git git-el git-man git-doc gitk
  • perl

    Make sure at least one source is listed in /etc/apt/sources.list

    • sudo apt-get build-dep perl
  • Turn off auto-updates
    • nano /etc/apt/apt.conf.d/20auto-upgrades

FreeBSD Guest Additions – https://www.youtube.com/watch?v=YqG5TVCy9X4

Liked it here?
Why not try sites on the blogroll...