上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 47 下一页
摘要: 原文:https://book.2cto.com/201304/19610.html 为什么选择Nginx?因为它具有以下特点: (1)更快 这表现在两个方面:一方面,在正常情况下,单次请求会得到更快的响应;另一方面,在高峰期(如有数以万计的并发请求),Nginx可以比其他Web服务器更快地响应请求。 实际上,本书第三部分中大量的篇幅都是在说明Nginx是如何做到... 阅读全文
posted @ 2018-01-23 17:31 huiy_小溪 阅读(1556) 评论(0) 推荐(0) 编辑
摘要: 参考文章:https://www.cnblogs.com/hehongbin/articles/5741270.html https://www.cnblogs.com/mitang/p/5524540.html https://www.cnblogs.com/feng18/p/5148985.html http://blog.csdn.net/changzhi1990/article/deta... 阅读全文
posted @ 2018-01-23 14:12 huiy_小溪 阅读(2774) 评论(0) 推荐(0) 编辑
摘要: 原文:https://book.2cto.com/201304/19609.html 人们在了解新事物时,往往习惯通过类比来帮助自己理解事物的概貌。那么,我们在学习Nginx时也采用同样的方式,先来看看Nginx的竞争对手—Apache、Lighttpd、Tomcat、Jetty、IIS,它们都是Web服务器,或者叫做WWW(World Wide Web)服务器,相应地也都具备W... 阅读全文
posted @ 2018-01-22 17:27 huiy_小溪 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.mayongfa.cn/193.html 一、安装 Nginx 和 fastdfs-nginx-module 安装 Nginx 请看:从零开始学 Java - CentOS 下安装 Nginx,其实我只想放这一句话。但想想我还是一步一步写详细吧。 1.下载 Nginx 和 fastdfs-nginx-module ,这里是通过wget下载(我喜欢这种方式)。 wget... 阅读全文
posted @ 2018-01-22 17:05 huiy_小溪 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.mayongfa.cn/192.html 一、安装 libfastcommon 和 FastDFS 1.下载安装 libfastcommon ,这里是通过wget下载(我喜欢这种方式)。wget https://github.com/happyfish100/libfastcommon/archive/V1.0.7.tar.gz 解压 libfastcommon,命... 阅读全文
posted @ 2018-01-22 17:02 huiy_小溪 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.linuxidc.com/Linux/2011-12/49635p2.htm (一) 使用前提 中心主机连接远程主机可以通过ssh密钥无密码连接 (二) 命令格式 pssh 总是通过清单 文件指定主机 其中的每行采用 [user] host[:port] 形式。 (三) 创建servers.txt文件 文件的内容为远程主机的ip,和用于连接ssh的用户名和... 阅读全文
posted @ 2018-01-22 16:59 huiy_小溪 阅读(2002) 评论(0) 推荐(0) 编辑
摘要: 在A和B两个机器上安装lvs+keepalived yum -y install lvs keepalived LVS: vi /etc/init.d/realserver.sh 用上面命令在A上建立realserver.sh文件,内容见下。 #!/bin/bash # # Script to start LVS DR real server. # description: LVS DR real... 阅读全文
posted @ 2018-01-22 13:36 huiy_小溪 阅读(167) 评论(0) 推荐(0) 编辑
摘要: ntp.sjtu.edu.cn 202.120.2.101 (上海交通大学网络中心NTP服务器地址)s1a.time.edu.cn 北京邮电大学s1b.time.edu.cn 清华大学s1c.time.edu.cn 北京大学s1d.time.edu.cn 东南大学s1e.time.edu.cn 清华大学s2a.time.edu.cn 清华大学s2b.time.edu.cn 清华大学s2c.time... 阅读全文
posted @ 2018-01-18 16:25 huiy_小溪 阅读(234) 评论(0) 推荐(0) 编辑
摘要: #安装依赖 yum -y install gcc yum -y install gcc-c++ yum -y install zlib-devel yum -y install pcre-devel yum -y install openssl openssl-devel #添加模块 ./configure --add-module=/app/fastdfs/fastdfs-nginx... 阅读全文
posted @ 2018-01-18 14:11 huiy_小溪 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 参考网址:https://www.cnblogs.com/foohack/p/5359985.html pkill -f "process_name_pattern" 阅读全文
posted @ 2018-01-18 14:06 huiy_小溪 阅读(1833) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 47 下一页