摘要: 一.简单说明 ceph mimic版本在对MDS的稳定性等方面做了大量的改进和优化,这里我们k8s集群使用ceph时需要使用cephfs,因此对MDS的稳定性方面有很高的要求,因此,我们选择ceph Mimic版本来进行部署。 ceph Mimic版本的具体更新可查看以下链接: [链接](http: 阅读全文
posted @ 2020-06-12 15:01 yuhaohao 阅读(557) 评论(0) 推荐(0)
摘要: lineinfile 此模块是针对文件特殊行,使用后端引用的正则表达式来替换。 - hosts: 192.168.50.1 gather_facts: no tasks: - name: 设置UseDNS为no lineinfile: dest: /etc/ssh/sshd_config # 需要修 阅读全文
posted @ 2020-06-11 11:38 yuhaohao 阅读(333) 评论(0) 推荐(0)
摘要: 这里,我们下载kubernetes的二进制文件在其官网下载即可: 具体链接:https://kubernetes.io/docs/setup/release/notes/ 阅读全文
posted @ 2020-06-10 11:32 yuhaohao 阅读(953) 评论(0) 推荐(0)
摘要: 一.常用操作 1.1 查看某个bucket详情 # 查看bucket列表 [root@oss001 ~]# radosgw-admin bucket list [ "awss3e68c588a90ec4f15a040a82e962814a3", "awss389244818a62a422ca9b9c 阅读全文
posted @ 2020-06-09 19:20 yuhaohao 阅读(2941) 评论(0) 推荐(1)
摘要: 一.简单介绍 这里介绍使用prometheus+grafana+node_exporter实现linux系统的监控。下面针对这三个组件进行具体的说明 prometheus prometheus是一套开源的监控与报警与时间序列数据库的组合。 grafana grafana是一个跨平台的开源的度量分析和 阅读全文
posted @ 2020-05-29 20:10 yuhaohao 阅读(2297) 评论(0) 推荐(0)
摘要: 一.安装mysql 这里我们基础系统是centos7.5 [root@monitor ~]# yum install -y mariadb-server [root@monitor ~]# systemctl start mariadb && systemctl enable mariadb [ro 阅读全文
posted @ 2020-05-29 18:57 yuhaohao 阅读(239) 评论(0) 推荐(0)
摘要: 一.查看CPU 1.top命令 1.1 功能说明 top命令经常用来监控linux的系统状况,是常用的性能分析工具,能够实时显示系统中各个进程的资源占用情况。 1.2 使用语法 top [-d number] | top [-bnp] 参数说明: -d:number代表秒数,表示top命令显示的页面 阅读全文
posted @ 2020-05-20 23:12 yuhaohao 阅读(293) 评论(0) 推荐(0)
摘要: 一.简单介绍 1.1 LVS LVS是Linux Virtual Server的缩写,意思是Linux虚拟服务器,LVS由用户空间的ipvsadm和内核空间的ipvs组成,ipvsadm用来定义规则,ipvs利用ipvsadm定义的规则工作。 1.2 Nginx Nginx是一款轻量级的Web服务器 阅读全文
posted @ 2020-05-20 11:54 yuhaohao 阅读(518) 评论(0) 推荐(0)
摘要: 一.简单介绍 shc是linux的一款加密脚本的插件,将shc放到系统的可执行目录下我们可以直接运行shc命令 二.shc的安装 [root@disk ~]#yum install gcc -y [root@disk ~]#curl -fsSl http://www.datsi.fi.upm.es/ 阅读全文
posted @ 2020-05-19 15:13 yuhaohao 阅读(1864) 评论(0) 推荐(0)
摘要: 一.说明 最近公司安全部门针对我们的系统从系统组件、系统配置、系统应用容器三个层面对系统进行了整体的扫描,针对系统配置这块,有许多安全配置项,这里在这里记录一下,有需要的直接按照介绍的配置进行相应的修改即可。 二.安全配置项说明 前提说明:这里我们使用的是Centos7.5的系统。 2.1 配置限制 阅读全文
posted @ 2020-05-19 14:53 yuhaohao 阅读(271) 评论(0) 推荐(0)