k8s安装kubernetes-dashboard

1. 下载yaml文件wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.2/aio/deploy/recommended.yamlkubectl apply -f recommended.yaml文件内容
2023年02月16日 560次浏览

常用shell脚本

curl_test.sh#!/bin/bash# crontab设置每分钟执行# */1 * * * * sh /opt/curl_test.shstep=10 #间隔秒数for((i=0;i<60;i=(i+step)));do status_code=$(curl -s -o /dev/
2023年01月31日 445次浏览

服务器备份工具:Rsnapshot

服务器备份工具:Rsnapshot一、安装 yum install -y epel-release yum install -y rsnapshot rsync二、使用1. 说明服务器192.168.1.101备份机192.168.1.1212. 备份机ssh-keygenssh-copy-id r
2022年11月16日 514次浏览

Squid正向代理搭建

一、安装1.安装squidyum -y install squid2.修改内核参数,打开ip转发vi /etc/sysctl.confnet.ipv4.ip_forward = 1使内核参数修改生效sysctl -p二、配置
2022年09月29日 514次浏览

Java事件驱动编程

说明事件监听(也叫事件驱动)是观察者模式的一种实现,只要是观察者模式,就含有主题(针对该主题的事件),发布者(发布主题或事件),订阅者(监听主题的人)。有三个部分组成,事件(ApplicationEvent)、监听器(ApplicationListener)和事件发布操作。使用事件机制我们可以将相互
2022年09月26日 621次浏览

es转储工具elasticdump

elasticsearch 2022年09月25日 786次浏览

Graylog安装配置

1. 日志输入配置2. 索引滚动删除策略System / Indices / Default index set / Edit
日志 2022年09月25日 615次浏览

iptables规则

# 禁用所有出去的网络iptables -P OUTPUT DROP# 允许部分出去的网络iptables -A OUTPUT -d 192.168.123.0/24 -j ACCEPT# 允许外网#iptables -P OUTPUT ACCEP
2022年09月13日 510次浏览

WebSSH-开源web端ssh连接终端

2022年09月08日 504次浏览

Centos安装nfs服务

一、服务端安装配置1.安装并启动服务yum install -y nfs-utils rpcbindsystemctl start rpcbindsystemctl enable rpcbindsystemctl start nfs-serversystemctl enable nfs-server
2022年06月13日 561次浏览