es02-rpi-vmware ubuntu install(host).pptmicrocom.koreatech.ac.kr/lectures/ifc415/es02-rpi.pdf ·...

Post on 15-May-2020

14 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Embedded Systems KUT1-1

Embedded Systems

Vmware & Linux Install

Prof. Myung-Eui Lee (A-405)melee@kut.ac.kr

Embedded Systems KUT1-2

Lab. Network Configuration

Network IP Address» Windows PC : 192.168.0.10 » Ubuntu Virtual Machine : 192.168.0.20 Host» Raspberry Pi Target : 192.168.0.30 Target

Embedded Systems KUT1-3

IP Router Setup

PC IP Setup

» “Control Panel” “Network” “Ethernet” “Properties” “Internet Protocol Version 4(TCP/IPv4)”

» Windows PC IP : 192.168.0.10

» Gateway & DNS IP : 192.168.0.1

Embedded Systems KUT1-4

IP Router Setup

IP Router : ipTIME A304» Wired LAN setup only» IP Router Address : 192.168.0.1» Default Administrator Account/Passwd : admin/admin» Fixed IP : 172.18.14.??» Gateway IP : 172.18.14.254» DNS IP : 220.68.64.1

Embedded Systems KUT1-5

VM Installation

Virtual Machine Comparison

• VMWare

• Virtual PC

• Virtual BOX

• Bochs

• QEMU

• Parallels

구분 VirtualBox VMWare Parallels

Host OSWindows, Linux,

Mac, Solaris, FreeBSD etc

Windows, Linux, Mac Windows, Linux, Mac

Guest OSDOS, Windows, Linux, FreeBSD,

Solaris etcDOS, Windows, Linux,

FreeBSD, SolarisDOS, Windows,

Linux, OS2

Provider Oracle VMWare Parallels IP Holdings

License free(open source) shareware/commercial ($79~$189)

Commercial ($49~$79)

Embedded Systems KUT1-6

VM Installation

Virtual Machine Structure

PC Stand alone PC with VM

Embedded Systems KUT1-7

VM Installation

VMware Player : current ver. 15.1.0» Download VMware Player: Windows 64-bits version

https://www.vmware.com/go/getplayer-win

» Installation Wizard for VMware Player

Embedded Systems KUT1-8

Linux Installation

Download Ubuntu Distribution » https://www.ubuntu.com/download/desktop or» http://releases.ubuntu.com/» Current Desktop LTS Version : 18.04 LTS » ISO file : Ubuntu-18.04.3-desktop-amd64.iso (1.8GB)

Linux Install using VMware Easy Install» Create a New Virtual Machine» Installer Disk Image File(iso)» Input : Easy Install Information (ID/Passwd)

Embedded Systems KUT1-9

Linux Installation

VMware Easy Install

Embedded Systems KUT1-10

Linux Installation

VMware Easy Install» Maximum Disk Size : 60 GB

Single file : speed merit Multiple files : portable merit

Embedded Systems KUT1-11

Linux Installation

VMware Easy Install » Customize Hardware : same as “Edit virtual machine settings” » Check CPU Core and Memory Size : >msinfo32» Network Adapter : Bridged

replicate physical network connection state

Embedded Systems KUT1-12

Linux Installation

VMware Easy Install » Ubuntu Login» Show Application : Terminal or “ctrl-alt-T” --> Add to Favorites

Make “root” Password

Embedded Systems KUT1-13

Linux Installation Vmware tools Install

» Automatically install on Ubuntu booting

» Manually install after Ubuntu booting

Embedded Systems KUT1-14

Linux Installation

Vmware tools Install» https://docs.vmware.com/en/VMware-Workstation-Player-for-

Windows/15.0/com.vmware.player.win.using.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html

Run “Reinstall VMware Tools”» Automounted in /media/”user name”/VMware Tools» # cd /media/”user name”/VMware Tools » # cp VMwareTools-10.3.10-12406962.tar.gz /root» # cd /root» # tar xzpf VMwareTools-10.3.10-12406962.tar.gz» # cd vmware-tools-distrib

» Run the script for install» # ./vmware-install.pl

Embedded Systems KUT1-15

Linux Installation

Vmware tools Install

Embedded Systems KUT1-16

Linux Installation

Vmware tools Install» Answer “yes” or “enter”

Embedded Systems KUT1-17

Linux Installation

Vmware Shared folder : Windows PC and Ubuntu Host» Manage Virtual Machine Settings

Embedded Systems KUT1-18

Linux Installation Vmware Shared folder

» Browse select or new folder create

Embedded Systems KUT1-19

Linux Installation

Vmware Shared folder» Enable Folder sharing & Check the folder “/mnt/hgfs” on Ubuntu

» In case of sharing failed : “Properties “Sharing” tab “Share” share to “Everyone” on Windows PC

Embedded Systems KUT1-20

Linux Installation Time Zone Change

» “Settings” “Details” “Date & Time”

Embedded Systems KUT1-21

Linux Installation Host IP Address Setup

» “Settings” “Networks” “Wired”

Embedded Systems KUT1-22

Linux Installation Ubuntu Update & Upgrade

» 1. #apt update & # apt upgrade

or

» 2. “Show Applications” “Software Updater”

* Note :https://help.ubuntu.com/lts/installation-guide/amd64/install.en.pdf

Embedded Systems KUT1-23

Linux Installation

Host Installation is completed !!!

Embedded Systems KUT1-24

Linux Setup Option 2 Ways Hangul Option

» 1. Hangul Keyboard Input Only : Hangul Kbd + English System» 2. Hangul Linux System : Hangul Kbd + Korean System

1. Hangul Keyboard Input» Click “Show Applications” “Language Support”» Install “Language Support” App. in case of first time

» Enter password for an authentication

Embedded Systems KUT1-25

Linux Setup Option

» Click “Install/Remove Languages”» Check “Korean” & “Apply”

Default Input Method : Ibus» “Settings” “Region & Language”

“Input Sources”» Click “+” button & “more”» Search “Hangul” “Other”

“Korean(Hangul)” “Add”

Embedded Systems KUT1-26

Linux Setup Option

» Select “Korean(Hangul)” and Click “Up Arrow” button» Click “IBusHangul Setup” button

Default Toggle Key : Shift + Space» Logout/Login or Reboot

Embedded Systems KUT1-27

Linux Setup Option

2. Hangul Linux System» “Settings” “Region & Language” » Click “Language” , then Check “한국어" & “Done”

There must be “한국어”, if no “Manage Installed Languages” “Install/Remove Languages” Install “Korean” again

Some bug : install, uninstall, and install again» Logout/Login or Reboot

Embedded Systems KUT1-28

Options : Ubuntu General Install

No “Easy Install” in VMware

Embedded Systems KUT1-29

General Ubuntu Install Create a New Virtual Machine Check “I will install the operating system later” Check “Linux”, and select “Ubuntu 64-bit” Enter “Virtual machine name”, & “Location” Follow the same process from slide # 1-10 Select “New CD/DVD” at the stage of “Customize

Hardware” Check “Use ISO image file”, & enter the image file path

Embedded Systems KUT1-30

General Ubuntu Install

Click “Close” & “Finish” Play the new virtual machine Select “Install Ubuntu”, & follow the instruction

top related