加载中
php7 memcache扩展

php.net里面的memcache包各种报错,结果发现是不支持php7 搜索找到如下包 git clone https://github.com/websupport-sk/pecl-memcache memcache...

06/14 17:47
5
nginx rewrite

nginx rewrite 1.www跳转不带www if ( $host != 'xx.com' ){ rewrite ^/(.*)$ http://xx.com/$1 permanent; } 2.指定页面跳转http,其他页面跳转https vim xx.conf if ( $request_uri !...

05/04 09:10
15
linux删除文件磁盘空间没反应

linux删除文件磁盘空间没反应 上传服务器磁盘报警,清理了大文件发现磁盘空间没减少 。。。 。。。 经过搜索 ps -ef |grep deleted 发现清理的文件没有完全释放 杀掉进程就好...

03/16 15:03
8
sorry,you must have a tty to run sudo

问题 sorry,you must have a tty to run sudo visudo #Default requiretty

01/23 17:05
13
php子进程退出导致网站502

php子进程自动退出,是否防止程序内存溢出

01/23 16:56
7
shell连接mysql(通用版)

数据库信息如下: cat /home/scripts/rds.txt webWrite 192.168.100.100 goforit gofoirtPass root rootPass vim jinRds.sh #!/bin/bash #version:v3.0 #Date:2017-12-21 #作...

2017/12/29 15:16
10
php redis扩展

http://pecl.php.net/package/redis CentOS 6.x http://pecl.php.net/get/redis-3.1.5.tgz CentOS 5.x http://pecl.php.net/get/redis-2.2.7tgz...

2017/12/29 10:25
7
nginx设置下载文件

nginx设置下载文件 if ($request_filename ~* ^.*?\.(txt|doc|pdf|rar|gz|zip|docx|exe|xlsx|ppt|pptx|jpg|png)$){ add_header Content-Disposition 'attachment;'...

2017/12/12 11:26
5
collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1

CentOS 5.8安装php-5.6.28 make 出错 /usr/local/data/soft/php-5.6.28/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open' /usr/local/data/soft/php-5.6.28/ext/gd/libg...

2017/12/11 10:33
36
centos5.x yum源

vim CentOS-Base.repo # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Ba...

2017/11/27 13:47
8
No module named pkg_resources

错误:ImportError: No module named pkg_resources 解决:wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz tar -zxf distribute-0.6.27.tar.gz cd di...

2017/11/23 11:51
9
ImportError: No module named bz2

python-2.6 升级到python-2.7 导致import bz2不能使用 yum -y install bzip2-devel #已经安装过了(已经要先安装) ###在经历了无数坑之后,发现重新编译安装python就好了 Python 2.7.13 (d...

2017/11/23 11:47
7
openvpn an error occurred installing the tap-win32

win10安装openvpn错误 an error occurred installing the tap-win32 解决方法: 去掉隐藏网卡的勾选,然后继续下一步就好了

2017/11/07 11:31
6
追加新文件到zip和rar压缩包中

追加新文件到zip和rar压缩包中 zip -m old.zip new.html rar a old.rar new.html 删除文件从zip和rar压缩包 zip -d old.zip new.html rar d old.rar new.html...

2017/10/23 13:34
9
error: Your local changes to the following files would be overwritten by checkout:

git checkout代码出现 error: Your local changes to the following files would be overwritten by checkout: Lib/Action/activitySignAction.class.php Please commit your changes or sta...

2017/10/17 17:03
8
mkfs

#!/bin/bash # for i in `cat /root/disk_list.txt` do echo "y" | mkfs.ext3 /dev/$i &> /root/log.txt #此处y,是因为会提示 #mke2fs 1.41.12 (17-May-2010) #/dev/sdb is entire devi...

2017/09/26 17:22
4
CentOS x64 安装memcached

memcache服务安装 需要安装libevent yum -y install libevent-devel libevent 或者安装源码 http://www.memcached.org/files/memcached-1.4.24.tar.gz tar -xf memcached-1.4.24.tar.gz cd ...

2017/09/25 16:37
7
CentOS 6.5 x64 安装pyspider

系统:CentOS 6.5 x64 Python:python-2.6.6(系统自带) yum -y install libxml2-devel libxslt-devel yum -y install libxml libxslt yum -y install Cython yum -y install python-devel pi...

2017/09/20 13:38
30
CentOS 6.5 x64安装FFmpeg

CentOS 6.5 安装 ffmpeg 满满的坑 安装ffmpeg 1.安装依赖包 yum -y install yasm(建议源码安装) yasm-1.3.0.tar.gz(安装高版本的x264可能会提示需要1.2以上的yasm) 2.安装x264(卸载了y...

2017/08/25 10:18
39
nginx+lua+redis deny ip

nginx+lua+redis实现ip黑名单

2017/08/17 16:36
72

没有更多内容

加载失败,请刷新页面

下一页

返回顶部
顶部