NMT CSE Wiki

Dept. of Computer Science & Engineering

User Tools

Site Tools


commons:virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commons:virtualbox [2018/01/28 13:07]
hashfastr
commons:virtualbox [2018/07/16 15:33] (current)
Line 5: Line 5:
  
 ===== Downloading Virtual Box and the appliance file ===== ===== Downloading Virtual Box and the appliance file =====
-  ​- First, you need to determine whether your host OS is 32-bit or 64-bit. This is your processor'​s //​architecture//​. +  - Download the Virtual Box release that matches your OS from [[https://​www.virtualbox.org/​wiki/​Downloads#​VirtualBoxBinaries|the VBox downloads page.]] Run the installer, when the download has finished.\\ \\ 
-    * If you are on Windows, follow [[https://​support.microsoft.com/​en-us/​kb/​827218|this guide]]. +  - Now, go to our [[http://​m.cs.nmt.edu/​Appliances/​|file server'​s Appliances folder]], and download ''​CSE64.ova''​.\\ \\
-    * If you are on Mac OS, open the Terminal application and run ''​$ uname -a''​. +
-      * If the output includes ''​x86_64''​ somewhere on the line, you have a 64-bit architecture. +
-      * If the output only includes ''​x86'',​ you have a 32-bit architecture.\\ \\ +
-  ​- Download the Virtual Box release that matches your OS and architecture ​from [[https://​www.virtualbox.org/​wiki/​Downloads#​VirtualBoxBinaries|the VBox downloads page.]] Run the installer, when the download has finished.\\ \\ +
-  - Now, go to our [[http://​m.cs.nmt.edu/​Appliances/​|file server'​s Appliances folder]], and download ​either ​''​Ubuntu 32-bit.ova'' ​or ''​Ubuntu 64-bit.ova'',​ depending on your architecture.\\ \\+
   -  Once this download has finished, open the file. Virtual Box should automatically open. On the settings window that appears, **check the checkbox** that says ''​Reinitialize the MAC address of all network cards''​ or your machine **may not work**. Then, click the Import button.\\ \\   -  Once this download has finished, open the file. Virtual Box should automatically open. On the settings window that appears, **check the checkbox** that says ''​Reinitialize the MAC address of all network cards''​ or your machine **may not work**. Then, click the Import button.\\ \\
   - Once the import has finished, you can click the green arrow in Virtual Box to start your new VM.   - Once the import has finished, you can click the green arrow in Virtual Box to start your new VM.
  
 ===== What next? ===== ===== What next? =====
-This machine is yours to break, fool around with, or work on! It's capable of everything you need for our introductory classes. For the newer 2018 appliance the default password is '​password'​.+This machine is yours to break, fool around with, or work on! It's capable of everything you need for our introductory classes.
  
 === Learn to use the shell === === Learn to use the shell ===
Line 30: Line 25:
   * To learn to use vim, run ''​$ vimtutor''​.   * To learn to use vim, run ''​$ vimtutor''​.
   * To learn Emacs, run ''​$ emacs'',​ then press ''​ctrl+h'',​ then press ''​t''​.   * To learn Emacs, run ''​$ emacs'',​ then press ''​ctrl+h'',​ then press ''​t''​.
 +
 +=== Change your background! ===
 +1. Download/​upload an image of your choice. This assumes you have downloaded a file ''​~/​Downloads/​bg.jpg''​.
 +
 +  $ cd ~/​.dotfiles/​openbox
 +
 +2. rename the current background file.
 +
 +  $ cp .bg.jpg old.bg.jpg
 +
 +3. Copy the new background, notice the dot and this assumes you are in the ''​~/​.dotfiles/​openbox''​ directory.
 +
 +  $ cp ~/​Downloads/​bg.jpg .bg.jpg
 +
 +4. You have to exit openbox and run ''​startx''​ again, Middle Mouse Click and Exit.
 +
 +6) run ''​startx''​
 +
 +  $ startx
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
-If Virtual Box is open but your VM isn't booting, it usually means that either you downloaded a 64-bit architecture on a 32-bit machine or virtualization is disabled in your BIOS. For help with the second issue, follow [[http://​www.howtogeek.com/​213795/​how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/​|this guide]] to re-enable it.+  * If Virtual Box is open but your VM isn't booting, it usually means that virtualization is disabled in your BIOS. For help with the second issue, follow [[http://​www.howtogeek.com/​213795/​how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/​|this guide]] to re-enable it
 + 
 +  * If Virtual Box crashes when you start the appliance, or if you get an error message about Hyper-V, you need to diable Hyper-V by following [[http://​www.poweronplatforms.com/​enable-disable-hyper-v-windows-10-8/​|this guide]].
  
-If Virtual Box crashes when you start the applianceor if you get an error message about Hyper-Vyou need to diable Hyper-V by following [[http://​www.poweronplatforms.com/​enable-disable-hyper-v-windows-10-8/​|this guide]].+  * If your screen size is too small and will not auto-adjust,​ click View at the top of the Virtual Box windowand then click Auto-Resize Guest Display. Try this a few timesVirtual Box is sometimes finickyIf this still does not work, run ''​%%sudo dpkg-reconfigure virtualbox-guest-dkms%%''​ in your terminal, and try again.
  
-If your screen size is too small and will not auto-adjustclick View at the top of the Virtual Box window, and then click Auto-Resize Guest Display. Try this few times, Virtual Box is sometimes finicky. If this still does not work, run ''​%%sudo dpkg-reconfigure virtualbox-guest-dkms%%''​ in your terminal, and try again.+  * If your virtual machine starts running out of disk spacesee the page on [[resize vdi|Resizing ​VDI]] for more info.
  
-If your virtual machine starts running out of disk space, see the page on [[resize vdi|Resizing a VDI]] for more info.+  * If your Dropbox files keep getting cleared and you're using atom follow these steps; 
 +    - Edit > Preferences > Core 
 +    - Uncheck ''​Open Empty Editor On Start''​ 
 +    - Set ''​Restore Previous Windows On Start''​ to no
  
-If you're still having trouble, come by Cramer 222 during our [[sysadmin|office hours]] and ask us for help.+  * If you're still having trouble, come by Cramer 222 during our [[sysadmin|office hours]] and ask us for help.
  
 ===== What's installed on the VM ===== ===== What's installed on the VM =====
commons/virtualbox.1517170069.txt.gz · Last modified: 2018/07/16 15:33 (external edit)