Fork me on GitHub

2017年6月1日

nfs cron shell 作业

摘要: 作业一: nginx反向代理三台web服务器,实现负载均衡 所有的web服务共享一台nfs的存储 2台服务器 nginx 【lb】 :101.200.206.6 nginx 【web】:101.200.169.119 准备环境: 分别在所有服务器执行 =======>part1: iptables -F #systemctl disable firewalld #开机默认关闭 #sys... 阅读全文

posted @ 2017-06-01 19:34 vmaze 阅读(208) 评论(0) 推荐(0) 编辑

nfs cron shell 笔记

摘要: 1.nfs 2.crond 3.shell 1.准备环境: 防火墙 selinux 配置ip 2.安装软件 二进制 源码安装 3.改改配置文件 二进制:/etc/nginx/nginx.conf 源码:/usr/local/nginx/conf/nginx.conf 4.启动服务 二进制:systemctl start nginx 源码:/usr/local/nginx/sbin/ng... 阅读全文

posted @ 2017-06-01 19:32 vmaze 阅读(158) 评论(0) 推荐(0) 编辑

samba Nginx

摘要: 1.samba 2.nfs 3.crond 4.nginx ifconfig yum install net-tools -y ifconfig #查看所有已激活的网卡信息 ifconfig eth0 #查看单独一块网卡的信息 ip mtu网卡的最大传输单元 临时配置 ifconfig eth0 ip/24 ifconfig eth0:0 ip/24 回环网卡 为了测试用的 永久配置 /etc... 阅读全文

posted @ 2017-06-01 09:13 vmaze 阅读(185) 评论(0) 推荐(0) 编辑

导航