安裝FOG Server

在安裝FOG Server的過程中,不斷失敗,於是嘗試在雲端建個虛擬機,安裝非常順利,一下就完成了,我覺得非常奇怪,於是繼續嘗試,發現在錯誤一直髮生在這個地方。
安裝FOG Server

很久之後彈出這個錯誤:
ERROR installing Fog, Could Not download binaries properly

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

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

  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.sha256

  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

完成之後會提示如下信息

  • Setup complete

    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 Information
    Username: fog
    Password: password

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章