上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: ansible安装 yum install ansible -y 优化ssh运行效率vim /etc/ssh/sshd_configGSSAPIAuthentication noUseDNS no vi /etc/ansible/ansible.cfg#主配置文件 vim /etc/ansible/ 阅读全文
posted @ 2019-07-10 10:47 BicycleBoy 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 安装zabbix的yum源rpm -ivh http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpmyum-config-manager --enable rhel-7-server-opt 阅读全文
posted @ 2019-07-10 10:39 BicycleBoy 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Docker安装及管理yum install docker-io -yvim /etc/sysconfig/docker#修改静像获取源地址other_args="--registry-mirror=https://wgcscytr.mirror.aliyuncs.com" docker searc 阅读全文
posted @ 2019-07-09 11:27 BicycleBoy 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1、主节点配置:yum install mariadb-server.x86_64 -y#安装数据库service mariadb start#启动数据库mysql -uroot -p123456#登录数据库创建从节点连接登录用户create user 'repl'@'192.168.2.%' id 阅读全文
posted @ 2019-07-08 19:32 BicycleBoy 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 环境准备:服务器1:192.168.2.121,nginx+keepalived服务器2:192.168.2.122,nginx+keepalived服务器3:192.168.2.123,httpd服务器4:192.168.2.124,httpdvip:192.168.2.881、keepalive 阅读全文
posted @ 2019-07-08 13:39 BicycleBoy 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 配置nginx的yum源vi /etc/yum.repos.d/nginx.repo[nginx-stable]name=nginx stable repobaseurl=http://nginx.org/packages/centos/$releasever/$basearch/gpgcheck= 阅读全文
posted @ 2019-07-07 12:00 BicycleBoy 阅读(125) 评论(0) 推荐(0) 编辑
摘要: yum安装yum install mariadb-sreverrpm -ql mariadb-serverss -ntl#查看端口运行状态,3306端口ss -utlnpservice mariadb start#启动mysqlmysql#连接到数据show databases;#查看数据库use  阅读全文
posted @ 2019-07-05 19:54 BicycleBoy 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 加载系统iso文件mkdir /mnt/cdrom/mount /dev/sr0 /mnt/cdrom/cd /etc/yum.repos.d/rename repo repo.bakvi CentOS-Media.repo [c7-media]name=CentOS-$releasever - M 阅读全文
posted @ 2019-07-05 10:27 BicycleBoy 阅读(172) 评论(0) 推荐(0) 编辑
摘要: LVS(NAT网络地址转换)负载均衡搭建三台服务器:1台调度服务器,2台真实服务器,对外服务IP》192.168.2.188调度服务器配置:IP地址配置,桥接模式:192.168.2.188,主机模式:192.168.30.200DEVICE=ens33BOOTPROTO=staticIPADDR= 阅读全文
posted @ 2019-07-04 17:51 BicycleBoy 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 三层交换机配置: Switch>enableSwitch#configure terminalSwitch(vlan)#vlan 10 name VLAN10Switch(vlan)#vlan 20 name VLAN20Switch(config)#interface FastEthernet0/ 阅读全文
posted @ 2019-07-02 18:50 BicycleBoy 阅读(3452) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页