Linux运维第三阶段(八)nginx1、#useradd-M-s/sbin/nologinnginx(nginx默认以nobody身份运行,建议为其创建专门的用户账号,以便更准确的控制其访问,增加灵活性,降低安全风险#tarzxvfnginx-1.0.8.tar.gz-C/usr/src#cd/usr/src/nginx-1.0.8#./configure--prefix=/usr/local/..
分类:
系统相关 时间:
2015-06-14 00:34:52
阅读次数:
174
autotools (autoconf, automake)能自动创建用来编译代码的各种文件(configure, makefile). 有了它,我们就不需要手动写makefile了,也不用在环境变化的时候,手动的去调整makefile. 这一切autotools可以完成。
下面以一个例子来说说明。
1. C代码。下面是一个EFL的简单程序,需要先安装好 EFL的各种库。
#includ...
分类:
其他好文 时间:
2015-06-13 12:51:28
阅读次数:
109
基于Linux、Apache、Mysql、Php编译安装LAMP环境平台,并使用xcache加速php编译安装LAMP平台: 1、下载软件包,安装依赖包 #yuminstall-ypcre-devel 2、解包安装apache 2.1编译安装apr-1.5.0 #tarxvfapr-1.5.0.tar.bz2 #cdapr-1.5.0&&./configure--prefix=/usr/loc..
分类:
系统相关 时间:
2015-06-13 06:29:02
阅读次数:
207
1.先到官网下载http://www.postgresql.org/ftp/source/v9.4.1/ tar包2.解压后执行: sudo apt-get install zlib1g-dev sudo apt-get install libreadline-dev3../configure m....
分类:
数据库 时间:
2015-06-12 13:04:07
阅读次数:
145
之前都是在debian5上安装nrpe这次在debian7上安装就出现以下错误
checkingforSSLheaders...SSLheadersfoundin/usr
checkingforSSLlibraries...configure:error:Cannotfindssllibraries
1、官网
https://www.nagios.org/
2、下载nrpe-2.12.tar.gz
axel-n10http://sourceforge...
分类:
其他好文 时间:
2015-06-11 23:17:03
阅读次数:
244
1.downloadnginx源码2.tar–xvfnginx.tar.gz3.nginx需要prec和zlib库sudoapt-getprec3prec3-dev
sudoapt-getzlib1gzlib1g-dev4.安装配置cdnginx
sudo./configure安装内容Configurationsummary
+usingsystemPCRElibrary
+OpenSSLlibraryisnotused
+usingbuiltinmd5code
+sha1li..
分类:
Web程序 时间:
2015-06-11 23:12:52
阅读次数:
261
1.configure: error: MySQL library not found MySQL library not found
apt-get install libmysqlclient-dev
2.configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
apt-get install...
分类:
系统相关 时间:
2015-06-11 19:32:32
阅读次数:
176
sudo mkdir /usr/ccid./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux pre...
分类:
其他好文 时间:
2015-06-11 16:36:55
阅读次数:
1062
你需要安装很多东西,请按照以下顺序安装:安装的版本包也不能错:curl -Ohttp://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gztar -xzvf m4-1.4.13.tar.gzcd m4-1.4.13./configure --prefix=/usr...
分类:
系统相关 时间:
2015-06-11 16:28:42
阅读次数:
173
编译安装nginxyum-yinstallpcre-devel
groupadd-rnginx
useradd-gnginx-rnginx
tarxfnginx-1.6.2.tar.gz
cdnginx-1.6.2
./configure--prefix=/usr/local/nginx--conf-path=/etc/nginx/nginx.conf--user=nginx--group=nginx--error-log-path=/var/log/nginx/error.log--http-log..
分类:
Web程序 时间:
2015-06-11 00:22:42
阅读次数:
169