搜索内容

最新文章
LINUX
JAVA
  • jumpserver重置MFA
    LINUX

    jumpserver重置MFA

    进入docker 容器/或找到配置文件 cd /opt/jumpserver/apps #之后执行 python manage.py shell #填写 from users.models import User u = User.objects.ge……
    lhylwl 5天前
  • 宝塔操作命令行
    LINUX

    宝塔操作命令行

    停止面板服务 /etc/init.d/bt stop 启动面板服务 /etc/init.d/bt start 重启面板服务 /etc/init.d/bt restart 修复面板 /etc/init.d/bt 16 卸载面板服务 /etc/……
    lhylwl 2025年6月21日
  • 更换阿里云yum
    LINUX

    更换阿里云yum

    1. 备份 sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载阿里云 sudo curl -o /etc/yum.repos.d/CentOS-Base.r……
    lhylwl 2025年6月20日
  • windows10激活
    LINUX

    windows10激活

    irm https://massgrave.dev/get | iex 按1
    lhylwl 2025年4月24日
  • redis 批量删除key
    ohter

    redis 批量删除key

    批量删除Key Redis 中有删除单个 Key 的指令 DEL,但好像没有批量删除 Key 的指令,不过我们可以借助 Linux 的 xargs 指令来完成这个动作 redis-cli keys "*" ……
    lhylwl 2025年4月18日
  • frp内网穿透
    LINUX

    frp内网穿透

    客户端配置如下: serverAddr = "公网ip地址" serverPort = 7000 #公网链接端口 auth.token = "123456" #保持跟服务端一样 [[proxies]] name = "test-tc……
    lhylwl 2025年4月15日
  • 复合索引失效的常见情况
    ohter

    复合索引失效的常见情况

    复合索引(也称为联合索引或多列索引)是由多个列组成的索引,当查询条件符合索引的最左前缀原则时,复合索引才能发挥最大作用。以下是复合索引失效的几种常见……
    lhylwl 2025年4月14日
  • nginx操作
    LINUX

    nginx操作

    #创建新的conf文件后需要软连接 sudo ln -s nginx/sites-available/new-port.conf nginx/sites-enabled #1. 创建或编辑 Nginx 配置文件 sudo nano /etc/ngi……
    lhylwl 2025年3月28日
  • docker基础命令
    ohter

    docker基础命令

    拉取镜像:docker pull 镜像名:版本号 进入容器:docker exec -it 容器名称 \bash 重启容器:docker restart 容器名称\容器id 停止容器:docker stop 容器名称……
    lhylwl 2025年3月27日
  • Redis删除key的几种方式_redis删除key命令
    LINUX

    Redis删除key的几种方式_redis删除key命令

    批量删除Key Redis 中有删除单个 Key 的指令 DEL,但好像没有批量删除 Key 的指令,不过我们可以借助 L redis-cli keys "*" | xargs redis-cli del //如果re……
    lhylwl 2024年12月11日