安裝FOG Server

在安裝FOG Server的過程當中,不斷失敗,因而嘗試在雲端建個虛擬機,安裝很是順利,一下就完成了,我以爲很是奇怪,因而繼續嘗試,發如今錯誤一直髮生在這個地方。
安裝FOG Servergit

好久以後彈出這個錯誤:
ERROR installing Fog, Could Not download binaries properlygithub

網上查詢後,原來是這個文件沒法下載:
https://fogproject.org/binaries1.5.7.zipweb

這個文件有146MB,從美國區下載很是快,但是從中國網絡下載,只下載了110KB以後就斷線了,根本沒法下載,多方嘗試無果。後來靈光一閃,我想着先從美國服務器下載,而後copy到本地,這樣忽略掉下載的過程。測試了幾回後終於成功了。以下是詳細過程。ubuntu

  1. 安裝Ubuntu Server
  2. 下載fog project
    Install GIT
    sudo -i
    apt-get -y install git

Getting FOG
sudo -i
cd /root
git clone https://github.com/FOGProject/fogproject.git服務器

  1. 而後按照Ubuntu Desktop,這是爲了方便U盤copy那2個文件,同時後續能夠在本機打開FOG Server的頁面
    sudo apt-get install ubuntu-desktop

cd /root
cd /fodproject
mkdir tmp網絡

  1. 把以前預先下載的兩個文件copy到這裏,下載地址以下,參考: https://forums.fogproject.org/topic/13314/failed-to-download-kernel-init-and-fog-client-binaries/3

https://fogproject.org/binaries1.5.7.zip
https://fogproject.org/binaries1.5.7.zip.sha256ide

  1. 而後開始安裝FOG Server
    Running the installer
    sudo -i
    cd /root/fogproject/bin
    ./installfog.sh

If you wanted the installer to 'just go' and use all defaults, use this command:
./installfog.sh -y測試

完成以後會提示以下信息this

  • Setup completeorm

    You can now login to the FOG Management Portal using
    the information listed below. The login information
    is only if this is the first install.

    This can be done by opening a web browser and going to:

    http://172.0.0.115/fog/management

    Default User InformationUsername: fogPassword: password

相關文章
相關標籤/搜索