上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页
摘要: 一、cat EOF的覆盖与追加 1、覆盖 这里有两种格式可以使用 格式一 #!/bin/bash cat << EOF > /root/test.txt Hello! My site is www.361way.com My site is www.91it.org Test for cat and 阅读全文
posted @ 2020-03-10 16:22 凡人半睁眼 阅读(536) 评论(0) 推荐(0)
摘要: 一、容器部署prometheus 1、下载images docker pull prom/node-exporter docker pull google/cadvisor docker pull prom/prometheus docker pull grafana/grafana 2、导入ima 阅读全文
posted @ 2020-03-09 21:14 凡人半睁眼 阅读(918) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/chengyinwu/article/details/103281476 有待整理 kvm集群管理 ovirt 、 proxmox 一、简单介绍 KVM(Kernel-based Virtual Machine)是内核级虚拟化技术 1、kvm和qemu k 阅读全文
posted @ 2020-03-04 11:09 凡人半睁眼 阅读(833) 评论(0) 推荐(0)
摘要: 一、介绍两种日志 1、redo log是InnoDB存储引擎层的日志,又称重做日志文件,用于记录事务操作的变化,记录的是数据修改之后的值,不管事务是否提交都会记录下来。在实例和介质失败(media failure)时,redo log文件就能派上用场,如数据库掉电,InnoDB存储引擎会使用redo 阅读全文
posted @ 2020-03-04 10:19 凡人半睁眼 阅读(268) 评论(0) 推荐(0)
摘要: https://blog.51cto.com/egon09/1845226 阅读全文
posted @ 2020-02-05 10:02 凡人半睁眼 阅读(223) 评论(0) 推荐(0)
摘要: 一、redis简介 1、Redis,全称是远程数据服务(Remote Dictionary Server) 它作为一款由 C 语言编写的内存高速缓存数据库,在互联网产品中应用甚广。很多云服务提供商还以 Redis 为基础构建了相应的缓存服务、消息队列服务以及内存存储服务,当你使用这些服务时,实际上就 阅读全文
posted @ 2020-01-11 22:11 凡人半睁眼 阅读(638) 评论(0) 推荐(0)
摘要: 1、批量打包镜像 docker save $(docker images | grep -v REPOSITORY | awk 'BEGIN{OFS=":";ORS="\n"}{print $1,$2}') -o k8s-master.tar 除了awk常用于拼接镜像名和版本号,更快地方法 dock 阅读全文
posted @ 2020-01-09 17:22 凡人半睁眼 阅读(629) 评论(0) 推荐(0)
摘要: 一、查看版本 1、# cat /etc/os-release 2、#cat /proc/cpuinfo 3、#uname -a 或者 -r 4、#cat /etc/issue 5、# cat /proc/version(查看当前操作系统版本信息) 6、lsb_release -a 二、uname参数 阅读全文
posted @ 2019-12-29 17:35 凡人半睁眼 阅读(420) 评论(0) 推荐(0)
摘要: Ubuntu 20.04.5 LTS (Focal Fossa) 一、网络配置 1、配置静态ip vim /etc/network/interfaces #interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet l 阅读全文
posted @ 2019-12-21 20:32 凡人半睁眼 阅读(558) 评论(0) 推荐(0)
摘要: 一、lamp分离部署工作图 二、LAMP的安装与配置 1、环境准备 2、对 PHP 服务器进行部署 #以下为安装PHP及其依赖 [root@php ~ ]# tar zxf libmcrypt-2.5.7.tar.gz -C /usr/src [root@php ~]# tar zxf php-5. 阅读全文
posted @ 2019-11-26 16:35 凡人半睁眼 阅读(326) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页