1. 使用make的命令行参数-n或--just-print,make会只显示要执行的命令,不执行,这样方便调试makefile。 2.执行命令 每写一行命令,make会fork出一个shell进程来执行该命令,如果要让shell连续执行多条语句,使用 ; 链接命令。 SHELL环境变量指定make ...
分类:
其他好文 时间:
2020-05-15 00:25:25
阅读次数:
63
帮助指令 man 获得帮助信息 man rm 获取删除的帮助指令 help指令 ? 基本语法 help 命令 使用 help cd mkdir指令 [make directory] ? 基本语法 mkdir [选项] 要创建的目录 新建单级目录 现在在a目录下新建单级目录 mkdir a 新建多级目 ...
分类:
系统相关 时间:
2020-05-14 15:46:35
阅读次数:
81
P2949 [USACO09OPEN]Work Scheduling G 题目描述 Farmer John has so very many jobs to do! In order to run the farm efficiently, he must make money on the job ...
分类:
其他好文 时间:
2020-05-14 01:53:04
阅读次数:
115
namespace app\index\validate; use think\Validate; class User extends Validate { protected $rule = [ 'name' => 'require|max:25', 'email' => 'email', ]; ...
分类:
其他好文 时间:
2020-05-13 12:17:41
阅读次数:
81
1、告警逻辑框架 Prometheus的告警逻辑框架: 1)指标获取:Prometheus从监控目标中获取指标数据; 2)设置规则:运维人员根据运维管理需要,设置告警规则(rule_files); 3)推送告警:在Pometheus中指定指定告警规则,并设置告警服务器(prometheus.yml) ...
分类:
Web程序 时间:
2020-05-12 17:15:23
阅读次数:
80
Come on –Everybody’s doing it. That whispered message, half invitation and half forcing, is what most of us think of when we hear the words peer press ...
分类:
其他好文 时间:
2020-05-12 16:51:44
阅读次数:
126
问题: 有一段时间没有用码云了,当输入 git push -u origin master命令出现Please make sure you have the correct access rights and the repository exists.错误, 原因: 是git服务器没有发现存储本地 ...
分类:
数据库 时间:
2020-05-12 11:49:41
阅读次数:
99
原文地址:https://www.cnblogs.com/LoTGu/p/5967979.html Linux内核在2.6版本以后将配置文件由原来的config.in改为Kconfig。当执行make menuconfig时会出现内核的配置界面,所有配置工具都是通过读取arch/$(ARCH)Kco ...
分类:
其他好文 时间:
2020-05-12 11:45:51
阅读次数:
56
1.准备好安装包(到官网下载即可) 2.解压安装包 tar -zxvf keepalived-2.0.20.tar.gz 3.进入解压好后的目录做配置 cd keepalived-2.0.20 ./configure --prefix=/usr/local/keepalived --sysconf= ...
分类:
其他好文 时间:
2020-05-12 11:44:48
阅读次数:
89
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and t ...
分类:
Web程序 时间:
2020-05-12 11:44:27
阅读次数:
78