Skip to content

Setting Up Local Desktop Workbench (VM)

Arjun edited this page Apr 26, 2019 · 13 revisions

Install virtual box on a local machine and make an instance of Debian 9.8

  • Download virtual box: Virtual box
  • Make a new virtual machine for a Linux Debian distribution.
  • Make sure to give enough video memory(~70mb)
  • Download Debian 9.8 netinst CD image for amd64 and mount for a virtual machine.
  • To mount follow these steps.
    • From the VBOX details window of your created Virtual Machine click the settings icon.
    • Under the storage icon, you should see Controller: IDE in the left side of the screen. Click on the Empty disk below it.
    • Attributes -> Optical drive: click the disk icon: Chose Virtual Optical Disk -> select the 9.8 netinst CD image.
    • Click Ok
  • Click Start and follow Debian install instructions, use any GUI you wish, this project follows a GNOME installation.
  • Once installed reboot and make sure the system boots, if you see a "No boot device" eject the install disk and try again.

Enable Debian utilities for development.

  • Guest additions.
  • On the Virtual box menu Choose “Devices”->”Insert Guest Additions CD image…”
  • If this does not automatically run then follow the below code.
user@debian:~$ su -
root@debian:~# apt-get update
root@debian:~# apt-get install build-essential module-assistant
root@debian:~# m-a prepare
root@debian:~# cd /media/cdrom
root@debian:~# sh ./VBoxLinuxAdditions.run
root@debian:~# reboot

Enable sudo

user@debian:~$ su -
root@debian:~# apt-get install sudo
root@debian:~# visudo
--> Under visduo -> User priveledge specifications 
-> add your user as:_your_username ALL=(ALL:ALL) ALL