Python程序操作MySQL数据库 安装pymysql第三方包: sudo pip3 install pymysql 说明: 安装命令使用 sudo pip3 install 第三方包名 卸载命令使用 sudo pip3 uninstall 第三方包 大家现在使用的虚拟机已经安装了这个第三方包,可 ...
分类:
数据库 时间:
2021-01-08 10:29:53
阅读次数:
0
一、mysql5.7源码安装1.清除卸载原mysql[root@192 ~]# rpm -qa | grep mariadbmariadb-libs-5.5.60-1.el7_5.x86_64[root@192 ~]# yum -y remove mari*或者用rpm卸载[root@192 ~]# ...
分类:
数据库 时间:
2021-01-08 10:29:39
阅读次数:
0
centos7 安装git 1、简单直接: yum install git 命令安装 (卸载Git:yum remove git) 存在问题:版本太旧(因此不建议这样) 2、wget git源码地址 (在线下载,推荐!!!) 方法: 2.1先访问:git官网:https://github.com/g ...
分类:
其他好文 时间:
2021-01-07 12:40:50
阅读次数:
0
React的生命周期从广义上分为三个阶段:挂载、渲染、卸载 挂载卸载过程 1.1.constructor() 1.2.componentWillMount() 1.3.componentDidMount() 1.4.componentWillUnmount () 更新过程 2.1. componen ...
分类:
其他好文 时间:
2021-01-07 12:35:36
阅读次数:
0
* 如果是非Ubuntu系统,下面的apt-get命令要换成yum命令。apt-cache search all | grep -> yum list installed | grepapt-get purge -y -> yum remove -y其中的参数-y是过程中所有提示都自动选yes的作用 ...
分类:
其他好文 时间:
2021-01-07 12:30:42
阅读次数:
0
常用快捷键: ctrl(control 控制键) Ctrl+C:复制 Ctrl+V:粘贴 Ctrl+A:全选 Ctrl+Z:撤销 Ctrl+Z:剪切 Ctrl+N:新建文件 Ctrl+W / Ctrl+F4:关闭当前窗口 Ctrl+P:打印 Ctrl+R:刷新页面(F5) Ctrl+S:保存 Ctr ...
server { listen 80; server_name localhost; rewrite ^(.*)$ https://$host$1 permanent; } server { listen 443 ssl; server_name localhost; proxy_buffering ...
分类:
Web程序 时间:
2021-01-04 11:17:46
阅读次数:
0
https是基于http和SSL/TLS实现的一个协议,他可以保证在网络上传输的数据都是加密的,从而保证数据安全。 接下来我们从http协议开始,提出想法并逐步进行分析,最终实现Https。 1. http协议是不安全的。 在https诞生之前,所有网站都使用http协议,而http协议在数据传输的 ...
分类:
Web程序 时间:
2021-01-04 11:04:36
阅读次数:
0
Mosquitto库依赖libuuid和openssl库,所以我们在交叉编译Mosquitto之前需要先交叉编译他所需要的依赖库,这里作者已经把需要的源码都下载好了,大家可以在这个文档的目录下找到。不建议大家下载和我不一致的版本,可能会出问题。 mqtt源码下载页: 1. 交叉编译uuid库 我们把 ...
分类:
其他好文 时间:
2021-01-04 10:43:19
阅读次数:
0
umount 作用:卸载已挂载的设备 格式:umount 挂载点目录 示例:#umount /mnt 通配符 作用:文件通配符可以用来匹配符合条件的多个文件,方便批量管理文件,通配符采用特定的符号,表示特定的含义 常见通配符: 1? 匹配任何单个字符 2* 匹配零个或多个字符,但不匹配.开头的隐藏文 ...
分类:
系统相关 时间:
2021-01-04 10:42:43
阅读次数:
0