Linux下nginx的安装问题
最近准备给公司的网站架构做下调整,安装部署新机器的时候遇到一些问题,nginx在安装的时候一直提示未找到openssl
./configure --prefix=/usr/local/nginx
程序代码
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library. You can either disable the module by using --without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using --with-http_ssl_module --with-openssl=<path> options.
下载了openssl-0.9.8l.tar.tar包,传到服务器
./configure
make
make install
最后查看当前版本
openssl version
系统显示各方面正常
重新再安装nginx,按照网上的提示指定openssl的位置
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-openssl=/usr/local/ssl/include/openssl
系统可以通过./configure
但是,在make过程当中,系统报了两个error
上网找了很多资料,还是没有解决问题,后来,问了一个linux老手,人家告诉我nginx很智能的,你只需要指向nginx的安装路径就可以了,它会自动帮你做编译,安装的,试了一下
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-openssl=/root/httpserver/openssl
make
make install
成功了。。。
也许,应该是自己在安装openssl的时候,有哪个地方没有配置对吧。。。
linux性能非常诱惑,但是,一旦出问题,真是让人头痛!
相关文档:
2。 技术网点:
csdn.net
chinaunix.net
ibm.com/developerworks/cn/linux
Linux内存使用详解:
http://blog.chinaunix.net/u2/67750/showart_2154542.html
3。 Linux技术点
系统管理命令(expect.)
shell编程
正则表达式
busybox
文件系统
4。 其它技术点
pclint(静态代码检查工具)
source monitor ......
首先我的操作系统是Debian Linux,我Debian用的是Xfce桌面环境,昨天我用了命令apt-get install gnome,安装了一堆软件之后重启,就进入不了图形界面了,只能进入字符界面,今天可好折腾了。
上午在网上查资料,可能总结了几个吧
1、在字符界面输入命令startx
2、修改init的默认级,所在文件的位置/etc/initt ......
热心点评:硬盘安装fedora的规则就像我们非常亚克西的政策一样, 告诉你不能发送yellow短信, 但就是不告诉你yellow的尺度是什么, 你只能冒着手机停机的危险,测试下哪些短信究竟射黄了。 通过不下两位数的重启, 摸索了一点点规则。 OK, 我想Linux不是gov, 安装还是有规则可言的,只是我们还没有找到这个readme? 达 ......
inux的chmod命令使用详解
使用方式 : chmod [-cfvR] [--help] [--version] mode file...
说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 chmod 可以藉以控制档案如何被他人所存取。
mode : 权限设定字串 ......
1,先看看工作队列和tasklet的区别:
(1) 定时器和tasklet:
Tasklets resemble kernel timers in 3 ways.
1)They are always run at interrupt time,
2)they always run on the same CPU that schedules the ......