iRedMail批量创建邮箱

需求 来活儿了!开通500个邮箱!约摸2年前自建的iRedMail邮箱服务器闪亮登场! 这要是从后台届面手动注册,没个一天估计点不完,需求方没有

VPN之IKEv2

1 2 3 sudo apt-get -y install charon-systemd libstrongswan-extra-plugins libcharon-extra-plugins #sudo systemctl status strongswan 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 sudo tee /etc/swanctl/conf.d/swan.yanyong.cc.conf << EOF authorities

梯子,懂的都懂不解释

基础配置 初始化OS https://yanyong.cc/post/debian11-init/ fail2ban 1 2 3 4 5 6 7 8 sudo apt-get install -y fail2ban sudo tee /etc/fail2ban/jail.d/sshd.local << EOF [sshd] enabled = true port = 22 EOF sudo systemctl reload fail2ban sudo fail2ban-client reload 安装docker和nginx 略 ssl泛域名证书和cl

k8s部署rabbitmq

部署RabbitMQ Cluster Operator 1 kubectl apply -f https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml 部署RabbitMQ cluster 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 tee rabbitmq.yaml << EOF apiVersion: rabbitmq.com/v1beta1 kind: RabbitmqCluster metadata: name: rabbitmq spec: rabbitmq: additionalConfig: | default_user=guest default_pass=guest replicas: