Fork me on GitHub

daydayup863

人生就像一杯茶,不会苦一辈子,但总会苦一阵子。

0%

为PostgreSQL 12.3 安装Postgis 2.5.4

postgis 源码下载

巨慢, 耐心等待吧

1
2
3
4
5
6
7
8
9
postgres@jintao-ThinkPad-L490:~/download$ wget https://download.osgeo.org/postgis/source/postgis-2.5.4.tar.gz
--2020-08-11 14:57:46-- https://download.osgeo.org/postgis/source/postgis-2.5.4.tar.gz
Resolving download.osgeo.org (download.osgeo.org)... 140.211.15.30
Connecting to download.osgeo.org (download.osgeo.org)|140.211.15.30|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16041872 (15M) [application/octet-stream]
Saving to: ‘postgis-2.5.4.tar.gz’

postgis-2.5.4.tar.gz 6%[======> ] 1016K 5.72KB/s eta 43m 7s

其他版本下载地址
阅读全文 »

1
2
3
4
5
6
7
8
from ldap3 import Server, Connection, NTLM, ALL

server = Server("xxx.xxx.xxx.xxx", 389, use_ssl=False, get_info=ALL)
print(server)
conn = Connection(server, user="Domain\\username", password="password", authentication=NTLM)
print(conn.bind())
print(conn.extend.standard.who_am_i())

阅读全文 »

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate
阅读全文 »