摘要: 故障现象: 服务器无法被ping通 服务器无法通外网 ipaddr 网卡没地址 [root@xiamingliang ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defau 阅读全文
posted @ 2025-02-18 16:40 郭小睿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 查看包内容 dpkg-deb -R xxx.deb tmp 应用已上架,商店搜索无结果? 打包不规范导致包无法推送到商店仓库,包的depends为空,非法操作。 说明:control必要字段 “Package”, “Version”, “Section”, “Priority”, “Architec 阅读全文
posted @ 2025-02-18 13:05 郭小睿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 任务栏没了,可以先pkill dde-dock结束进程,然后dde-dock,任务栏就会出来。终端操作。 阅读全文
posted @ 2025-01-15 19:54 郭小睿 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 进入下面页面,下载jenkin-cli.jar包。 java -jar jenkins-cli.jar -s http://192.168.1.205:8080 -auth admin:xxx get-job job1 > job1.xml 阅读全文
posted @ 2025-01-03 21:01 郭小睿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2024.cnblogs.com/blog/1597781/202412/1597781-20241231163340672-1185181471.png) 阅读全文
posted @ 2024-12-31 16:33 郭小睿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jiaxzeng/p/17104250.html https://blog.csdn.net/qq_34556414/article/details/119884115 https://blog.csdn.net/joker_zhou/article/ 阅读全文
posted @ 2024-12-30 16:18 郭小睿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 设置变量 CA_KEY="cakey.pem" CA_CERT="ca.crt" CA_SERIAL="ca.srl" CLIENT_KEY="client.pri" CLIENT_CSR="client.csr" CLIENT_CERT="client.crt" CAC 阅读全文
posted @ 2024-12-23 18:06 郭小睿 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 在 Linux 系统中,可以通过以下步骤将时区修改为 CST(中国标准时间,GMT+8 或称 Asia/Shanghai): 方法 1:通过 timedatectl 命令修改(适用于大多数现代发行版) 查看当前时区: timedatectl 输出类似如下: Local time: Fri 2024- 阅读全文
posted @ 2024-11-29 20:59 郭小睿 阅读(753) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 获取 dd 程序的 CPU 和内存占用率 cpu_mem_usage=$(ps aux | grep -E '/DBAudit/app/bin/dd|./dd' | grep -v grep | awk '{print $3, $4}') dd_cpu=$(echo $c 阅读全文
posted @ 2024-10-17 14:40 郭小睿 阅读(53) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 检查是否以 root 用户运行 if [ "$(id -u)" -ne 0 ]; then echo "请使用 root 用户或 sudo 权限运行此脚本。" exit 1 fi # 检查输入参数 if [ "$#" -ne 3 ]; then echo "用法: $0 阅读全文
posted @ 2024-10-17 14:37 郭小睿 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 安装 yum install bzip2 (wget -O - pi.dk/3 || curl pi.dk/3/) | bash 使用 parallel -j 1000 ./dupc ::: {1..10000} 优化 提升文件句柄数量 通过编辑 /etc/security/limits.conf 阅读全文
posted @ 2024-08-26 17:19 郭小睿 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 在使用 Git 时,可以通过 .gitignore 文件来忽略特定的目录。以下是详细步骤: 步骤1:创建或编辑 .gitignore 文件 在你的项目根目录下创建或编辑 .gitignore 文件。如果这个文件不存在,你可以创建一个: touch .gitignore 步骤2:添加忽略目录 在 .g 阅读全文
posted @ 2024-07-28 02:03 郭小睿 阅读(411) 评论(0) 推荐(0) 编辑
摘要: https://weui.io/# https://github.com/Tencent/weui.js 阅读全文
posted @ 2024-07-24 15:36 郭小睿 阅读(26) 评论(0) 推荐(0) 编辑
摘要: https://cdn.bytedance.com/ https://www.bootcdn.cn/ 阅读全文
posted @ 2024-06-24 10:48 郭小睿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: cat >/etc/apt/sources.list <<EOF deb http://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.c 阅读全文
posted @ 2024-05-30 15:04 郭小睿 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 查看正在运行的虚拟机 esxcli vm process list 获取所有注册的虚拟机 vim-cmd vmsvc/getallvms 重启,可以移除掉卡死的任务 /etc/init.d/hostd restart 杀死虚拟机进程 esxcli vm process kill --type= [s 阅读全文
posted @ 2024-05-03 11:50 郭小睿 阅读(848) 评论(0) 推荐(0) 编辑
摘要: docker run -d --restart=always --name postgres -v /opt/pgsql/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=123456 -p 54321:5432 postgres:10.12 阅读全文
posted @ 2024-04-08 13:57 郭小睿 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 1、磁盘写入率iostat,cpu占用率top/pidstat/mpstat,内存占用率mpstat,交换分区free同时也需要关注。 阅读全文
posted @ 2024-04-03 12:27 郭小睿 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1、先查看cpu数量 cat /proc/cpuinfo |grep "physical id"|uniq|wc -l 或者 nproc 2、使用uptime查看系统平均负载。这里显示的是 1 分钟、5 分钟和 15 分钟的平均负载。 15:36:33 up 1 day, 4:09, 1 user, 阅读全文
posted @ 2024-04-02 15:55 郭小睿 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 在执行npm run build的时候遇到了错误:TypeError: Class extends value undefined is not a constructor or null;而执行npm run serve是可以正常执行的,报错如下: building for production. 阅读全文
posted @ 2024-03-19 13:22 郭小睿 阅读(1516) 评论(0) 推荐(1) 编辑
点击右上角即可分享
微信分享提示