一段shell获取mysql需监控信息
mysql_monitor.sh1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666...
mysql_monitor.sh1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666...
创建用户和用户组1sudo adduser --system --group --disabled-password --shell /bin/bash --home /home/git --gecos 'git version control' git 下...
安装1composer require maatwebsite/excel ^3.1 导出 定义导出类 12345678910111213141516171819use App\Exports\Sheets\TeamRegistration\Enterprise;use Ap...
Apache日志统计1234567891011121314151617181920212223# 列出当天访问次数最多的IP命令root@zhiqiang.wang:~# # cut -d- -f 1 access.log | uniq -c | sort -rn | head ...
安装准备安装前必须保证系统已经安装了下列软件 php-7.2 或更高版本 gcc-4.8 或更高版本 make autoconf 123brew install gccbrew install makebrew install autoconf 快速安装 下载 swoole...
Lombok(Project Lombok)是一个用于 Java 编程语言的开源库,旨在减少 Java 代码中的冗余和样板代码,提高开发人员的生产力。它通过使用注解来自动生成 Java 类的常见方法和代码,从而使开发人员能够编写更简洁、更具可读性和更易维护的代码。Lombok 的...
永久修改主机名1hostnamectl set-hostname k8s-master 禁用swap临时修改,重启后恢复1swapoff -a 永久修改编辑配置文件 /etc/fstab 将swap进行注释 查看是否生效使用free -g命令,Swap 显...