跳转到内容

ZczBlog

  • 首页
  • 前端
    • HTML
    • CSS
    • JavaScript
    • jQuery
  • Linux系统
    • Linux
    • Ubuntu/debian
  • 数据库
    • MySQL
    • NoSQL
  • PHP
  • 其他

编译安装Apache的Security2模块

下载mod_security源代码

1
2
3
wget https://github.com/SpiderLabs/ModSecurity/archive/v2.9.3.tar.gz
tar -xzvf v2.9.3.tar.gz
cd ModSecurity-2.9.3/

… 继续阅读 编译安装Apache的Security2模块

  • 发表于: 2024年4月3日 2024年4月9日
  • 作者: 张 存志
  • 分类: Apache

MacOS不能修改hosts配置文件

现象: 显示只读,修改内容后无法保存。 解决方法 打开终端 执行以下命令 [crayon-684da… 继续阅读 MacOS不能修改hosts配置文件

  • 发表于: 2024年3月25日 2024年3月25日
  • 作者: 张 存志
  • 分类: Mac

MySQL监控执行的sql语句

windows: 修改my.ini,在[mysqld]下添加log一行, log = “… 继续阅读 MySQL监控执行的sql语句

  • 发表于: 2024年3月22日 2024年3月22日
  • 作者: 张 存志
  • 分类: MySQL

OpenWrt 修改主机名

1
2
3
4
5
6
7
8
9
10
11
12
13
# 修改system配置文件,修改配置文件中的hostname 属性值
vim /etc/config/system
 
config system
   option hostname 'OpenWrt'
   option timezone 'HKT-8'
   option ttylogin '0'
   option log_size '64'
   option urandom_seed '0'
   option compat_version '1.0'
   option conloglevel '8'
   option cronloglevel '5'
   option zonename 'Asia/Shanghai'

 

  • 发表于: 2024年3月20日 2024年3月20日
  • 作者: 张 存志
  • 分类: OpenWrt

安装Anaconda后默认不进入conda环境的方法&卸载anaconda

方案1 这个准确来说是进入anaconda默认虚拟环境后退出的命令 conda deactivate… 继续阅读 安装Anaconda后默认不进入conda环境的方法&卸载anaconda

  • 发表于: 2024年3月18日 2024年3月18日
  • 作者: 张 存志
  • 分类: Python

Linux 监测实时网络速度

使用tcpdump 配合 pv命令实时监测网络速度 [crayon-684da3177115e501… 继续阅读 Linux 监测实时网络速度

  • 发表于: 2024年3月18日 2024年3月18日
  • 作者: 张 存志
  • 分类: Linux, Linux系统

Debian 查看服务器的品牌和型号

1
2
3
4
# 显示服务器的制造商
dmidecode -s system-manufacturer
# 显示服务器的型号
dmidecode -s system-product-name

 

  • 发表于: 2024年3月7日 2024年3月7日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian10 查看CUPS服务版本

1
dpkg -l cups

  • 发表于: 2023年12月27日 2023年12月27日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian10 忘记密码

1、进入 grub 2、在 or quite 后面添加 init=/bin/bash 按下 Ctrl… 继续阅读 Debian10 忘记密码

  • 发表于: 2023年12月12日 2023年12月12日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

MySQL修改root密码报错View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

当您在使用 “UPDATE user SET password=PASSWORD(‘newpassw… 继续阅读 MySQL修改root密码报错View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

  • 发表于: 2023年10月7日 2023年10月7日
  • 作者: 张 存志
  • 分类: MySQL, 数据库

分页

上一页 页码: 1 页码: 2 页码: 3 页码: 4 页码: 5 页码: 6 页码: 7 页码: 8 页码: 9 页码: 10 … 页码: 16 下一页

© 2025  ZczBlog.                        豫ICP备18029062号