Research background:
recently I received a project I need to use Maptiler, points to my task is to test Maptiler in Linux under the graph speed, here involves to Maptiler under the Linux installation problem, from Maptiler company got in the linux30 day trial is a rpm file, the simple use of RPM–IVH command installation will find it relies on gdal,qtwebkit, which means you need to install Gdal,qtwebkit first. When you go to install them you will find that they are dependent on other packages, and this will be stuck in an endless installation, so the purpose of this blog is to let the people unfamiliar with Linux but to install software under Linux less detours, while recording their growth.
Before you say the installation steps, talk about a few concepts that make it easy to understand the meaning of each step:
1:maptiler is a foreign software that can help us quickly publish a map service, and its transduction speed and transduction quality are a little bit better than ArcGIS.
2: is a shell front-end package manager in Fedora and Redhat as well as in CentOS. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all dependent packages at once, without the hassle of downloading and installing them over and over again.
3:epel is a software source for Yum, which contains software that is not in many basic sources.
Detailed installation steps:
*/* Note: All installations are based on Linux RedHat 7.0, and the configuration in the installation steps please find your own version pack */
/* may prompt for no corresponding permission during installation, we can add sudo to each executed command and enter the administrator password at the prompt */
1: Replace your own yum service (Yum service is paid for, can be used as a replacement, no charge, you can try your Yum service to see if it is available before you replace it, you can skip this step)
Open the Linux command terminal and follow the steps to enter the following command
"1" Rpm–ivh http://mirrors.163.com/CentOS/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm "2" RPM-IVH http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
"3" RPM-IVH http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-118.el7.centos.noarch.rpm/http MIRRORS.163.COM/CENTOS/7/OS/X86_64/PACKAGES/YUM-PLUGIN-FASTESTMIRROR-1.1.31-24.EL7.NOARCH.RPM (Note: The third step installs two RPM packages) "4" cd/etc/yum.repos.d/
"5" wget wget Http://mirrors.163.com/.help/CentOS7-Base-163.repo
"6" sed-i "s/\ $releasever/7/" Centos7-base-163.repo
"7" Yum Makecache
2: Add Epel warehouse with Yum just replaced
Yum-y Install Epel-release
3: Add Maptiler Dependency Packages Gdal and Qtwebkit
Yum-y Install Gdal (this depends on the package loading speed slightly slower)
Yum-y Install Qtwebkit
4: Install the Maptiler RPM package
RPM-IVH (Maptiler corresponds to RPM name)
This maptiler successfully installed.
Summary:
in the groping took a lot of detours, halfway also used Chinglish to Maptiler company wrote an e-mail, anyway, still very happy the final Test success. In the technical world, I am still a rookie, dare not talk more skilled what what technology, but on the road of technology I will insist on beginner's mind, bettering forward!
Because of my weak knowledge, the blog is not written in the place to welcome the point, we discuss together and progress together !
How to quickly install Maptiler under Linux