摘要: 开机,ip a 看一下系统默认使用那个网卡 1.编辑网络配置文件 vi /etc/network/interfaces 添加: auto eth0 iface eth0 inet static address 101.251.210.76 netmask 255.255.255.248 (29) g 阅读全文
posted @ 2020-11-17 15:50 frantzz 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 查找rpm包rpm -qa | grep epel删除找到的包yum remove epel-release-7-11.noarch 重建数据源yum repolistyum makecache 阅读全文
posted @ 2020-11-17 11:26 frantzz 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 0.登陆交换机telnet ip 1.查看sn号 dis ela 2.查看目前与交换机互联的设备(up为端亮) dis int desc 3.查看具体某一个端口(例如10GE1/0/4)的配置信息 dis current-configurate init 10GE1/0/4 5.查看与交换机互联设备 阅读全文
posted @ 2020-11-16 14:39 frantzz 阅读(1485) 评论(0) 推荐(0) 编辑
摘要: 虚拟机开机后先ip a查看系统默认是那个网卡名 然后配置网络文件: vi /etc/sysconfig/network-scripts/ifcfg-ens192 TYPE=EthernetBOOTPROTO=staticDEFROUTE=yesONBOOT=yesDNS1=114.114.114.1 阅读全文
posted @ 2020-11-13 18:13 frantzz 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 模板制作时centos8可以选择最小化安装 selinux: vi /etc/selinux/config SELINUX=enabled 改为 SELINUX=disabled reboot生效 防火墙: 关闭:systemctl stop firewalld.service 禁用:systemc 阅读全文
posted @ 2020-11-09 17:57 frantzz 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 1.查看系统有哪些内核 dpkg --get-selections |grep linux-image 2.查询systsat包的信息 dpkg -l sysstat 3.查看系统中属于sysstat的文件 dpkg-query -L sysstat 4.查看系统正在使用的内核 uname -a/u 阅读全文
posted @ 2020-11-09 15:11 frantzz 阅读(150) 评论(0) 推荐(0) 编辑
摘要: ssh到禅道所在的机器,可知:禅道包含996m的附件和91m的数据. 1.格式化新机器的磁盘,执行mkfs –t ext4 /dev/sdb 2.挂载到/opt,执行mount /dev/sdb /opt 3. 安装新的禅道服务(注:需要和旧禅道同一版本)。 wget http://dl.cnezs 阅读全文
posted @ 2020-11-05 15:58 frantzz 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: 1. node信息: kubectl get po -o wide 2.pod信息: kubectl get pods --all-namespaces 3.service信息: kubectl get svc --all-namespaces 4.组件信息: kubectl get cs --al 阅读全文
posted @ 2020-10-30 11:36 frantzz 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 安装logstash服务。 logstash主目录下:vim es-es.conf input { elasticsearch { hosts => ["10.128.120.171", "10.128.120.172", "10.128.120.173", "10.128.120.179", "1 阅读全文
posted @ 2020-10-13 16:29 frantzz 阅读(1445) 评论(0) 推荐(0) 编辑
摘要: 在/usr/local/bin目录下载esm工具。 将脚本也放在/usr/local/bin目录下。 vim /usr/local/bin/es-to-es.sh #!/usr/bin/env bash set euxset -o pipefail workspace="/usr/local/bin 阅读全文
posted @ 2020-10-13 16:09 frantzz 阅读(263) 评论(0) 推荐(0) 编辑