KVM利用nfs热迁移虚拟机
KVM利用nfs热迁移环境:KVM01:安装kvm、nfs、/opt/目录为磁盘文件目录KVM02:安装kvm、nfs host解析:10.0.0.11 kvm0110.0.0.12 kvm02 1.安装nfs(两台KVM都装)yum install -y nfs-utils #服务端安装rpcbind yum install -y rpcbind...
View Articlemysql主主复制+keepalived部署
mysql主主复制+keepalived部署环境:mysql-master-01:10.0.0.30mysql-master-02:10.0.0.35vip:10.0.0.39 安装mysql5.7.20可参考:https://soulchild.cn/266.html 开始配置主主环境一、修改mysql配置master-01:[mysqld] basedir=/application/mysql...
View Articlehadoop3.2.1集群部署
hadoop3.2.1集群部署HDFS的守护进程分别是NameNode, SecondaryNameNode,DataNode.YARN的守护进程分别是ResourceManager,...
View Articlemongodb一主一从一Arbiter复制集部署
mongodb一主一从一Arbiter复制集部署安装mongodb可参考:https://soulchild.cn/1279.html 环境:10.0.0.40 mongodb-0110.0.0.41 mongodb-0210.0.0.42 mongodb-arb 修改配置文件:# 系统日志相关 systemLog: destination: file logAppend:...
View Articleredis主从复制和配置
redis主从复制和配置1.安装redis参考链接2.配置redismaster:port 6379 daemonize yes bind 0.0.0.0 pidfile /var/run/redis_6379-master.pid logfile "/var/log/redis/redis_6379-master.log"slave:port 6379 daemonize yes bind...
View Articlekafka2.0.1集群部署
kafka2.0.1集群部署1.下载安装: wget https://archive.apache.org/dist/kafka/2.0.1/kafka_2.12-2.0.1.tgz tar xf kafka_2.12-2.0.1.tgz mv kafka_2.12-2.0.1 /usr/local/kafka...
View Articleredis哨兵模式配置
redis哨兵模式配置Redis 的 Sentinel 系统用于管理多个 Redis 服务器(instance), 该系统执行以下三个任务:监控(Monitoring): Sentinel 会不断地检查你的主服务器和从服务器是否运作正常。提醒(Notification): 当被监控的某个 Redis 服务器出现问题时, Sentinel 可以通过 API...
View Articleredis哨兵模式vip
redis哨兵模式vip三个哨兵配置如下port 26379 daemonize yes pidfile "/var/run/redis-sentinel.pid" logfile "/var/log/redis/redis-sentinel.log" sentinel monitor mymaster 10.0.0.30 6379 2 sentinel...
View Articleharbor2.0.1安装部署
harbor2.0.1安装部署一、下载安装包wget https://github.com/goharbor/harbor/releases/download/v2.0.1/harbor-online-installer-v2.0.1.tgz二、解压tar xf harbor-online-installer-v2.0.1.tgz -C...
View Articlefilebeat+kafka+logstash收集日志到es使用kibana展示
filebeat+kafka+logstash收集日志到es使用kibana展示实现逻辑filebeat ==>> kafka <<== logstash ==>> elastsearch <== kibana 1. filebeat配置filebeat.inputs: - type: log enabled:...
View Articlelinux shell脚本查找重复行/查找非重复行/去除重复行/重复行统计
linux shell脚本查找重复行/查找非重复行/去除重复行/重复行统计去除重复行sort file |uniq 查找非重复行sort file |uniq -u 查找重复行sort file |uniq -d 统计sort file | uniq -c 去除重复的行,并生成新的文件sort file |uniq > new_file
View Articlefilebeat采集一台服务器中的不同日志,并将日志放到ES中的不同索引中
filebeat采集一台服务器中的不同日志,并将日志放到ES中的不同索引中filebeat.inputs:- type: log enabled: true paths: - /usr/local/tomcat/apache-tomcat-8.5.53/logs/catalina.out tags: ["tomcat"] fields: index: "tomcat"-...
View Articlefilebeat配置多日志并输出到elastic不同index索引
filebeat配置多日志并输出到elastic不同index索引filebeat将 /var/log/secure与httpd的日志内容输出到ealsticsearch7.11.2的不同索引。filebeat.inputs: - type: log enabled: true paths: - /var/log/secure include_lines: ['sshd',...
View Articlegrok语法过滤Centos7 ssh登陆日志方法
grok语法过滤Centos7 ssh登陆日志方法日志内容如下:Apr 19 16:09:30 92-com sshd[2749]: Did not receive identification string from 101.200.56.162 port 53456Apr 19 16:10:26 92-com sshd[2756]: Bad protocol version...
View ArticleAzkaban 看这一篇就够了!任务调度平台的搭建,使用,以及API开发
Azkaban 看这一篇就够了!任务调度平台的搭建,使用,以及API开发当你的才华还撑不起你的野心时,那你就应该静下心来学习。每次脑子都会有很多想法,每次做了之后,还是觉得需要沉淀下来提升自己更加重要。著名的红叶子理论:一个人职业的成功不在于红叶子的数目多少,而在于他是否具备一片特别硕大的红叶子,这片特别硕大的红叶子不是与生俱来,需要个人的不断努力,准确地识别到最适合发展的红叶子。目录大纲0...
View ArticlexRDP – Easy install xRDP on Ubuntu 16.04,18.04,20.04,20.10
xRDP – Easy install xRDP on Ubuntu 16.04,18.04,20.04,20.10 (Script Version 1.2.2)January 3, 2021 Griffon在ubutnu 上使用简单方法安装 xRDP,通过widnows远程桌面连接ubuntu图形界面Hello World, Based on users feedback, comments...
View ArticleCloud image镜像linux使用virt-customize工具修改密码
Cloud image镜像linux使用virt-customize工具修改密码 原文: https://scottlinux.com/2017/05/08/set-password-or-ssh-key-for-centos-cloud-images/ CentOS为各种不同的云环境提供cloud images,比如OpenStack,RHV,AZure,或KVM....
View Articleqemu-system-aarch64 启动虚拟机命令
qemu-system-aarch64 启动虚拟机 [root@localhost cloud_images]# guestfish -rw -a vhuser-test1.qcow2 guestfish: cannot mix --ro and --rw options [root@localhost cloud_images]# guestfish -rw -a...
View Articlewindows下使用qemu安装openEuler
初试openEuler(一):windows下使用qemu安装openEuler 标签: 【背景】 今天华为开发者大会上,openEuler开源社区发布了最新的LTS版本,本着第一个吃螃蟹的原则,赶紧下载下来玩一玩;由于手上只有一台windows机器,考虑使用qemu安装openEuler虚拟机; 【环境准备】 Windows10 64位...
View Article