安装Datastore
解压datastore安装包,tar -xzvf ArcGIS_DataStore_Linux_1051_156441.tar.gz
切换到arcgis帐户静默安装server, ./Setup -m silent -l yes
切换到安装目录,启动datastore
设置DataSource开机自启动
设置DataSource开机自启动
centos7.2 是支持 systemd 的操做系统,采用以下方式。
在 shell 命令内,切换至根用户。
将 <ArcGIS Data Store installation directory>/framework/etc/scripts/arcgisdatastore.service 复制到 /etc/systemd/system。
仍然以根用户的身份运行如下命令,以在 /etc/systemd/system/multi-user.target.wants 中自动建立连接:
systemctl enable arcgisdatastore.service
欲验证 systemd 服务是否配置正确,请从新启动服务后检查其状态。
# systemctl stop arcgisdatastore.service
# systemctl start arcgisdatastore.service
# systemctl status arcgisdatastore.service