歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu Cloud Live 11.10 簡單測試筆記

Ubuntu Cloud Live 11.10 簡單測試筆記

日期:2017/2/28 15:55:11   编辑:Linux教程

Ubuntu Cloud Live 11.10 是一個USB鏡像,寫入到U盤後,就可以用“Live”的方式體驗 Openstack。什麼是“Live”方式呢?呵呵,就是用U盤或光盤直接啟動電腦進入的桌面環境,不會改變本機硬盤的任何數據。

地址:
http://cloud.ubuntu.com/2011/10/ubuntu-cloud-live-11-10-is-available/

通過安裝有Ubuntu Desktop的計算機,下載ubuntu-11.10-cloud-live-amd64.img,保存到,比如說,主文件夾下的Downloads目錄。

插入U盤(官方推薦至少4G,我用2G的來實驗),在終端窗口運行:

$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x624aa2e0

Device Boot Start End Blocks Id System
/dev/sda1 * 63 122881184 61440561 7 HPFS/NTFS/exFAT
/dev/sda2 122882048 123496447 307200 83 Linux
/dev/sda3 123496448 131885055 4194304 82 Linux swap / Solaris
/dev/sda4 131887102 625141759 246627329 5 Extended
/dev/sda5 131887104 625141759 246627328 83 Linux

Disk /dev/sdd: 2031 MB, 2031091712 bytes
4 heads, 32 sectors/track, 30992 cylinders, total 3966976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007c916

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 1085439 542719+ 6 FAT16
gt@gt-Dell:~$

在輸出結果中判斷,U盤被加載為 /dev/sdd 。

繼續,cd 到保存img文件的目錄:

gt@gt-Dell:~$ cd ~/Downloads
gt@gt-Dell:~/Downloads$ sudo dd if=ubuntu-11.10-cloud-live-amd64.img of=/dev/sdd

記錄了1085440+0 的讀入
記錄了1085440+0 的寫出
555745280字節(556 MB)已復制,161.524 秒,3.4 MB/秒
gt@gt-Dell:~/Downloads$

現在,Live U盤做好了。重新啟動計算機,選擇USB啟動。看(手機拍攝,中間的大亮點是閃光燈):

桌面上的文本文件是安裝指南,按照指南的要求一步步做就可以了,英文閱讀能力要給力哦。記住,隨便弄,絕對不會影響你硬盤裡現有的系統的。試好了歡迎談談感想,我就不試了650) this.width=650;">,我還是喜歡實際部署,到目前為止,比較靠譜的還是devstack腳本。如下:

$sudo apt-get install git
$git clone git://github.com/cloudbuilders/devstack.git

Copyright © Linux教程網 All Rights Reserved