Instructions (see Ubuntu Virtual Box Start docs) Ubuntu 14.04 LTS
Details:
- In Virtualbox goto menu path Applications > Accessories > Virtualbox OSE
- Click New to start the "Create New Virtual Machine" Wizard.
- VM Name Ubuntu Ubuntu 14.04 LTS / OS Type Linux
- RAM Memory at 515.
- Either choose an existing image, go and find one with the Existing button, or press "New" to start the "Create New Virtual Disk" Wizard.
- Select dynamic Expanding Image.
- Disk size 8 GB
- Finish
Next you want to create a virtual machine
- Select the Ubuntu 14.04 LTS
- Finish.
Attach CDROM Image
- Details tab > select Storage
- Click on CD icon.
- Mount CD/DVD
- Select "Choose a virtual CD/DVD disk file...", browse and select the ISO image file.
Start the Emulator
- Select the VM and start.
- The LINUX distro should start and you see in window the command line prompt.
Install Guest Additions, this will allow you to interact with your machine and the VM machine. Without it, you will be unable to transfer things between the two, ie copy paste, or files. Instructions can be found here. Different instructions depending on your local machine (OS, Windows etc).
Command line
aptitude update
Then
aptitude full-upgrade
apt-get update
Then
apt-get dist-upgrade
Sudo gives you root access.
adduser <put user name here>
Note do not do this instead replace with user.
Add user to the sudo group.
usermod -aG sudo <user>
To switch to this user
sudo su - <user>
To see which user you are in
whoami
To test protected commands that require sudo (always think twice when you sudo, that you are doing the correct thing. Generally sudo means you are doing something in the core LINUX files needed to make it work. This is why you want a user ID, as it has that extra step requiring you to put sudo in front of the command you want to do. To test this:
Enter command
ls -la /root
You should get a statement back that requires sudo to do this command. If you did not, you missed a step above.
The command you need to enter to see root directory is
sudo ls -la /root
in my version of windows virtual box the screens and commands are slightly different but I got through creating the virtual machine fine, but in adding the DC ROM section, I am not sure which ISO image I should be looking for - should I have an ISO of UBUNTU - I am a little lost here