摘要:
1、MySQL MHA介绍 MHA ( Master High Availability )目前在MySQL高可用方面是一个相对成熟的解决方案 ,它由日本DeNA公司youshimaton (现就职于Facebook公司)开发,是-套优秀的作为MySQL高可用性环境下故障切换和主从提升的高可用软件。 阅读全文
摘要:
1、配置环境 主机名 外网ip 内网ip c7-81 10.0.0.81 172.16.1.81 2、查看是否支持虚拟化 [root@ c7-81 ~]# dmesg |grep kvm [root@ c7-81 ~]# egrep -o '(vmx|svm)' /proc/cpuinfo 3、安装 阅读全文
摘要:
安装 [root@ c7-41 ~]# yum -y install cobbler cobbler-web tftp-server pykickstart httpd dhcp xinetd debmirror 启动相关程序 [root@ c7-41 ~]# systemctl start htt 阅读全文
摘要:
1、安装部署 1.1、环境介绍 主机名 系统 配置 外网 内网 c7-41 centos7.7-1980 1G1核 10.0.0.41 172.16.1.41 1.2、安装openvpn [root@ c7-41 ~]# yum -y install epel-* [root@ c7-41 ~]# 阅读全文
摘要:
CentOS 7 安装jumpserve--适合生产环境 1、环境 系统: CentOS 7 IP: 10.0.0.41 目录: /opt 数据库: mariadb 代理: nginx yum update -y # 防火墙 与 selinux 设置说明, 如果已经关闭了 防火墙 和 Selinux 阅读全文
摘要:
安装nginx yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel wget pcre pcre-devel wget http://nginx.org/download/nginx-1.14.2.tar 阅读全文
摘要:
nginx正向代理 服务端配置 1、安装nginx yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel wget pcre pcre-devel git git clone https://github. 阅读全文
摘要:
在可以访问外网的机器配置如下首先确认防火墙是开启的1、开启ip_forward转发: vim /etc/sysctl.conf net.ipv4.ip_forward=1 #添加 sysctl -p #使其生效 2、转发内网段的流量执行如下firewalld命令: firewall-cmd --ad 阅读全文
摘要:
服务端 修改yum配置文件yum下载软件不清空 sed -i 's#keepcache=0#keepcache=1#g' /etc/yum.conf 创建目录给yum仓库使用 mkdir -p /yum/centos7 安装createrepo 软件,生成 yum 仓库数据库 yum -y inst 阅读全文
摘要:
服务端 yum安装相关服务 yum -y install nfs-utils rpcbind 设置共享目录 mkdir /data 修改配置 vim /etc/exports /data/ 10.0.0.0/24(rw,sync,no_root_squash) 启动服务 systemctl star 阅读全文