MySQL用户权限

-- 可根据情况进行过滤 show grants for "aaa"@"192.168.1.1"; select * from mysql.db; select * from mysql.user; REVOKE ALL PRIVILEGES ON *.* FROM 'readonly'@'0.0

trx trx Published on 2024-06-07

systemd启动自定义服务故障记录

服务启动失败,状态码显示203,原因有可能是因为selinux阻止了,配置策略或者直接关闭selinux即可。 setenforce 0 # 临时禁用selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/confi

trx trx Published on 2024-06-04

通过openssl下载网站证书

echo -n | openssl s_client -connect 192.168.1.1:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > certificate.crt

trx trx Published on 2024-06-03
trx trx Published on 2024-05-24
trx trx Published on 2024-05-21
trx trx Published on 2024-05-20
trx trx Published on 2024-04-24
trx trx Published on 2024-04-24
trx trx Published on 2024-04-24
trx trx Published on 2024-04-03
Previous Next