会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Bathing
万里长城永不倒,各位朋友大家好
博客园
首页
新随笔
联系
订阅
管理
2023年12月26日
将博客搬至CSDN
摘要:
阅读全文
posted @ 2023-12-26 10:08 bathing
阅读(7)
评论(0)
推荐(0)
2021年9月10日
配置nginx域名和端口转发反向代理
摘要: 域名转发到本地 一般的话代理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
阅读(843)
评论(0)
推荐(0)
2021年8月27日
服务器系统巡检脚本--通过mail发送邮件到邮箱
摘要: #!/bin/bash ######################################################################################### # Author: Bathing # Reference: https://blog.csdn
阅读全文
posted @ 2021-08-27 10:18 bathing
阅读(93)
评论(0)
推荐(0)
2021年8月26日
linux安装mail并发邮件到163邮箱
摘要: 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
阅读(714)
评论(0)
推荐(0)
centos7更换阿里云yum源
摘要: 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
阅读(979)
评论(0)
推荐(0)
编译php报错checking for cURL 7.15.5 or greater... configure: error: cURL version 7.15.5
摘要: 问题复现: 在编译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
阅读(381)
评论(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
阅读(54)
评论(0)
推荐(0)
linux单机服务器时间同步
摘要: 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
阅读(89)
评论(0)
推荐(0)
mysql查询数据库的数据量大小
摘要: 查询数据库最大连接数 show variables like '%max_connections%'; 查询数据库连接超时时间单位(s) Show variables like ‘wait_timeout’; 查询各个数据库量的大小 select TABLE_SCHEMA,CONCAT(ROUND(
阅读全文
posted @ 2021-08-26 10:08 bathing
阅读(724)
评论(0)
推荐(0)
2021年8月20日
mysql的增删改查
摘要: 对数据库的操作: 1. 增 crtate database 库名称; create databases 数据库名称 charset 编码方式; 2. 删 drop database 库名; 3. 改 修改编码方式: alter database 库名称 charset 编码方式 4. 查 查看库:
阅读全文
posted @ 2021-08-20 17:50 bathing
阅读(119)
评论(0)
推荐(0)
下一页
公告
Live2D