01 2018 档案

摘要:原文:https://book.2cto.com/201304/19622.html 本章介绍了Nginx的特点以及在什么场景下需要使用Nginx,同时介绍了如何获取Nginx以及如何配置、编译、安装运行Nginx。本章还深入介绍了最为复杂的configure过程,这部分内容是学习本书第二部分和第三 阅读全文
posted @ 2018-01-25 17:50 huiy_小溪 阅读(140) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19621.html 在Linux中,需要使用命令行来控制Nginx服务器的启动与停止、重载配置文件、回滚日志文件、平滑升级等行为。默认情况下,Nginx被安装在目录/usr/local/nginx/中,其二进制文件路径为/usr/lo 阅读全文
posted @ 2018-01-25 17:48 huiy_小溪 阅读(328) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19620.html 当configure执行成功时会生成objs目录,并在该目录下产生以下目录和文件:| ngx_auto_headers.h| autoconf.err| ngx_auto_config.h| ngx_modules 阅读全文
posted @ 2018-01-25 17:44 huiy_小溪 阅读(347) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19619.html 我们看到configure命令支持非常多的参数,读者可能会好奇它在执行时到底做了哪些事情,本节将通过解析configure源码来对它有一个感性的认识。configure由Shell脚本编写,中间会调用<nginx- 阅读全文
posted @ 2018-01-25 17:42 huiy_小溪 阅读(555) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19618.html 1.5 configure详解 可以看出,configure命令至关重要,下文将详细介绍如何使用configure命令,并分析configure到底是如何工作的,从中我们也可以看出Nginx的一些设计思想。 1.5 阅读全文
posted @ 2018-01-25 17:28 huiy_小溪 阅读(599) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19617.html 安装Nginx最简单的方式是,进入nginx-1.0.14目录后执行以下3行命令:./configuremakemake install configure命令做了大量的“幕后”工作,包括检测操作系统内核和已经安装 阅读全文
posted @ 2018-01-25 17:17 huiy_小溪 阅读(217) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19616.html 可以在Nginx官方网站(http://nginx.org/en/download.html)获取Nginx源码包。将下载的nginx-1.0.14.tar.gz源码压缩包放置到准备好的Nginx源代码目录中,然后 阅读全文
posted @ 2018-01-25 17:15 huiy_小溪 阅读(473) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19615.html 由于默认的Linux内核参数考虑的是最通用的场景,这明显不符合用于支持高并发访问的Web服务器的定义,所以需要修改Linux内核参数,使得Nginx可以拥有更高的性能。 在优化内核时,可以做的事情很多,不过,我们通 阅读全文
posted @ 2018-01-25 17:13 huiy_小溪 阅读(243) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19614.html 要使用Nginx,还需要在Linux文件系统上准备以下目录。 (1)Nginx源代码存放目录 该目录用于放置从官网上下载的Nginx源码文件,以及第三方或我们自己所写的模块源代码文件。 (2)Nginx编译阶段产生 阅读全文
posted @ 2018-01-25 17:09 huiy_小溪 阅读(292) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19612.html 如果要使用Nginx的常用功能,那么首先需要确保该操作系统上至少安装了如下软件。 (1)GCC编译器 GCC(GNU Compiler Collection)可用来编译C语言程序。Nginx不会直接提供二进制可执行 阅读全文
posted @ 2018-01-25 17:06 huiy_小溪 阅读(401) 评论(0) 推荐(0) 编辑
摘要:# 创建一个启动脚本文件,脚本内容见下vi /etc/init.d/tomcat #!/bin/bash # /etc/rc.d/init.d/tomcat # init script for tomcat precesses # processname: tomcat # description: 阅读全文
posted @ 2018-01-25 16:59 huiy_小溪 阅读(223) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.csdn.net/changzhi1990/article/details/40983247 php -m 输出:PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mys 阅读全文
posted @ 2018-01-23 18:38 huiy_小溪 阅读(3790) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19611.html 1.3 准备工作 由于Linux具有免费、使用广泛、商业支持越来越完善等特点,本书将主要针对Linux上运行的Nginx来进行介绍。需要说明的是,本书不是使用手册,而是介绍Nginx作为Web服务器的设计思想,以及 阅读全文
posted @ 2018-01-23 17:35 huiy_小溪 阅读(430) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19610.html 为什么选择Nginx?因为它具有以下特点: (1)更快 这表现在两个方面:一方面,在正常情况下,单次请求会得到更快的响应;另一方面,在高峰期(如有数以万计的并发请求),Nginx可以比其他Web服务器更快地响应请求 阅读全文
posted @ 2018-01-23 17:31 huiy_小溪 阅读(1563) 评论(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.ht 阅读全文
posted @ 2018-01-23 14:12 huiy_小溪 阅读(2781) 评论(0) 推荐(0) 编辑
摘要:原文:https://book.2cto.com/201304/19609.html 人们在了解新事物时,往往习惯通过类比来帮助自己理解事物的概貌。那么,我们在学习Nginx时也采用同样的方式,先来看看Nginx的竞争对手—Apache、Lighttpd、Tomcat、Jetty、IIS,它们都是W 阅读全文
posted @ 2018-01-22 17:27 huiy_小溪 阅读(349) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.mayongfa.cn/193.html 一、安装 Nginx 和 fastdfs-nginx-module 安装 Nginx 请看:从零开始学 Java - CentOS 下安装 Nginx,其实我只想放这一句话。但想想我还是一步一步写详细吧。 1.下载 Nginx 阅读全文
posted @ 2018-01-22 17:05 huiy_小溪 阅读(373) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.mayongfa.cn/192.html 一、安装 libfastcommon 和 FastDFS 1.下载安装 libfastcommon ,这里是通过wget下载(我喜欢这种方式)。wget https://github.com/happyfish100/libfa 阅读全文
posted @ 2018-01-22 17:02 huiy_小溪 阅读(192) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.linuxidc.com/Linux/2011-12/49635p2.htm (一) 使用前提 中心主机连接远程主机可以通过ssh密钥无密码连接 (二) 命令格式 pssh 总是通过清单 文件指定主机 其中的每行采用 [user] host[:port] 形式。 (三) 阅读全文
posted @ 2018-01-22 16:59 huiy_小溪 阅读(2010) 评论(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 st 阅读全文
posted @ 2018-01-22 13:36 huiy_小溪 阅读(168) 评论(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 清华 阅读全文
posted @ 2018-01-18 16:25 huiy_小溪 阅读(238) 评论(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 #添加模块 ./confi 阅读全文
posted @ 2018-01-18 14:11 huiy_小溪 阅读(168) 评论(0) 推荐(0) 编辑
摘要:参考网址:https://www.cnblogs.com/foohack/p/5359985.html pkill -f "process_name_pattern" 阅读全文
posted @ 2018-01-18 14:06 huiy_小溪 阅读(1837) 评论(0) 推荐(0) 编辑
摘要:参考网址:http://www.bubuko.com/infodetail-1662159.html yum -y install openssh-clients 阅读全文
posted @ 2018-01-18 13:41 huiy_小溪 阅读(2678) 评论(0) 推荐(0) 编辑
摘要:从mysql官网下载安装包:/mysql-5.7.20-linuxglibc2.12-x86_64.tar.gz #切换目录 cd /usr/local #解压下载的安装包 tar -zxvf /software/mysql/mysql-5.7.20-linux-glibc2.12-x86_64.t 阅读全文
posted @ 2018-01-12 13:58 huiy_小溪 阅读(694) 评论(0) 推荐(0) 编辑
摘要:参考网址:http://www.jb51.net/article/120545.htm # vi /etc/init.d/nginx #!/bin/sh # Name:nginx4comex # nginx - this script starts and stops the nginx daemo 阅读全文
posted @ 2018-01-08 17:23 huiy_小溪 阅读(218) 评论(0) 推荐(0) 编辑
摘要:参考网址:http://blog.sina.com.cn/s/blog_6d59e57d0102x21u.html 查询java是否安装 rpm -qa |grep java 批量卸载所有带有Java的文件 rpm -qa | grep java | xargs rpm -e –nodeps 检索y 阅读全文
posted @ 2018-01-08 10:30 huiy_小溪 阅读(224) 评论(0) 推荐(0) 编辑
摘要:参考:https://jingyan.baidu.com/article/546ae1853947b71149f28cb7.html 1、lsof -i:端口号 2、netstat -tunlp|grep 端口号 阅读全文
posted @ 2018-01-05 18:29 huiy_小溪 阅读(2068) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.51cto.com/williamx/958398 需要安装pcre-devel与openssl-devel yum -y install pcre-devel openssl openssl-devel 阅读全文
posted @ 2018-01-05 18:27 huiy_小溪 阅读(992) 评论(0) 推荐(0) 编辑
摘要:参考解决网址:https://www.cnblogs.com/studyDetail/p/7017911.html,谢谢。 数据库查询时报错:java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required 降低J 阅读全文
posted @ 2018-01-04 13:14 huiy_小溪 阅读(20331) 评论(0) 推荐(0) 编辑
摘要:1.首先到github上下载最新的模板代码 https://github.com/apereo/cas-overlay-template 下载完成后,导入该工程。 2.编译打包 cd cas-overlay-template-master mvn clean package 这样会生成一个war包。 阅读全文
posted @ 2018-01-03 17:06 huiy_小溪 阅读(480) 评论(0) 推荐(0) 编辑
摘要:<mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>nexus-aliyun</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups 阅读全文
posted @ 2018-01-03 16:52 huiy_小溪 阅读(5144) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示