参考资料 使用容器方法管理和搭建EdgeX:https://docs.edgexfoundry.org/1.2/getting-started/quick-start/ 什么是微服务,为什么要用微服务:https://www.zhihu.com/question/65502802 什么是MQTT,一 ...
分类:
其他好文 时间:
2020-09-17 21:50:36
阅读次数:
57
安装过程中报错,如下图所示。 The specified TCP port is occupied by another service.Please stop that service or use another port.(指定tcp端口已被占用,请停止那个服务或是换一个端口使用) 开始看到这 ...
分类:
其他好文 时间:
2020-09-17 21:47:07
阅读次数:
31
拉取MySQL镜像 ## 下载最新版本的MySQL镜像 docker pull mysql 创建两个主从MySQL数据库容器 第一步,需要创建一个目录,用来存放与容器中配置文件对应的物理地址 目录结构如下: master my.cnf配置文件内容如下: [mysqld] server_id = 1 ...
分类:
数据库 时间:
2020-09-17 21:17:05
阅读次数:
46
我们的目标是星辰大海更改 Docker 容器端口映射 以下方法在 Ubuntu16.04 下测试通过 但我觉得还是蛮通用的 1.创建容器时的端口映射 docker run -d -p 80:80 --name name 2.替换容器,需要停止容器 $ docker stop A $ docker c ...
分类:
其他好文 时间:
2020-09-17 18:45:22
阅读次数:
30
windows时间同步小脚本: @echo off net stop w32time net start w32time w32tm /config /manualpeerlist:时间服务器IP /syncfromflags:manual /update ...
原文地址:https://www.cnblogs.com/ScarecrowMark/p/10777235.html 一、概述 pyserial模块封装了对串口的访问。 二、特性 在支持的平台上有统一的接口。 通过python属性访问串口设置。 支持不同的字节大小、停止位、校验位和流控设置。 可以有 ...
分类:
编程语言 时间:
2020-09-17 13:40:59
阅读次数:
35
Nginx简介 1. nginx常用指令 nginx查看版本号 nginx -v nginx启动命令 nginx nginx关闭命令 nginx -s stop 检查配置文件 nginx -t 重新加载配置文件 nginx -s reload 2. Nginx配置文件(nginx.conf) ? n ...
分类:
其他好文 时间:
2020-09-15 20:59:13
阅读次数:
34
关闭防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 需要关闭 selinux,一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用 sed -i ...
分类:
其他好文 时间:
2020-09-04 17:35:16
阅读次数:
101
之前我们讲解Nginx命令行的时候,可以看到Nginx停止有两种方式,分别是nginx-squit和nginx-sstop,其中stop是指立即停止Nginx,而quit是指优雅的关闭Nginx,对应的信号也是同样的,还有我们之前提到的reload和热升级这样的过程中都涉及到了优雅的停止Nginx。那所谓的优雅的停止Nginx究竟是怎样一个过程呢,接下来让我一起来学习下吧。何为优雅的关闭?所谓的优
分类:
系统相关 时间:
2020-08-28 11:49:27
阅读次数:
70
#先激活virtualenv #启动:uwsgi uwsgi.ini#停止: uwsgi --stop uwsgi.pid[uwsgi]# 对外提供 http 服务的端口http = :8000#the local unix socket file than commnuincate to Ngin ...
分类:
其他好文 时间:
2020-08-27 17:09:56
阅读次数:
101