Changes between Initial Version and Version 1 of Xen_Lab6


Ignore:
Timestamp:
Oct 9, 2009, 2:42:01 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lab6

    v1 v1  
     1[[PageOutline]]
     2{{{
     3#!html
     4<h1 style="text-align: center; color: blue">實作五: Eucalyptus 安裝</h1>
     5}}}
     6= 【前言】 =
     7 * 使用的 OS 為 Debian etch (5.0.3) AMD64
     8   * 桌面的 '''Web Broswer''' 為瀏覽器
     9   * 桌面的 '''終端機''' 用來輸入課程中的指令
     10 * 為了方便學員,可以使用 '''__複製__'''和'''__貼上__''' 繁瑣的指令 (請複製 "$" 之後的指令)
     11 * 黑底白字部份為指令
     12   * 第1個指令為 使用 '''vim''' 指令來編輯 hosts 這個文件
     13   * 第2個指令的 '''sudo''' 為轉換成 root 管理者身份來編輯此文件 (因 hosts 文件的權限只有 root 能修改)
     14   * 第3個指令的 '''gedit''' 給不習慣用 vim 的學員使用 (類似 windows 的 notepad)
     15{{{
     16$ vim /etc/hosts
     17$ sudo vim /etc/hosts
     18$ sudo gedit /etc/hosts
     19}}}
     20 * 白底黑字為文件內容
     21{{{
     22#!sh
     23127.0.0.1 localhost
     24}}}
     25 * 若是文件內容前面有數字則為行數 (方便學員可以快速找到文件編輯位置,下圖則為 /etc/hosts 文件的第1行)
     26{{{
     27#!sh
     281  127.0.0.1 localhost
     29}}}
     30----
     31{{{
     32#!graphviz
     33digraph finite_state_machine {
     34 rankdir=LR;
     35 ranksep=0.3;
     36 size="11,8";
     37 node[shape=box,width=3.0];
     38 
     39 "3.設定 Eucalyptus 的網路架構" -> "4.啟動 Eucalyptus";
     40 "1.新增 Eucalyptus API 套件庫" -> "2.使用 Euca2ools 來設定 Eucalyptus";
     41}
     42}}}
     43----
     44= 【Step 1:安裝 Eucalyptus API】 =
     45 * 到[http://open.eucalyptus.com/downloads 此網站]下載 Eucaluyptus API - Euca2ools (下載至家目錄)
     46 * 將下載的套件新增至套件庫
     47{{{
     48$ cd
     49$ tar zxvf euca2ools-1.0-lenny-i386.tar.gz
     50$ cd euca2ools-1.0-lenny-i386
     51$ sudo su
     52$ echo deb file://${PWD} ./ >> /etc/apt/sources.list
     53}}}
     54 * 使用 ''__aptitude install__''指令安裝 euca2ools
     55{{{
     56$ sudo aptitude update
     57$ sudo aptitude install euca2ools
     58}}}
     59----
     60【Step 2:使用 Euca2ools 來設定 Eucalyptus】
     61 *
     62{{{
     63}}}