这篇文章首先记录 Portable Server部署
GEE的GitHub地址:https://github.com/google/earthenterprise/
一.源代码下载
在GEE的github页面稳定版本下载:
tar.gz后缀的文件一般用于linux系统,zip后缀的文件一般用于windows,前面两个与后面两个的区别在哪里呢?
二、Building on Linux
1.Portable Server的安装部署指导页面:https://github.com/google/earthenterprise/wiki/Portable-Server
环境需求如下:
2.Getting a Build Environment
sudo yum -y install gcc-c++ python python-pip python-tornado swig python-psycopg2
sudo pip install pexpect
只能支持python 2.7.*版本。2.7版本没有自带pip模块,首先给python安装pip
然后通过pip来安装pexpect (用yum命令)、tornado、Imaging Library(PIL)---这个改名为Pillow(yum命令安装不了这个包)
3.Building
cd earthenterprise/earth_enterprise/src/portableserver
./build.py
开始编译:
To clean build files, run
cd earthenterprise/earth_enterprise/src/portableserver
./build.py --clean
GEE主要是用C++编写的,也有部分用了python,SWIG就是把两者联系起来的接口
SWIG安装部署参考这篇文章:SWIG简单介绍和安装到WINDOWS
G++安装部署参考这篇文件:安装g++ Compiler 到Windows