Loading

08 2021 档案

摘要:#!/bin/bash ######################################################################################### # Author: Bathing # Reference: https://blog.csdn 阅读全文
posted @ 2021-08-27 10:18 bathing 阅读(102) 评论(0) 推荐(0)
摘要:1. 开启smtp服务 登录网易邮箱 https://mail.163.com/ 开启服务,设置授权密码并记录 2. 安装 [root@localhost ~]# yum install mailx 3.修改配置文件 [root@localhost ~]# vim /etc/mail.rc #修改如 阅读全文
posted @ 2021-08-26 14:48 bathing 阅读(758) 评论(0) 推荐(0)
摘要:1、备份 [root@localhost ~]# yum -y install wget [root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的C 阅读全文
posted @ 2021-08-26 10:38 bathing 阅读(988) 评论(0) 推荐(0)
摘要:问题复现: 在编译php的时候,报错:checking for cURL 7.15.5 or greater… configure: error: cURL version 7.15.5 解决方法: [root@localhost ~]# yum -y install curl-devel 在重新编 阅读全文
posted @ 2021-08-26 10:32 bathing 阅读(394) 评论(0) 推荐(0)
摘要:时间戳: https://tool.lu/timestamp/ crontab计划任务表达执行时间: https://tool.lu/crontab SSL证书安全评估: https://myssl.com/ 字节单位换算器: http://www.elecfans.com/tools/zijieh 阅读全文
posted @ 2021-08-26 10:22 bathing 阅读(63) 评论(0) 推荐(0)
摘要:1.设置linux系统时间 查看时间: [root@localhost ~]# date 设置时间 [root@localhost ~]# date -s "20210824 16:33:00" 2.设置linux硬件时间 查看硬件时间 [root@localhost ~]# hwclock --s 阅读全文
posted @ 2021-08-26 10:09 bathing 阅读(102) 评论(0) 推荐(0)
摘要:查询数据库最大连接数 show variables like '%max_connections%'; 查询数据库连接超时时间单位(s) Show variables like ‘wait_timeout’; 查询各个数据库量的大小 select TABLE_SCHEMA,CONCAT(ROUND( 阅读全文
posted @ 2021-08-26 10:08 bathing 阅读(736) 评论(0) 推荐(0)
摘要:对数据库的操作: 1. 增 crtate database 库名称; create databases 数据库名称 charset 编码方式; 2. 删 drop database 库名; 3. 改 修改编码方式: alter database 库名称 charset 编码方式 4. 查 查看库: 阅读全文
posted @ 2021-08-20 17:50 bathing 阅读(130) 评论(0) 推荐(0)
摘要:准备前的工作: 1. 文章使用的系统为: centos7 2. 关闭selinux [root@localhost ~]# setenforce 0 [root@localhost ~]# vim /etc/selinux/config 将SELINUX=enforcing改为SELINUX=dis 阅读全文
posted @ 2021-08-17 10:35 bathing 阅读(316) 评论(0) 推荐(0)
摘要:Docker创建容器时默认采用bridge网络,自行分配ip,不允许自己指定。 在实际部署中,我们需要指定容器ip,不允许其自行分配ip,尤其是搭建集群时,固定ip是必须的。 我们可以创建自己的bridge网络 : mynet,创建容器的时候指定网络为mynet并指定ip即可。 1. 查看网路模式 阅读全文
posted @ 2021-08-16 14:13 bathing 阅读(2621) 评论(0) 推荐(0)
摘要:错误提示: Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br 阅读全文
posted @ 2021-08-16 14:12 bathing 阅读(1593) 评论(0) 推荐(1)
摘要:#!/bin/bash # # Author:Bathing # Function:This script will be used for mysql backups,It was created by Bathing. # Date:2021-07-22 # QQinfo:576590916 # 阅读全文
posted @ 2021-08-05 10:48 bathing 阅读(101) 评论(0) 推荐(0)
摘要:错误: Couldn't find index page for 'meld3' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/sim 阅读全文
posted @ 2021-08-05 10:29 bathing 阅读(279) 评论(0) 推荐(0)
摘要:MySQL's validate_password plugin is installed by default. This will require that passwords contain at least one upper case letter, one lower case lett 阅读全文
posted @ 2021-08-05 10:28 bathing 阅读(448) 评论(0) 推荐(0)
摘要:1.前言 supervisor是一个进程管理工具,当进程中断的时候supervisor能自动重新启动它,可以运行再各类的unix机器上,supervisor就是用Python开发的一套通用的进程管理程序,能将一个普通的命令行进程变为后台daemon,并监控进程状态,异常退出时能自动重启 2.安装su 阅读全文
posted @ 2021-08-05 10:26 bathing 阅读(403) 评论(0) 推荐(0)

Live2D