先执行命令yum install cmake mysql5.7采用的是cmake安装(更先进的configure) wget下载目录(到清华大学的镜像站下载) [root@localhost local]# cd /usr/local/src [root@localhost src]# wget h ...
分类:
数据库 时间:
2017-01-10 19:19:37
阅读次数:
323
LNMP搭建起来后,安装DISUZ操作记录[root@LNMP~]#mkdir/data/dis[root@LNMPdis]#wgethttp://download.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_GBK.zip[root@LNMP~]#vim/usr/local/nginx/conf/nginx.conf#清空nginx.conf,写入以下内容usernobodynobody;worker_processes2;erro..
分类:
Web程序 时间:
2016-11-18 07:50:11
阅读次数:
229
[root@LNMP~]#ls/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini以上这两个配置文件是不一样的/usr/local/php/etc/php-fpm.conf#是服务相关的配置文件/usr/local/php/etc/php.ini#是全局配置文件[root@L..
分类:
Web程序 时间:
2016-11-09 15:48:17
阅读次数:
297
因为nginx启动不方便,所以我们需要自已手动来编译一个nginx的启动脚本[root@LNMP~]#vim/etc/init.d/nginx#加入以下内容#!/bin/bash#chkconfig:-3021#description:httpservice.#SourceFunctionLibrary./etc/init.d/functions#NginxSettingsNGINX_SBIN="/usr/local/nginx/sbin/n..
分类:
其他好文 时间:
2016-11-09 13:15:33
阅读次数:
156
[root@LNMP~]#cd/usr/local/src/[root@LNMPsrc]#wgethttp://nginx.org/download/nginx-1.10.2.tar.gz[root@LNMPsrc]#tarzxvfnginx-1.10.2.tar.gz[root@LNMPsrc]#cdnginx-1.10.2/[root@LNMPnginx-1.10.2]#./configure--prefix=/usr/local/nginx--with-http_realip_module--with-..
分类:
其他好文 时间:
2016-11-03 03:11:09
阅读次数:
163
[root@LNMP~]#vim/usr/local/nginx/conf/nginx.conf打开以下PHP相关项且更改scripts$fastcgi_script_name;>/usrlocal/nginx/html$fastcgi_script_name;location~\.php${roothtml;fastcgi_pass127.0.0.1:9000;fastcgi_indexindex.php;fastcgi_paramSCRIPT_FILENAME/usr/local..
分类:
Web程序 时间:
2016-11-03 03:02:53
阅读次数:
224
LNMP的安安装,Linuxnginxmysqlphp,这四个软件安装起来。lLinux+Nginx+MySQL+PHPlPHP是一种脚本语言,当前中国乃至世界上使用php语言开发网站非常普遍lNginx是一个web服务软件,和apache是一类软件,目前使用nginx的企业越来越多lMySQL是当前最为流行的小型关系型数据库lLNMP就..
分类:
Web程序 时间:
2016-11-02 21:14:26
阅读次数:
230
高并发下随笔 随便写写,有什么不对的地方,请多指教。 选NGINX还是APACHE抗并发: 首先常用的架构是LNMP,之前用过LAMP的架构,但发现APACHE在高并发下表现并没有NGINX优异,原因是NGINX是异步非阻塞,APACHE是同步多进程阻塞型,NGINX会占用更少的资源抗并发,可能几千 ...
分类:
其他好文 时间:
2016-08-22 12:31:10
阅读次数:
130
server3.example.com172.25.85.31.server3:tarjxfphp-5.6.19.tar.bz2yuminstallcurl-devel-yyuminstallre2c-0.13.5-1.el6.x86_64.rpmgmp-develnet-snmp-develgd-devel-2.0.35-11.el6.x86_64.rpmlibxml2-devel-ycd/root/php-5.6.19./configure--prefix=/usr/local/lnmp/php--wit..
分类:
Web程序 时间:
2016-08-05 01:14:37
阅读次数:
248
server3.example.com172.25.85.3server4.example.com172.25.85.4server5.example.com172.25.85.51.nginx原码编译:tarzxfnginx-1.9.14.tar.gzcd/root/nginx-1.9.14/auto/ccvimgcc#debug
#CFLAGS="$CFLAGS-g"yuminstallpcre-developenssl-devel-ycdnginx-1.9.14./configure--pre..
分类:
其他好文 时间:
2016-08-05 01:13:54
阅读次数:
135