ubuntu配置meego qemu開發環境

2021-05-23 13:32:44 字數 1248 閱讀 2243

一、新增meego軟體庫

1. 在/etc/apt/sources.list檔案或者新建/etc/apt/sources.list.d/meego-sdk.list檔案中新增以下內容

$/$ 為平台/版本號 例如:"ubuntu/10.04".

2.新增公鑰

gpg --keyserver pgpkeys.mit.edu --recv 0bc7bec479fc1f8a

gpg --export --armor 0bc7bec479fc1f8a | sudo apt-key add -

二、安裝meego-sdk(只是乙個平台,沒有編譯環境)

sudo apt-get install meego-sdk

三、安裝qemu

sudo apt-get install qemu-arm qemu-gl

mad-admin create -f

target為:mad-admin list中target內容

sudo mad-admin create -f -e meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime (mad-admin list中runtimes內容)

六、執行qemu

mad remote -r meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime poweron

七、關閉qemu

mad remote -r meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime poweroff

八、ssh登入到qemu

ssh [email protected] -p 6666 (兩個使用者:meego/meego、root/meego)

九、qtcreator配置連線就可以了。

系統要求:

一、cpu是否支援虛擬技術

egrep '^flags.*(vmx|svm)' /proc/cpuinfo

二、載入顯示model

$ lsmod | grep kvm

kvm_intel 43816 0

kvm 164576 1 kvm_intel

上面檢查是否載入,沒載入用下面命令載入。

sudo modprobe kvm_intel

ubuntu 網路配置

進入網路配置檔案 sudo vi etc network inte ces 在這裡你應該會看到如下內容 auth lo iface lo inet loopback 這個正是 lo回環,我需要讓這台執行 ubuntu server 的機子通過 dhcp 獲得ip 來加入網路,那麼我只需要在上面的 l...

Ubuntu 網路配置

1 sudo vi etc network inte ces 更改配置為 autoeth0 ifaceeth0 inet static address 192.168.3.90 gateway 192.168.3.1 netmask 255.255.255.0 sudo etc init.d net...

ubuntu 網路配置

檢查網路配置命令 ifconfig 4 如果以dhcp方式配置網絡卡,則改為 auto eth0 iface eth0 inet dhcp 也可以在命令列下直接輸入下面的命令來獲取位址 sudo dhclient eth0 5 配置dns伺服器的位址,最多可以使用3個dns伺服器 sudo vi e...