Linux 系統安裝樹的建立

來源:互聯網
上載者:User

        以Xen虛擬系統安裝樹為例
        在Xen虛擬機器半虛擬化環境中安裝Linux虛擬系統時需要使用系統安裝樹
        安裝樹是一個目錄,包含了所有系統的安裝檔案及相關程式
        這個目錄可以使用HTTP、FTP和NFS等方式提供給Xen虛擬機器用於系統的安裝
       
        配置步驟如下:
       
            ① yum install httpd
                                                                                        
            ② service httpd start
               啟動 httpd:                                               [確定]
              
            ③ mkdir /var/www/html/rhel
           
            ④ mount -o loop /mnt/hgfs/vmshare/rhel-server-5.8-i386-dvd.iso /var/www/html/rhel/
           
            ⑤ df -h
             檔案系統              容量  已用 可用 已用% 掛載點
             /dev/sda2             9.5G  7.5G  1.6G  83% /
             /dev/sda1              99M   13M   81M  14% /boot
             tmpfs                 506M     0  506M   0% /dev/shm
             none                  506M  104K  506M   1% /var/lib/xenstored
             .host:/               170G   47G  123G  28% /mnt/hgfs
             /mnt/hgfs/vmshare/rhel-server-5.8-i386-dvd.iso
                                   3.3G  3.3G     0 100% /var/www/html/rhel
                                  
            ⑥ service httpd restart
               停止 httpd:                                               [確定]
               啟動 httpd:                                               [確定]
              
            ⑦ firefox 192.168.1.114/rhel

                

                 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.