自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 php 5.4.38

php 5.4.38var_dump('redis' == 0);exit;打印结果为true

2015-05-26 17:58:44 624

原创 安装lua

lua官网首先到网站:http://www.lua.org/官方网站有安装指导:curl -R -O http://www.lua.org/ftp/lua-5.3.0.tar.gztar zxf lua-5.3.0.tar.gzcd lua-5.3.0make macosx test然后去src目录下run一下试试:andy@AndyMacBookPro:/usr/local/src/lua/

2015-05-21 12:10:15 472

转载 makefile.am和makefile.in

Q1: makefile.am 与 makefile.in是什么文件,干嘛用? 它对编译程序有用吗/ A1: 避免重复编译,减少等待时间之用。A2: make install 时用A3: automake 读取 Makefile.am 来产生 Makefile.in, configure 读取 Makefile.in 来产生 Makef

2015-05-21 11:55:47 509

转载 makefile.am和makefile.in

Q1: makefile.am 与 makefile.in是什么文件,干嘛用? 它对编译程序有用吗/ A1: 避免重复编译,减少等待时间之用。A2: make install 时用A3: automake 读取 Makefile.am 来产生 Makefile.in, configure 读取 Makefile.in 来产生 Makef

2015-05-21 11:55:28 636

原创 安装tinyhttpd遇到的问题

andy@AndyMacBookPro:/usr/local/src/tinyhttpd$ makegcc -W -Wall -lsocket -lpthread -o httpd httpd.chttpd.c:437:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int

2015-05-21 11:10:42 2463

转载 SIT与UAT的分别

在企业级软件的测试过程中,经常会划分为三个阶段——单元测试,SIT和UAT,如果开发人员足够,通常还会在SIT之前引入代码审查机制(Code Review)来保证软件符合客户需求且流程正确。下面简单介绍一下SIT和UAT的基本情况。 SIT(System Integration Testing)系统集成测试,也叫做集成测试,是软件测试的一个术语,在其中单独的软件模块被合并和作为一个组

2015-05-21 10:31:31 943

原创 java aes base64

andy@AndyMacBookPro:/usr/local/webdata/java/PHP-Java-AES-Encrypt$ javac -classpath ./libs/commons-codec-1.10.jar security.javasecurity.java:6: 类 Security 是公共的,应在名为 Security.java 的文件中声明public class Se

2015-05-20 12:02:47 2062

转载 php之class_exists慎用

今天在网上查看class_exists方法(http://php.net/manual/en/function.class-exists.php)的用法的时候,发现class_exists方法的定义如下: bool class_exists ( string classname[,boolclass_name [, bool autoload = true ] );它是有两个参数的,我们平时用这个

2015-05-15 10:13:28 5117

原创 关于http的506错误

andy@AndyMacBookPro:/etc/apache2$ grep -r HTTP_VARIANT_ALSO_VARIES ./*./extra/httpd-multilang-errordoc.conf:ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var./original/extra/httpd-multilang-

2015-05-08 10:59:23 16347 1

原创 为php使用des加密安装mcrypt扩展

为php安装des扩展,通过编译包安装:andy@AndyMacBookPro:~/Downloads/php-5.4.30/ext/mcrypt$ phpizeConfiguring for:PHP Api Version: 20100412Zend Module Api No: 20100525Zend Extension Api No: 220100525

2015-05-07 14:36:09 1652

原创 关于centos中的/etc/sudoers文件中的权限设定

我们看到/etc/sudoers文件中有这种设定:## Allows people in group wheel to run all commands# %wheel ALL=(ALL) ALL## Same thing without a password# %wheel ALL=(ALL) NOPASSWD: ALL其中的 NOPASSW

2015-05-06 17:58:50 4936

转载 centos同步服务器时间

新装的CentOS系统服务器可能设置了错误的,需要调整时区并调整时间.如下是CentOS系统使用NTP来从一个时间服务器同步: 第一步: 把当前时区调整为上海就是+8区,想改其他时区也可以去看看/usr/share/zoneinfo目录; cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 第二步:利用

2015-05-06 16:03:46 527

转载 Another app is currently holding the yum lock; The other application is: yum-updatesd-he

Centos-yum问题解决Existing lock /var/run/yum.pid: another copy is running as pid:3355. Another app is currently holding the yum lock; waiting for it to exit… The other application is: yum-updatesd-he …… 主

2015-05-06 10:13:53 4101

转载 adduser:command not found

当在root用户下,执行adduser命令时,出现错误:adduser:command not found 解决方案: 使用以下方式登陆root,获取足够权限: su -l 然后输入密码,解决!

2015-05-05 18:23:45 5144

转载 tar命令的详细解释

from:http://blog.csdn.net/eroswang/article/details/5555415tar命令 [root@linux ~]# tar [-cxtzjvfpPN] 文件与目录 …. 参数: -c :建立一个压缩文件的参数指令(create 的意思); -x :解开一个压缩文件的参数指令! -t :查看 tarfile 里面的文件! 特别注意,在参数的下达中

2015-05-05 17:02:02 3258

原创 osx中安装atom遇到的问题

andy@AndyMacBookPro:/usr/local/src/atom/script$ sudo ./buildPassword:Node: v0.10.31npm: v2.5.1Installing build modules...Installing apm.../usr/local/src/atom/apm/node_modules/atom-package-manager

2015-05-04 18:44:26 1484

原创 centos中如何安装php-bcmath扩展?

talk is cheap,show me the code:[root@LAMP1 lib]# php -vPHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53) Copyright (c) 1997-2010 The PHP GroupZend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologie

2015-05-04 12:00:34 19018

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除