码迷,mamicode.com
首页 >  
搜索关键字:sed centos 修改文件    ( 42745个结果
http接口监控脚本
环境:centos7 效果:监控所有接口,连续失败两次,发送信息给运维人员 思路:执行check.sh—读取interface接口内容—调用http-check脚本判断接口是否成功,失败写入文件fail.txt中—est-faile-time脚本判断失败的次数,两次及以上检测都失败——调用脚本sed ...
分类:Web程序   时间:2021-05-24 00:58:58    阅读次数:0
centos 安装mqtt
在centos上搭建mqtt服务,主要是用到mosquitto消息代理服务软件: 我的linux版本为centos7 1、安装软件 按照如下命令安装: yum install gcc-c++yum install cmakeyum install openssl-devel新建data文件夹存放软件 ...
分类:其他好文   时间:2021-05-24 00:57:20    阅读次数:0
Linux 修改yum源为国内镜像
centos7 修改yum源为阿里源 # 备份旧配置信息 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak # 下载阿里云源 wget -O /etc/yum.repos.d/CentOS-Base. ...
分类:系统相关   时间:2021-05-24 00:17:21    阅读次数:0
IDEA中集成Git
一、新建项目,绑定GIT 1、新建spring boot项目 2、路径选择git本地文件地址 3、新的项目文件绑定git,将远程的git文件拷贝至项目中 二、修改文件,使用IDEA操作GIT 1、提交,右上角工具栏 2、选择需要提交的信息,写注释,并commit 3、同步到远程仓库: 三、命令行提交 ...
分类:其他好文   时间:2021-05-23 23:54:06    阅读次数:0
ssh登录基于key验证
ssh基于key验证 1,在客户端生成公钥私钥对并将公钥拷到要连接的服务器上,验证是否成功 [root@localhost ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the k ...
分类:其他好文   时间:2021-05-23 22:59:40    阅读次数:0
树莓派4B-搭建Jenkins
官网下载Jenkins https://www.jenkins.io/zh/download/ 构建jenkins镜像 # docker build -t jenkins:2.277.3 . from ubuntu:latest run sed -i 's/ports.ubuntu.com/mirr ...
分类:其他好文   时间:2021-05-04 16:25:44    阅读次数:0
0630. Course Schedule III (H)
Course Schedule III (H) There are n different online courses numbered from 1 to n. You are given an array courses where courses[i] = [durationi, lastD ...
分类:其他好文   时间:2021-05-04 16:09:30    阅读次数:0
HELM基础简介
什么是Helm 简单来说就是Kubernetes的包管理工具,类似于Centos的yum或Ubuntu的apt。不过他管理的是Kubernetes的yaml文件 组件(2.0与3.0) 在2.0的时候区分为客户端与服务端 客户端: 本地chart的编写 仓库的管理 与服务端Tiller交互 发送ch ...
分类:其他好文   时间:2021-05-04 16:04:31    阅读次数:0
shell逐行读取替换
#!/bin/bash while read linedo echo $line txt=`echo $line |awk -F' ' '{print $1}'` id=`echo $line|awk -F' ' '{print $3}'` echo $txt echo $id sed "s/ws2 ...
分类:系统相关   时间:2021-05-03 12:39:24    阅读次数:0
搭建c++ jupyter notebook
本机配置 centos 7 x86_64 conda 4.10.1 首先我们需要安装Mamba,既然是用来加速Conda,那么我们可以直接使用下列命令来安装Mamba: conda install -c conda-forge mamba 安装完成之后,当你运行mamba -V查看其版本时会发现返回 ...
分类:编程语言   时间:2021-05-03 12:07:00    阅读次数:0
42745条   上一页 1 ... 20 21 22 23 24 ... 4275 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!