09 2017 档案

摘要:NAT模式的LVS负载均衡群集 客户端:1.1.1.254/8 LVS调度器(Centos6.5)eth0 1.1.1.10/8 eth0:0 1.1.1.1 web服务器 eth0 1.1.1.20/8 lo 1.1.1.1 web服务器 eth0 1.1.1.30/8 lo 1.1.1.1 NF 阅读全文
posted @ 2017-09-28 15:48 Cheney& 阅读(292) 评论(0) 推荐(0)
摘要:Web集群--LVS(Linux Virtual Server )Linux虚拟服务器 集群模式和NFS共享存储服务器 直连路由(DR)模式的负载均衡群集 LVS百度百科 服务器群集 群集的类型:1、负载均衡群集 2、高可用群集 3、高性能运算群集 负载均衡的分层结构 第一层、负载调度器 第二层、服 阅读全文
posted @ 2017-09-28 15:09 Cheney& 阅读(276) 评论(0) 推荐(0)
摘要:#带数字事命令,下面是注释# 1 vim /etc/sysconfig/network-scripts/ifcfg-eth0 更改网卡设置,IPADDR=192.168.1.1 NETMASK=255.255.255.0 2 service network restart 重启网卡 3 ifconf 阅读全文
posted @ 2017-09-24 15:57 Cheney& 阅读(288) 评论(0) 推荐(0)
摘要:部署Nginx+Apache动静分离 LAMP Nginx Client | | | 192.168.1.2 192.168.1.1 192.168.1.10一、(192.168.1.2)安装apache[root@localhost ~]#rpm -q httpd[root@localhost ~ 阅读全文
posted @ 2017-09-24 15:53 Cheney& 阅读(301) 评论(0) 推荐(0)
摘要:构建rsync远程同步 同步源 发起端 192.168.1.1 192.168.1.101、配置IP地址并保证互通2、确定备份源[root@localhost ~]# mkdir /www[root@localhost ~]# touch /www/{1..50}.html3、创建备份账号[root 阅读全文
posted @ 2017-09-16 15:23 Cheney& 阅读(196) 评论(0) 推荐(0)
摘要:构建Nginx网站平台 一、安装Nginx 1、配置IP地址 (略) 2、编译安装Nginx [root@localhost ~]# yum -y install pcre-devel zlib-devel[root@localhost ~]# useradd -M -s /sbin/nologin 阅读全文
posted @ 2017-09-16 15:04 Cheney& 阅读(184) 评论(0) 推荐(0)
摘要:Tomcat 环境:VM CentOS1:192.168.1.1/24 CentOS2:192.168.1.2/24 REHL:192.168.1.3/24 CentOS 1 #yum开始 挂载镜像并连接 删除原有的yum配置文件,写入自己的 #yum结束 关闭iptables防火墙 需要用到的安装 阅读全文
posted @ 2017-09-16 14:39 Cheney& 阅读(394) 评论(0) 推荐(0)
摘要:Linux查看系统配置常用命令 一、linux CPU大小 cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical id" 说明:Linux下可以在/proc/cpuinfo中看到每个cpu的详细信息。但是对 阅读全文
posted @ 2017-09-16 12:18 Cheney& 阅读(934) 评论(1) 推荐(0)
摘要:环境:centos6.5 eth0:192.168.10.1/24 编译安装squid 21 tar -zxvf squid-3.4.6.tar.gz -C /usr/src/ 22 cd /usr/src/ 23 ls 24 cd ./squid-3.4.6/ 25 ls 26 ./configu 阅读全文
posted @ 2017-09-08 17:28 Cheney& 阅读(140) 评论(0) 推荐(0)
摘要:环境:VM CentOS6.5 / CentOS6.5镜像 LAMP平台的构成组件: Linux Apache MySQL/mogodb PHP/Perl/Python LAMP平台的优势: 成本低廉 可定制性 易于开发 方便易用 给eth0配置一个私有C类ip地址 配置文件信息 :wq 保存退出, 阅读全文
posted @ 2017-09-07 13:46 Cheney& 阅读(245) 评论(0) 推荐(0)