setting up an ubuntu vm - skkucsi.skku.edu/wp-content/uploads/install_ubuntu_vm.pdf ·...

26
Theory on Computer Architectures (Fall 2019) Setting Up an Ubuntu VM Prof. Jinkyu Jeong ([email protected] ) TA – Minwoo Ahn ([email protected] ) TA – Sunghwan Kim ([email protected] ) Computers Systems and Intelligence Laboratory (http://csi.skku.edu ) 2019. 11. 07. SWE3005

Upload: others

Post on 25-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Theory on Computer Architectures (Fall 2019)

Setting Up an Ubuntu VMProf. Jinkyu Jeong ([email protected])

TA – Minwoo Ahn ([email protected])

TA – Sunghwan Kim ([email protected])

Computers Systems and Intelligence Laboratory (http://csi.skku.edu)

2019. 11. 07.

SWE3005

Page 2: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing VirtualBox (1)

▪ Go to VirtualBox website– https://www.virtualbox.org/wiki/Downloads

▪ Download installation binary

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 3: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing VirtualBox (2)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 4: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Creating a VM (1)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 5: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Creating a VM (2)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 6: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Creating a VM (3)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 7: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Creating a VM (4)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 8: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Creating a VM (5)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 9: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

▪ Go to– https://ubuntu.com/download/desktop

Installing Ubuntu on the VM (1)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 10: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (2)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 11: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (3)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 12: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (1)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 13: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (2)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 14: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (3)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 15: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (4)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 16: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (5)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 17: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (6)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 18: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (7)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 19: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (8)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 20: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (9)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 21: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (10)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

Page 22: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (11)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

$ sudo apt-get install build-essential

Page 23: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (12)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

$ sudo apt install bison

Page 24: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Installing Ubuntu on the VM (13)

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

$ sudo apt install flex

Page 25: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Ubuntu standard command

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

▪ Open terminal- Press [ Ctrl + Alt + t ]

▪ Create a directory$ mkdir project2

▪ Enter the directory$ cd project2

▪ Download the source code$ wget https://sourceforge.net/code-snapshots/svn/s/sp/spimsimulator/code/spimsimulator-code-r694.zip

▪ Unzip file$ unzip spimsimulator-code-r694

▪ Search build essential package$ apt search build-essentials

▪ Install build essential package$ sudo apt install build-essentials

Page 26: Setting Up an Ubuntu VM - SKKUcsi.skku.edu/wp-content/uploads/Install_Ubuntu_VM.pdf · 2020-05-20 · Ubuntu standard command SWE3005: Introduction to Computer Architectures, Fall

Ubuntu standard command

SWE3005: Introduction to Computer Architectures, Fall 2019, Jinkyu Jeong ([email protected])

▪ More terminal command– http://www.informit.com/blogs/blog.aspx?uk=The-10-

Most-Important-Linux-Commands– https://www.ubuntupit.com/the-50-best-linux-

commands-to-run-in-the-terminal/– https://maker.pro/linux/tutorial/basic-linux-

commands-for-beginners