在安装 FOG Server 的过程中, 不断失败, 于是尝试在云端建个虚拟机, 安装非常顺利, 一下就完成了, 我觉得非常奇怪, 于是继续尝试, 发现在错误一直发生在这个地方.
很久之后弹出这个错误:
ERROR installing Fog, Could Not download binaries properly
网上查询后, 原来是这个文件无法下载:
https://fogproject.org/binaries1.5.7.zip
这个文件有 146MB, 从美国区下载非常快, 可是从中国网络下载, 只下载了 110KB 之后就断线了, 根本无法下载, 多方尝试无果. 后来灵光一闪, 我想着先从美国服务器下载, 然后 copy 到本地, 这样忽略掉下载的过程. 测试了几次后终于成功了. 如下是详细过程.
安装 Ubuntu Server
下载 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
然后按照 Ubuntu Desktop, 这是为了方便 U 盘 copy 那 2 个文件, 同时后续可以在本机打开 FOG Server 的页面
- sudo apt-get install Ubuntu-desktop
- cd /root
- cd /fodproject
- mkdir tmp
把之前预先下载的两个文件 copy 到这里, 下载地址如下, 参考:
- https://fogproject.org/binaries1.5.7.zip
- https://fogproject.org/binaries1.5.7.zip.sha256
然后开始安装 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
来源: http://www.bubuko.com/infodetail-3204048.html