LINUX系统下部署百度离线地图开发API
2021/6/9 7:21:24
本文主要是介绍LINUX系统下部署百度离线地图开发API,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Bigemap离线地图发布服务器 for Linux
SDK下载地址:http://www.bigemap.com/reader/download/detail2019041117.html
当前版本:v1.2.1-slim
一站式搭建离线地图服务器,支持多种地图离线发布;提供快速WEB应用、WMTS、TMS等服务;支持二次开发调用;
系统要求
Bigemap Server 支持以下操作系统:
- Windows 7, Windows Server 2008及以上*
- CentOS 6
- CentOS 7
- Ubuntu 14.04
- Ubuntu 16.04
注* 部署到 Windows 系统直接下载安装程序。部署到 Linux 系统按照以下步骤。
安装依赖项
在安装Bigemap Server之前,需要安装一下依赖项:
- Wget
- OpenSSL (optional)
- Docker
- Docker Compose
- unzip
Wget、OpenSSL及unzip都是Bigemap Server安装脚本所需,Docker和Docker Compose是服务运行、集成容器。
CentOS 7 安装依赖项
# Most of these commands need to be run by the root user $ sudo su $ yum check-update $ yum install -y epel-release $ yum install -y wget openssl python-pip unzip # Install Docker $ curl -fsSL https://get.docker.com/ | sh # Add your user to the Docker group. i.e. centos $ usermod -aG docker <your-user-name> # Enable the Docker daemon to start at system boot $ systemctl enable docker.service # Start the Docker daemon $ systemctl start docker.service # Install Docker Compose $ pip install docker-compose
Ubuntu 14.04 安装依赖项
# Update the package database $ sudo apt-get update # Install Docker and Server dependencies $ sudo apt-get install \ linux-image-extra-$(uname -r) \ linux-image-extra-virtual \ apt-transport-https \ ca-certificates \ curl \ software-properties-common \ docker-ce \ wget \ openssl \ unzip # Add the Docker repository to APT sources $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" # Update the package database with the Docker packages $ sudo apt-get update # Install Docker $ sudo apt-get install -y docker-ce # Add your user to the Docker group. i.e. ubuntu $ sudo usermod -aG docker <your-user-name> # Check the current release and, if necessary, update it in the command below $ sudo curl -L \ https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` \ -o /usr/local/bin/docker-compose # Set execute permissions on docker-compose $ sudo chmod +x /usr/local/bin/docker-compose
Ubuntu 16.04 安装依赖项
# Update the package database $ sudo apt-get update # Install Docker and Server dependencies $ sudo apt-get install -y wget openssl python-pip unzip # Add the Docker repository to APT sources $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" # Update the package database with the Docker packages $ sudo apt-get update # Make sure you are about to install from the Docker repo $ sudo apt-cache policy docker-ce # Install Docker $ sudo apt-get install -y docker-ce # Add your user to the docker group. i.e. ubuntu $ sudo usermod -aG docker <your-user-name> # Check the current release and, if necessary, update it in the command below $ sudo curl -L \ https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` \ -o /usr/local/bin/docker-compose # Set execute permissions on docker-compose $ sudo chmod +x /usr/local/bin/docker-compose
安装 Bigemap Server
Bigemap Server Installer
Bigemap Server installer是命令行脚本(CLI)程序用于下载、安装Bigemap Server。
安装命令
命令 | 需要联网 | 描述 |
---|---|---|
download |
是 | 下载Bigemap Server |
setup |
否 | 安装Bigemap Server |
list |
是 | 查看发布的历史版本 |
remove |
否 | 卸载Bigemap Server |
下载 Installer
- 点击下载 bm-server-installer.zip
- 解压下载的zip文件:
unzip bm-server-installer.zip
- 修改执行权限:
chmod +x ./bm-server-installer
- 查看命令帮助:
./bm-server-installer help
根据安装脚本帮助步骤完成安装。
这篇关于LINUX系统下部署百度离线地图开发API的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-23linux 系统宝塔查看网站访问的命令是什么?-icode9专业技术文章分享
- 2024-11-12如何创建可引导的 ESXi USB 安装介质 (macOS, Linux, Windows)
- 2024-11-08linux的 vi编辑器中搜索关键字有哪些常用的命令和技巧?-icode9专业技术文章分享
- 2024-11-08在 Linux 的 vi 或 vim 编辑器中什么命令可以直接跳到文件的结尾?-icode9专业技术文章分享
- 2024-10-22原生鸿蒙操作系统HarmonyOS NEXT(HarmonyOS 5)正式发布
- 2024-10-18操作系统入门教程:新手必看的基本操作指南
- 2024-10-18初学者必看:操作系统入门全攻略
- 2024-10-17操作系统入门教程:轻松掌握操作系统基础知识
- 2024-09-11Linux部署Scrapy学习:入门级指南
- 2024-09-11Linux部署Scrapy:入门级指南