上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 在指定内容后面新增一行: [root@localhost ~]# sed -i.bak '/^1111/a 22222222' a.txt -- 在以‘1111’开头的行后面加内容为‘22222222’的行 [root@localhost ~]# ll 总用量 20 -rw . 1 root roo 阅读全文
posted @ 2021-07-06 11:26 中级菜鸟 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 查看最后日志文件的最后一行: sed -n '$p' /var/log/zabbix/zabbix_server.log239738:20210706:102835.335 Zabbix agent item "perf_counter_en["\PhysicalDisk(0 C: D:)\Avg. 阅读全文
posted @ 2021-07-06 10:40 中级菜鸟 阅读(773) 评论(0) 推荐(0) 编辑
摘要: 记下生成随机颜色: echo -e "\033[1;$[$RANDOM%7+31]mtest\033[0m" // test 为输出字符串 阅读全文
posted @ 2021-06-24 14:44 中级菜鸟 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 在清理大文件时,因为文件被占用时,无法通过rm直接删除并获取的对应的空间,为此需要通过cat /dev/null > bigfile的方式来获得。 [root@localhost /]# df Filesystem 1K-blocks Used Available Use% Mounted on / 阅读全文
posted @ 2021-04-26 09:52 中级菜鸟 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 因一次意外紧急事故,导致服务器磁盘空间不足,进而导致系统不能正常访问。故此决定采用Zabbix及时对每台服务器进行监控,避免日常巡检漏检测的地方。 在国内镜像163网站上下载CentOS 8,感觉也下载了好久。现在CentOS 8的安装包增到9.1G。 在VM上安装CentOS 8时,会出现两个CD 阅读全文
posted @ 2021-03-25 14:55 中级菜鸟 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include' 阅读全文
posted @ 2021-03-08 14:32 中级菜鸟 阅读(3013) 评论(0) 推荐(0) 编辑
摘要: 1、首先,在客户端输入: npm install echarts --save 2、执行完毕后,再次编译运行 yarn run serve 可是结果没有想到,会报此错误: ERROR Failed to compile with 6 errors 下午3:32:56 These dependenci 阅读全文
posted @ 2021-02-01 16:02 中级菜鸟 阅读(2137) 评论(0) 推荐(0) 编辑
摘要: IIS 站点点击功能区提示:文件名 web.config 错误:配置文件的 xml 格式不正确 阅读全文
posted @ 2021-01-26 09:04 中级菜鸟 阅读(2536) 评论(0) 推荐(0) 编辑
摘要: 1、先备份当前的数据库: 2、停止当前数据库服务 3、卸载当前安装的数据库版本 yum remove -y mariadb yum remove -y mariadb-* // 卸载common及compat 4、安装最新版本 yum install -y MariaDB-common-10.5.8 阅读全文
posted @ 2020-12-18 11:43 中级菜鸟 阅读(342) 评论(0) 推荐(0) 编辑
摘要: MariaDB 表 hexdump 解析 阅读全文
posted @ 2020-12-14 17:14 中级菜鸟 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页