安装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

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