[TOC]nginx 4层转发及负载均衡$ vim /etc/nginx/nginx.conf stream { upstream webserver { server 192.168.1.227:80; server 192.168.1.228:80; } server { listen 80; proxy_pass webserver; } }
[TOC]部署ETCD集群1、概述- 大意: etcd 是兼具一致性和高可用性的键值数据库,可以作为保存 Kubernetes 所有集群数据的后台数据库。 - 官方网址: https://etcd.io/docs/ 2、服务器配置主机名cpu内存存储操作系统k8s0144100gUbuntu 18.04.5 LTSk8s0244100gUbuntu 18.04.5 LTSk8s0344100gUbuntu 18.04.5 LTS3、准备cfssl证书生成工具 cfssl是一个开源的证书管理工具,使用json文件生成证书. 在任意一台服务器上操作,这里选择k8...
[TOC]概述mysql5.7.32增加审计日志功能,记录数据库的操作获取审计功能插件下载5.5.68-MariaDB插件路径: /usr/lib64/mysql/plugin/server_audit.so 配置mysql5.7.321、获取mysql插件路径mysql> show global variables like '%plugin_dir%'; +---------------+--------------------------+ | Variable_name | Value | +---------------...
1、本次sonarqube检测报告生成基于sonarqube-8.9.1-community2、插件下载路径:https://gitee.com/zzulj/sonar-pdf-plugin需要编译根据开发者要求编译3、配置sonarqube4、配置jenkins略
SONARQUBE 基于postgresql裸机安装1、系统要求1.1、服务器配置要求centos7cpu:2内存:8G存储:20G以上1.2、系统参数配置资源限制$ vim /etc/security/limits.conf * soft nofile 65535 * hard nofile 65535 * hard nproc 4096 * soft nproc 4096内核参数配置$ vim /etc/sysctl.conf vm.max_map_count=262144 fs.file-max=65535 net.ipv4.ip_forward = 12、postgresql2....