1、安装相关的包yuminstallmariadbmariadb-serverpython2-PyMySQL-y2、创建并编辑文件直接复制下面整条命令即可,这个是echo直接写入#注意IP换成自己的Vim/etc/my.cnf.d/openstack.cnf[mysqld]bind-address=192.168.244.133default-storage-engine=innodbinnodb
分类:
数据库 时间:
2020-11-06 00:56:46
阅读次数:
26
前言 关于【端口转发】这篇文章挺全面的,共有8中场景,研究了一下很多时候还是挺方便的。 但是对于我来说经常用到的就是服务器只提供了本地端口服务器,想要远程访问很不方便。比如部署了“127.0.0.1:3306”的mysql服务,我只能用命令行了。 我又不想修改测试环境,毕竟要和发布环境保持一致。所以 ...
分类:
其他好文 时间:
2020-11-04 19:22:22
阅读次数:
32
1.osi(Open System Interconnect) 开放式系统互联 7层模型 2.TCP/IP五层协议和OSI的七层协议对应关系如下。 3.tcp/ip与http的差别 http协议的报文要通过tcp/ip来传输 4.什么是 socket? socket 的原意是“插座”,在计算机通信领 ...
分类:
其他好文 时间:
2020-11-04 17:54:42
阅读次数:
21
wget用法 wget --bind-address='55.200.1.1' http://22.3.32.100 --output-document=/dev/null ...
分类:
其他好文 时间:
2020-11-04 17:54:23
阅读次数:
17
E Nothing is eternal in the world, Kostya understood it on the 7-th of January when he saw partially dead four-color garland. Now he has a goal to rep ...
分类:
其他好文 时间:
2020-11-02 10:34:31
阅读次数:
23
#一、从汇编到C函数 ##1、设置栈 为什么从汇编调用C函数需要设置栈? 1、因为arm汇编调用C函数参数要遵循APCS规则。即参数小于等于4个可以用R0-R3来传参;多于4个的参数,前四个参数用R0-R3传参,第五个参数开始使用栈来传参 2、C函数内部使用到的局部变量,它所存储的空间就是栈空间 3 ...
分类:
编程语言 时间:
2020-10-29 10:44:08
阅读次数:
25
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-10-27 11:41:41
阅读次数:
23
查了很多资料攒的配置文件,还有influxdb不能用supervisor启动,不然几个小时候只有又爆了。试了很多次都不行。具体原题还没搞清楚 bind-address = "127.0.0.1:8088"reporting-disabled = false[meta] dir = "/var/lib ...
分类:
数据库 时间:
2020-10-27 11:30:09
阅读次数:
39
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2020-10-27 10:55:44
阅读次数:
21
异常: 原因:了解的浅显的原因是,数据更新的一个时机导致的 解决方法: 使用异步更新数据: ...
分类:
其他好文 时间:
2020-10-24 10:04:11
阅读次数:
23