环境准备,一台CentOS7 安装软件```[root@localhost ~]# yum install mariadb-server -y```创建三个实例的目录```[root@localhost ~]# mkdir /mysql/{3306,3307,3308}/{data,etc,sock ...
分类:
数据库 时间:
2021-05-24 08:17:38
阅读次数:
0
原因: 在苹果手机上, transform 变换的时候会让 z-index “临时失效”,其实并非 z-index 失效了,只是 z-index 被用在不同的 stacking context 上,而非在默认的 context 上同等地比较层级了。所以 DOM 在 transform 的工程中,DO ...
分类:
移动开发 时间:
2021-05-24 08:16:51
阅读次数:
0
数据库基本命令行 mysql -uroot -p123456 -- 连接数据库 update mysql .user set authentication_string=password('123456')where user='root' and Host = 'localhost'; -- 修改 ...
分类:
数据库 时间:
2021-05-24 07:46:41
阅读次数:
0
在k8s 里面如果直接删除pod,, 是起不到作用的,因为删除的pod 还是被继续拉起来。 看下面的例子,我们把 deployment-ngx-8ff559dc9-5v5f7 这个pod 通过kubectl delete pod 的方式删除掉 [root@k8s-master ~]# kubectl ...
分类:
其他好文 时间:
2021-05-24 07:41:06
阅读次数:
0
在使用 docker 的过程中,我们可以使用docker restart {container_id}来重启容器,但是在 kubernetes 中并没有重启命令(没有 kubectl restart {podname}),有时候我们的 Pod 出现 Bug意外终止,导致我们需要重启 Pod ,却没有 ...
分类:
其他好文 时间:
2021-05-24 07:38:57
阅读次数:
0
1.停止服务 net stop mysql; 2.控制台输入 mysqld --console --shared-memory --skip-grant-tables 3.重新打开一个窗口,进入bin目录下,执行mysql,回车 4.密码置空 update user set authenticati ...
分类:
数据库 时间:
2021-05-24 07:35:02
阅读次数:
0
现象 [root@ln0-181 src]# docker login harbor.spos.lab Authenticating with existing credentials... Login did not succeed, error: Error response from daem ...
分类:
其他好文 时间:
2021-05-24 07:34:00
阅读次数:
0
##1.使用ansible的playbook实现自动化安装httpd 配置ansible主机文件 [root@localhost ~]# vim /etc/ansible/hosts [websrvs] 10.50.100.8 配置ansible与管理端的ssh连接 [root@localhost ...
分类:
Web程序 时间:
2021-05-24 07:09:02
阅读次数:
0
最近做一个爬虫项目,需要curl请求第三方系统,其中一个请求放到postman的时候秒回,代码curl请超时,打印错误信息:empty reply from server 翻阅网上资料无果,只能用排除法,去掉请求的一些配置看是哪里影响了,最后发现去掉post data 后请求秒回,虽然返回的是请求失 ...
分类:
Web程序 时间:
2021-05-24 07:00:36
阅读次数:
0
Ubuntu默认不能直接通过root用户远程登录 如xshell登录,密码正确,提示如下: 这是因为在sshd_config中定义了 1、修改配置: vi /etc/ssh/sshd_config 2、通过/输入PermitRootLogin 快速定位到要修改的行 3、将#PermitRootLog ...
分类:
系统相关 时间:
2021-05-24 06:45:24
阅读次数:
0