![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos
杰仔仔哦
这个作者很懒,什么都没留下…
展开
-
nginx在centos中的安装方法(tar.gz格式)
从nginx的官方网站下载稳定版本,这里下载的版本号是nginx-1.0.2。在默认情况下,经过编译安装的Nginx包含了大部分可用模块,可以通过“./configure --help”选项设置各个模块的使用情况,例如对不需要的http_ssi模块,可通过“--without-http_ssi_module”参数关闭此模块;如果需要“http_perl”模块,则可以通过“--with-http_...原创 2016-05-16 16:38:43 · 286 阅读 · 0 评论 -
java.lang.illegalargumentexception:MALFORMED
在centos系统中,启动tomcat7时出现 java.lang.illegalargumentexception:MALFORMED 原因: centos自带的jdk版本为1.7 解决方案: 删除原来自带的jdk版本1.7 然后安装1.6的版本配合tomcat7启动即可解决。 ...原创 2016-05-17 10:59:03 · 1652 阅读 · 0 评论 -
startup.sh执行后报The file is absent or does not have execute permission
启动tomcat Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 原因: 没有权限 解决方案: chmod 777 *.sh ...原创 2016-05-17 11:02:32 · 195 阅读 · 0 评论 -
安装memcache做./configure配置时报error:libevent is required
Libevent的API提供了这样的一套机制: 当指定文件描述符中一个特定的事件发生,或者超时时间到达后执行指定的回调函数。 此外,libevent回调功能也支持由信号或者常规的超时触发。 注意其许可协议为BSD-style的协议,可以在商业级产品中采用而不必开源。 解决方案: 在安装之前需要安装libevent即可解决...原创 2016-05-17 13:33:44 · 1645 阅读 · 0 评论 -
nginx中配置location的root(alias)访问同一个地址文件
我要访问http://yuming.com/B/c.html 按照正常的location配置应该是这样的: location / { root /data/html; index index.html index.htm; } 以上配置说明我需要在/data/html/B/目录下访问c.html 但是...原创 2017-07-11 15:15:09 · 832 阅读 · 0 评论