forked from essentialsofparallelcomputing/Chapter2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.autovirtualbox
78 lines (52 loc) · 2.23 KB
/
README.autovirtualbox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# These are instructions to setup a Ubuntu virtual machine for the examples in
# this chapter. The first part of the instructions must be done manually. The
# last half can be done by executing this file as a script as instructed.
# Download VirtualBox and install
# Download Ubuntu desktop install and save on local disk [ubuntu-20.04-desktop-amd64.iso]
# Download VBoxGuestAdditions.iso
# On Mac already at /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
# Setup new machine
# A couple of options for this
# 1. Use the autovirtualbox.sh script to setup a virtual machine
# a. Review the autovirtualbox.sh and modify as needed for your system
# b. Run the autovirtualbox.sh
# 2. Follow the steps below
# Click on New
# Type in a name [chapter2]
# Select Linux and Ubuntu 64-bit
# Select the amount of memory [4096]
# Create a virtual hard disk now
# Select VDI VirtualBox Disk Image
# Select Fixed Size Disk
# Select 10 GB
# Should see the new virtual machine added to the list
# Start Ubuntu virtual machine (Green arrow, start)
# Select iso file saved earlier [ubuntu-20.04-desktop-amd64.iso]
# Select Install Ubuntu
# Keyboard -- continue
# Select minimal, download updates while installing and install third-party
# Select Erase disk and install Ubuntu
# Select Install Now
# Select timezone
# Your name [chapter2]
# Your computer's name [chapter2-virtualbox]
# Username [chapter2]
# password [chapter2]
# Select "Require my password to log in"
# Select continue
# Long time ....
# Installation is complete, Restart computer
# sign in
# click through whats new
# select dots at bottom left and terminal
# sudo apt-get update
# sudo apt-get install -y build-essential dkms git
# Now go up to devices and insert virtualbox-guest-additions-iso
# Make virtualbox window active and select devices from window menus at top of screen
# Shared Clipboard --> bidirectional
# Drag and Drop --> bidirectional
# Install guest additions
# Remove optical disk -- from desktop, right click and eject or from devices-->optical disk-->remove disk from virtual drive
# reboot and test copy paste
# Copy on Mac is command-C and paste in Ubuntu is shift-ctrl-v
# Reboot to get cut and paste and screen size fixed