Loading

摘要: ​ 阅读全文
posted @ 2023-12-26 10:08 bathing 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 域名转发到本地 一般的话代理tomcat较多,这里以代理tomcat的8080端口为例: server{ listen 80; server_name bathing.com ; index index.php index.html index.htm; location / { proxy_pas 阅读全文
posted @ 2021-09-10 11:37 bathing 阅读(770) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash ######################################################################################### # Author: Bathing # Reference: https://blog.csdn 阅读全文
posted @ 2021-08-27 10:18 bathing 阅读(67) 评论(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 阅读(487) 评论(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 阅读(925) 评论(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 阅读(276) 评论(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 阅读(42) 评论(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 阅读(75) 评论(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 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 对数据库的操作: 1. 增 crtate database 库名称; create databases 数据库名称 charset 编码方式; 2. 删 drop database 库名; 3. 改 修改编码方式: alter database 库名称 charset 编码方式 4. 查 查看库: 阅读全文
posted @ 2021-08-20 17:50 bathing 阅读(100) 评论(0) 推荐(0) 编辑
Live2D