部署prometheus监控端mkdir /opt/monitor/[root@zabbix ~]# tar -xf prometheus-2.25.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# mv prometheus-2.25.0. ...
分类:
其他好文 时间:
2021-04-06 14:27:18
阅读次数:
0
简介 在Linux中,Cron是计划任务管理系统,通过crontab命令使任务在约定的时间执行已经计划好的工作,例如定时备份系统数据、周期性清理缓存、定时重启服务等。 本文介绍的cron库是一个用于管理定时任务的库,就是用Go实现Linux中crontab命令的相似效果。 快速使用 文本代码使用 G ...
分类:
其他好文 时间:
2021-04-06 14:27:02
阅读次数:
0
1. 避坑总结 版本10以前默认开启webPreferences的enableRemoteModule,版本10以后需要手动开启,默认为false 2. 常用模块 remote remote 模块为渲染进程(web页面)和主进程通信(IPC)提供了一种简单方法 shell shell 模块提供与桌面 ...
分类:
其他好文 时间:
2021-04-06 14:21:16
阅读次数:
0
Shortcut Keys Configure Summary You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora. You can find ...
分类:
其他好文 时间:
2021-04-06 14:21:02
阅读次数:
0
在CNCF:community bridge#1285Reading Material Update And Supplement 这个议题当中,更新扩充好的材料需要同步更新到volcano官网的官方文档上,这篇文章主要来记录如何为开源项目(volcano)提交pr,以达到我们将贡献的开源文档同步更 ...
分类:
其他好文 时间:
2021-04-06 14:01:47
阅读次数:
0
Linux下su与su -命令的本质区别 su命令和su -命令最大的本质区别就是: 前者只是切换了root身份,但Shell环境仍然是普通用户的Shell; 而后者连用户和Shell环境一起切换成root身份了。只有切换了Shell环境才不会出现PATH环境变量错误。su切换成root用户以后,p ...
分类:
系统相关 时间:
2021-04-06 14:01:20
阅读次数:
0
1 安装 sudo apt-get install zsh 2 修改默认shell chsh -s /bin/zsh 3 配置passwd sudo vim /etc/passwd root:x:0:0:root:/root:/bin/bash改成root:x:0:0:root:/root:/bin ...
分类:
系统相关 时间:
2021-04-05 12:42:45
阅读次数:
0
Sublime Text 3 https://www.sublimetext.com/ Preferences --> Settings File Path: C:\Users\wuyong\AppData\Roaming\Sublime Text 3\Packages\User\Preferenc ...
分类:
其他好文 时间:
2021-04-05 12:36:42
阅读次数:
0
hdfs会为每一个用户创建一个回收站目录:/usr用户名/.Trash/,每一个用户在Shell命令行删除的文件/目录,会进入到对应的回收站目录中,在回收站中的数据都有一个生命周期,也就是说当回收站中的文件/目录在一段时间之内没有被用户恢复的话,HDFS就会自动将这个文件/目录彻底删除。 默认情况下 ...
分类:
其他好文 时间:
2021-04-05 12:30:22
阅读次数:
0
题目描述: Kids in kindergarten enjoy playing a game called Hawk-and-Chicken. But there always exists a big problem: every kid in this game want to play th ...
分类:
其他好文 时间:
2021-04-05 12:24:28
阅读次数:
0