1. 程式人生 > >centos7安裝geowave0.9.7_hbase_geoserver2.13.2的方法

centos7安裝geowave0.9.7_hbase_geoserver2.13.2的方法

安裝geoserver2.13.2參考:https://blog.csdn.net/hsg77/article/details/81910007
安裝hbase參考:https://blog.csdn.net/hsg77/article/details/81037726
安裝的環境:
master 192.168.10.180 namenode,datanode,hmaster,hregionserver
slave1 192.168.10.181 namenode,datanode,hmaster,hregionserver
slave2 192.168.10.182 datanode,hregionserver
geoserver 192.168.10.190 tomcat geoserver geowave

geoserver伺服器hosts具體內容:

127.0.0.1   core localhost.localdomain localhost
192.168.10.190 geoserver
192.168.10.180 master
192.168.10.181 slave1
192.168.10.182 slave2

這裡寫圖片描述

此時啟動geoserver, 開啟瀏覽器進入 192.168.10.190:8080/geoserver/web 登入geoserver。預設帳號admin,密碼geoserver。

在左側data欄目下store, 點選add new store可以看到geowave外掛已經載入了

s向量資料來源
 Directory of spatial files (shapefiles) - Takes a directory of shapefiles and exposes it as a data store
 GeoPackage - GeoPackage
 GeoWave Datastore - ACCUMULO - A datastore that uses the GeoWave API for spatial data persistence in accumulo. A GeoWave store backed by tables in Apache Accumulo
 GeoWave Datastore - BIGTABLE - A datastore that uses the GeoWave API for spatial data persistence in bigtable. A GeoWave store backed by tables in Google's Cloud BigTable
 GeoWave Datastore - HBASE - A datastore that uses the GeoWave API for spatial data persistence in hbase. A GeoWave store backed by tables in Apache HBase
 PostGIS - PostGIS Database
 PostGIS (JNDI) - PostGIS Database (JNDI)

使用hbase,需要把geowave-hbase-0.9.7-apache.jar拷到hbase的lib裡面
具體位置為:/home/hadoop3/app/hbase/lib
三臺伺服器都要拷貝(與hbase有關) master,slave1,slave2

#資料準備情況:
在geoserver192.168.10.190伺服器上執行下面的程式碼:

[[email protected] geoserver]# pwd
/usr/geoserver

#拷貝檔案到這個目錄下
geowave-tools-0.9.7-apache.jar
ne_50m_admin_0_countries.shp

[[email protected] geoserver]# ls -ls
總用量 395328
 90944 -rw-r--r--. 1 root root  93122657 7月  23 21:53 geoserver.war
302124 -rw-r--r--. 1 root root 309371727 8月  23 16:23 geowave-tools-0.9.7-apache.jar
    20 -rw-r--r--. 1 root root     18008 6月  19 2017 GPL.txt
    80 -rw-r--r--. 1 root root     81585 2月  20 2018 LICENSE.txt
     4 -rw-r--r--. 1 root root         5 8月  23 16:22 ne_50m_admin_0_countries.cpg
   536 -rw-r--r--. 1 root root    546979 8月  23 16:22 ne_50m_admin_0_countries.dbf
     4 -rw-r--r--. 1 root root       143 8月  23 16:22 ne_50m_admin_0_countries.prj
    24 -rw-r--r--. 1 root root     23632 8月  23 16:22 ne_50m_admin_0_countries.README.html
     4 -rw-r--r--. 1 root root      2396 8月  23 16:22 ne_50m_admin_0_countries.sbn
     4 -rw-r--r--. 1 root root       268 8月  23 16:22 ne_50m_admin_0_countries.sbx
  1576 -rw-r--r--. 1 root root   1612740 8月  23 16:22 ne_50m_admin_0_countries.shp
     4 -rw-r--r--. 1 root root      2028 8月  23 16:22 ne_50m_admin_0_countries.shx
     4 -rw-r--r--. 1 root root         7 8月  23 16:22 ne_50m_admin_0_countries.VERSION.txt
     0 drwxr-xr-x. 2 root root        25 7月  23 22:00 target
[[email protected] geoserver]# 

#利用geowave將shp匯入hbase並將該store新增到geoserver中
#檢視geowave版本

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain --version

#修改zookeeper預設地址
檢視已有資料來源列表

java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config list

找到其中的zookeeper的key設定值
default.opts.zookeeper為config list中看到具體key為準

java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config  set default.opts.zookeeper  master:2181

#建立空間索引

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addindex -t spatial eea-spindex --partitionStrategy ROUND_ROBIN

#在hbase裡面建立geowave的eea-store
注意最後的埠,如果你修改過hbase的zookeeper記得修改

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addstore eea-store --gwNamespace geowave.eea -t hbase --zookeeper 192.168.10.180:2181

#將本地shp匯入剛剛建立的eea-store中

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain ingest localtogw -f geotools-vector ./ne_50m_admin_0_countries.shp eea-store eea-spindex

#配置geoserver連線

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config geoserver -ws geowave -u admin -p geoserver http://192.168.10.190:8080/geoserver

#利用geowave給geoserver新增layer

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain gs addlayer eea-store

資料儲存:
geowave eea-store-vector GeoWave Datastore - HBASE
需要手動新增圖層:
ne_50m_admin_0_countries geowave:ne_50m_admin_0_countries eea-store-vector

#具體過程如下所示:
匯入./ne_50m_admin_0_countries.shp到hbase中併發布到geoserver中

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain --version
{build.os=Linux
 build.jvm.vendor=Oracle Corporation
 build.jvm.version=1.8.0_131-b11
 build.maven.version=3.2.2
 build.os.arch=amd64
 build.os.version=4.9.27-14.31.amzn1.x86_64
 build.timestamp=2018-03-28T16:45:31+0000
 build.user=root
 project.branch=UNKNOWN
 project.build.args=-Dvendor.version=apache
 project.scm.revision=dbac917aff060ee206bd7b7f5dec3fa3db6ef422
 project.version=0.9.7}
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addindex -t spatial eea-spindex --partitionStrategy ROUND_ROBIN
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addstore eea-store --gwNamespace geowave.eea -t hbase --zookeeper 192.168.10.180:2181
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain ingest localtogw -f geotools-vector ./ne_50m_admin_0_countries.shp eea-store eea-spindex
23 八月 16:38:32 WARN [util.NativeCodeLoader] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
23 八月 16:38:32 INFO [zookeeper.RecoverableZooKeeper] - Process identifier=hconnection-0xa2431d0 connecting to ZooKeeper ensemble=192.168.10.180:2181
八月 23, 2018 4:38:34 下午 org.geotools.image.ImageWorker <clinit>
資訊: Warp/affine reduction enabled: true
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 4:38:34 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config geoserver -ws geowave -u admin -p geoserver http://192.168.10.190:8080/geoserver
geoserver.url=http://192.168.10.190:8080/geoserver
geoserver.pass=ENC{68336f69636339454a43743136667a34644b456b4b673d3d}
geoserver.user=admin
geoserver.workspace=geowave

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain gs addlayer eea-store
23 八月 16:40:54 WARN [util.NativeCodeLoader] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
23 八月 16:40:54 INFO [zookeeper.RecoverableZooKeeper] - Process identifier=hconnection-0x738dc9b connecting to ZooKeeper ensemble=192.168.10.180:2181
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 4:40:55 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Add GeoServer layer for 'eea-store: OK : {
  "description": "Successfully added:",
  "layers": [  {
    "id": "ne_50m_admin_0_countries",
    "type": "vector"
  }]
}
[[email protected] geoserver]#

#匯入另一個shp檔案到hbase併發布到geoserver中

./guizhou_xzq.shp

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addindex -t spatial gzxzq-spindex --partitionStrategy ROUND_ROBIN
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addstore gzxzq-store --gwNamespace geowave.gzxzq -t hbase --zookeeper 192.168.10.180:2181
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain ingest localtogw -f geotools-vector ./guizhou_xzq.shp gzxzq-store gzxzq-spindex
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config geoserver -ws geowave -u admin -p geoserver http://192.168.10.190:8080/geoserver
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain gs addlayer gzxzq-store

具體過程如下:

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addindex -t spatial gzxzq-spindex --partitionStrategy ROUND_ROBIN
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addstore gzxzq-store --gwNamespace geowave.gzxzq -t hbase --zookeeper 192.168.10.180:2181
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain ingest localtogw -f geotools-vector ./guizhou_xzq.shp gzxzq-store gzxzq-spindex
23 八月 18:04:52 WARN [util.NativeCodeLoader] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
23 八月 18:04:53 INFO [zookeeper.RecoverableZooKeeper] - Process identifier=hconnection-0xa2431d0 connecting to ZooKeeper ensemble=192.168.10.180:2181
八月 23, 2018 6:04:55 下午 org.geotools.image.ImageWorker <clinit>
資訊: Warp/affine reduction enabled: true
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 6:04:56 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
23 八月 18:05:00 INFO [client.HBaseAdmin] - Created geowave.gzxzq_GEOWAVE_METADATA
23 八月 18:05:05 INFO [client.HBaseAdmin] - Created geowave.gzxzq_SPATIAL_IDX
[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config geoserver -ws geowave -u admin -p geoserver http://192.168.10.190:8080/geoserver
geoserver.pass=ENC{68336f69636339454a43743136667a34644b456b4b673d3d}
geoserver.workspace=geowave
geoserver.url=http://192.168.10.190:8080/geoserver
geoserver.user=admin

[[email protected] geoserver]# java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain gs addlayer gzxzq-store
23 八月 18:07:22 WARN [util.NativeCodeLoader] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
23 八月 18:07:22 INFO [zookeeper.RecoverableZooKeeper] - Process identifier=hconnection-0x738dc9b connecting to ZooKeeper ensemble=192.168.10.180:2181
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
八月 23, 2018 6:07:24 下午 org.geoserver.platform.GeoServerExtensions checkContext
警告: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Add GeoServer layer for 'gzxzq-store: OK : {
  "description": "Successfully added:",
  "layers": [  {
    "id": "guizhou_xzq",
    "type": "vector"
  }]
}
[[email protected] geoserver]# 

新增2000座標系35度帶的shp檔案方法

xzq35.shp

java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addindex -t spatial xzq35-spindex --partitionStrategy ROUND_ROBIN  --crs EPSG:4523


java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config addstore xzq35-store --gwNamespace geowave.xzq35 -t hbase --zookeeper master:2181,slave1:2181,slave2:2181


java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain ingest localtogw -f geotools-vector ./xzq35.shp xzq35-store xzq35-spindex



java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain config geoserver -ws geowave -u admin -p geoserver http://192.168.145.190:8080/geoserver


java -cp ./geowave-tools-0.9.7-apache.jar mil.nga.giat.geowave.core.cli.GeoWaveMain gs addlayer xzq35-store


25 九月 17:27:43 INFO [client.HBaseAdmin] - Created geowave.xzq35_GEOWAVE_METADATA
25 九月 17:27:48 INFO [client.HBaseAdmin] - Created geowave.xzq35_SPATIAL_IDX_4523

—the–end----

相關推薦

centos7安裝geowave0.9.7_hbase_geoserver2.13.2方法

安裝geoserver2.13.2參考:https://blog.csdn.net/hsg77/article/details/81910007 安裝hbase參考:https://blog.csdn.net/hsg77/article/details/81

Centos7 安裝mysql-8.0.13(rpm)

net-tools 裝包 pen reboot sys rpm -ivh cli arc mys yum or rpm? yum安裝方式很方便,但是下載mysql的時候從官網下載,速度較慢。 rpm安裝方式可以從國內鏡像下載mysql的rpm包,比較快。rpm也適合離線安裝

Centos7安裝Oracle11g出現問題的解決方法總結

在Centos7中安裝Oracle11g時,出現無法看到提示的警示框時,則採用以下方法安裝Oracle 解決方案:./runInstaller -jreLoc /usr/local/jdk1.8 其中/usr/local/jdk1.8是jdk的安裝路徑,個人根據實際情況進行修改。 在

centos7 安裝nvidia顯示卡驅動的方法

ELRepo源安裝:ELRepo源提供了nvidia-detect命令,會自動幫你尋找合適的驅動,然後根據顯示的結果,用yum就能完成安裝,重啟之後不會有任何問題,省時省力。 1、新增ELRepo源 1.1 首先匯入公共金鑰,執行命令:rpm --import htt

Centos7安裝Python+Django開發環境 2

CentOS7安裝MySQL   在CentOS中預設安裝有MariaDB,這個是MySQL的分支,但為了需要,還是要在系統中安裝MySQL,而且安裝完成之後可以直接覆蓋掉MariaDB。 1 下載並安裝MySQL官方的 Yum Repository [[email 

CentOS7安裝docker-ce-17.03.2時的問題及解決辦法

Available: docker-ce-selinux-17.03.0.ce-1.el7.centos.noarch (docker-ce-stable) docker-ce-selinux = 17.03.0.ce-1.el7.centos

蛇形填數 描述 在n*n方陳裡填入1,2,...,n*n,要求填成蛇形。例如n=4時方陳為: 10 11 12 1 9 16 13 2 8 15 14 3 7 6 5 4

#include <stdio.h>int main() {int a[100][100];int m,n,M,N,x,y,i,j,t=0;scanf("%d",&M);N=M;for(x=0,y=M-1;N>0;N=N-2,x++,y--){for

Centos7安裝配置nginx-1.13.8

一  安裝編譯工具及庫檔案sheel> yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel二  安裝 Nginx1  下載nginx包可以去nginx官網下載安裝包 使用工

Ubuntu16.04.3 下安裝Qt5.9.1 OpenCV3.2.0 (包括OpenCV_contrib)完美版

1.安裝Qt5.9.1 Qt官網址:https://download.qt.io/official_releases/qt/ 根據自己的需要選擇版本,這裡我選擇的是qt-opensource-linux-x64-5.9.1.run下載之後通過ctrl+alt

Linux CentOS7 安裝 Qt 5.9.2

linu htm 技術 doc 環境變量 ima down blog 配置 Linux CentOS7 安裝 Qt 5.9.2 參考鏈接 http://doc.qt.io/qt-5/linux.html sudo yum groupinstall "C Developm

轉發【指令碼安裝Docker報錯(container-selinux >= 2.9)處理解決方法

轉發【指令碼安裝Docker報錯(container-selinux >= 2.9)處理解決方法】 參考:https://blog.csdn.net/qq_41772936/article/details/81080284 我的測試環境 - VMWare12 - CentO

如何在w7-64上安裝postgresql-9.6.2-1-windows-x64

href 此外 分開 賬戶 需要 管理系統 輸入密碼 sys gem PostgreSQL安裝:一、windows下安裝過程安裝介質:postgresql-9.6.2-1-windows-x64(166M),安裝過程非常簡單,過程如下:1、開始安裝: 2、選擇程序安

CentOS7安裝MySQL的方法之RPM包方式

centos7 mysql原帖地址: http://hostmaoo.com/frontend/help/help_details/id/35不是轉載,主機貓就是我的網站。 其實是想看看推廣效果。嘿嘿。本文出自 “將所學所想記錄下來” 博客,請務必保留此出處http://351660060.blog.51ct

Centos7二進制安裝mariadb最新版10.2.8

linux運維1.查看系統是否已經安裝rpm -qa mariadb*2.創建系統用戶mysql, 並指定其家目錄為 /app/mysqldb①getent passwd mysql ②useradd -d /app/mysqldb -r -m -s /sbin/nologin mysql #-

最強離線安裝MySQL_8.0.2方法

字符集 分享 例如 bsp 環境 install mysql latin1 輸入 最強離線安裝MySQL_8.0.2方法,一次就能安裝成功。 按照此方式,離線安裝MySQL五分鐘都花不到,節省了大量的寶貴時間。 前戲,假設你已經從MySQL官網中獲取了下面這個壓縮包:

開發人員學Linux(13):CentOS7安裝配置IT設備監控系統Zabbix

zabbix linux centos cacti nagios 1.前言在前一篇講述了如何安裝Memcached和Redis,在這一篇主要講述如何安裝企業級IT設備監控系統Zabbix。本人曾在某大型集團公司信息化部門工作,公司在多個城市以及一個城市的多個區有辦公區,在那裏不僅會開發軟件

在Mac OS X 10.13.2安裝nltk 和numpy

www. htm bsp ati imp optional org html pre 參考網址:http://www.nltk.org/install.html Mac/Unix Install NLTK: run sudo pip install -U nltk I

開發人員學Linux(14):CentOS7安裝配置大數據平臺Hadoop2.9.0

hadoop hdfs yarn jdk 1.前言“大雲物移”是當年很火熱的一個話題,分別指大數據、雲計算、物聯網和移動互聯網,其中大數據領域談論得多就是Hadoop。當然Hadoop不代表大數據,而是大數據處理領域的一個比較有名的開源框架而已,通常說的大數據包含了大數據的存放、大數據的分析處

Linux(centos7)安裝maven3.3.9

maven1.創建一個maven文件夾mkdir /usr/java/maven2.下載maven軟件 (官網http://maven.apache.org/download.cgi)wget http://mirror.bit.edu.cn/apache/maven/maven-3/3.3.9/binari

[記錄]安裝.Net Framework 4.6.2時出現“無法建立到信任根頒發機構的證書鏈”解決方法

ctr log arr 單元 ica micode blog 下載 otc 在安裝Microsoft .NET Framework 4.6.2脫機包時提示 無法建立到信任根頒發機構的證書鏈 實際上是要安裝一個根證書。解決方案如下(因無法貼鏈接,可百度搜索“ma