opcache (全程 zend opcache): 从php5.5开始,默认提供的php脚本缓存扩展,编译php5.5时加上参数--enable-opcache就可以编译opcache了,只是要启用的话必须配置。 原理: 其实非常简单,opcache只是把把PHP执行后的数据(opcode)缓存到 ...
分类:
Web程序 时间:
2016-10-17 13:25:53
阅读次数:
202
1.首先查看下 系统配置 rpm -q ftp #肯定是没安装, 2.安装 vsftpd yum -y vsftpd 3.vim /etc/vsftpd/vsftpd.conf anonymous_enable=NO#是否允许匿名登陆local_enable=YES #设定本地用户可以访问。主要是为 ...
分类:
其他好文 时间:
2016-10-16 23:38:36
阅读次数:
236
delimiter $create event my_long_running_trx_monitoron schedule every 1 minutestarts '2015-09-15 11:00:00'on completion preserve enable dobegin declare ...
分类:
数据库 时间:
2016-10-16 21:41:56
阅读次数:
250
1.打开终端,执行命令【apt-get install vsftpd】,安装VSFTPD 2.安装完成后,修改以下配置信息(否则文件无法传输) 【echo 'listen=YES'>>/etc/vsftpd.conf】 【echo 'write_enable=YES'>>/etc/vsftpd.co ...
分类:
其他好文 时间:
2016-10-16 11:23:45
阅读次数:
399
一、安装及配置文件介绍1、使用yum的方式即可实现。yum-yinstallvsftpd2、用户认证配置文件/etc/pam.d/vsftpd3、主配置文件/etc/vsftpd/vsftpd.conf4、共享目录的位置:/var/ftp/二、vsfptd常用配置1、匿名用户的常用配置annoymous_enable=YES#是否启用匿名用户anno_upload_enab..
分类:
其他好文 时间:
2016-10-15 22:58:32
阅读次数:
530
pom增加:<dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version></dependency> ...
分类:
编程语言 时间:
2016-10-15 22:35:12
阅读次数:
210
#grep-v^#/etc/vsftpd/vsftpd.confanonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022anon_upload_enable=YESanon_world_readable_only=noanon_other_write_enable=yesanon_other_write_enable=yesdirmessage_enable=YESxferlog_enable=YESconnect_from_por..
分类:
Web程序 时间:
2016-10-14 18:04:55
阅读次数:
161
You need to have the EPEL repo (http://www.servermom.org/2-cents-tip-how-to-enable-epel-repo-on-centos-6-and-5/894/) yum install beanstalkd chkconfig ...
分类:
其他好文 时间:
2016-10-14 17:31:13
阅读次数:
171
In C#, extension methods enable you to add methods to existing class without creating a new derived class. Extension methods 要求: Extension methods cal ...
1. spring文档 解释一: Enable auto-configuration of the Spring Application Context, attempting to guess and configure beans that you are likely to need. Aut ...
分类:
其他好文 时间:
2016-10-13 19:23:38
阅读次数:
196