GeoDaoyu


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

本地部署ArcGIS-JS-API

Posted on 2020-06-16 | Post modified: 2020-06-16 | In ArcGIS JS API
Words count in article: 1.1k | Reading time ≈ 5

网上有很多的本地部署ArcGIS API for JavaScript教程。

我翻译并简单修改了官网的部署教程(API解压后的install.html),整理如下。

Read more »

WebSocket在SpringBoot下的实践

Posted on 2020-06-10 | Post modified: 2020-06-10 | In Java
Words count in article: 1.5k | Reading time ≈ 7

项目中有消息推送的需求,就用到了WebSocket。

先在菜鸟教程上抄一段介绍:

WebSocket 是 HTML5 开始提供的一种在单个 TCP 连接上进行全双工通讯的协议。

WebSocket 使得客户端和服务器之间的数据交换变得更加简单,允许服务端主动向客户端推送数据。在 WebSocket API 中,浏览器和服务器只需要完成一次握手,两者之间就直接可以创建持久性的连接,并进行双向数据传输。

Read more »

Nginx基础-5:SSL配置

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Nginx
Words count in article: 292 | Reading time ≈ 1

为了安全性,需要配置SSL。配置后就可以使用https来访问。

生成密钥

下载安装OpenSSL

然后进入到OpenSSL-Win64\bin目录下,执行exe文件。

看到命令行窗口。

Read more »

Nginx基础-4:负载均衡

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Nginx
Words count in article: 593 | Reading time ≈ 2

负载均衡是为减轻单个服务器负担,将请求按照某种策略分发给多个服务器。

官方文档参考:http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream

以2台Tomcat集群为例

Read more »

Nginx基础-3:反向代理

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Nginx
Words count in article: 120 | Reading time ≈ 1

反向代理,举个场景来说明什么是反向代理。

我向A服务器发请求,A服务拿到请求后,根据业务区分,把请求交给了C处理,C处理完后,给A,再由A返回给我结果。在我的视角中,我是不知道C的存在的。我始终只与A交流。

Read more »

Hello World

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Blog
Words count in article: 73 | Reading time ≈ 1

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.

Read more »

Nginx基础-2:正向代理

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Nginx
Words count in article: 697 | Reading time ≈ 3

正向代理,简单来说,就是你想请求A,但是不能直接访问A,所以你托Nginx帮你请求A,再将请求的结果返回给你。一般用来处理跨域、翻墙等。

下面以处理跨域来举例。

Read more »

Nginx基础-1:安装部署

Posted on 2020-06-03 | Post modified: 2020-06-03 | In Nginx
Words count in article: 260 | Reading time ≈ 1

Nginx作为高性能的Web服务器,小巧、稳定、香。

官网文档链接:http://nginx.org/en/docs/

下面介绍两种操作系统下的安装部署。

Read more »

个人博客搭建

Posted on 2020-06-02 | Post modified: 2020-06-03 | In Blog
Words count in article: 460 | Reading time ≈ 1

在GitHub上搭建一个个人博客,作为笔记日志的存放。

环境

  • OS: windows10
  • Node: >=10.0.0
  • Git: >=2.17.1

工具/平台

1
2
3
4
5
6
GitHub  -- 博客
Hexo -- 博客框架
NexT -- 博客主题
gitee -- 图床
PicGo -- 图片上传管理
Typora -- 编辑器
Read more »
1…45
GeoDaoyu

GeoDaoyu

GeoDaoyu's personal page

49 posts
15 categories
58 tags
GitHub E-Mail
© 2020 — 2025 GeoDaoyu | Site words total count: 31.2k
Powered by Hexo
|
Theme — NexT.Pisces v5.1.4