- 博客(7)
- 资源 (20)
- 收藏
- 关注
转载 不重新编译PHP为PHP安装zlib扩展-学习收集
一台服务器,编译PHP时未设置参数,导致缺少zlib扩展,无法执行解压缩,错误信息是:“Fatal error: Call to undefined function gzopen”。首先找到当初编译PHP时的目录,如果没了就找一个相同版本的解压缩,解压缩到php(假设)目录下,然后以root身份进入php/ext/zlib/目录下执行phpize,报错:“Cannot find
2016-08-29 11:33:05 5418
原创 nginx.conf收集
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { wo
2016-08-28 12:42:56 327
原创 linux下查看线程-以及查看所占用的cpu
1. top -H -p 进程号查看某个进程所属的线程2. top 然后按f, 会出现很多选项,其中有个 P = Last used cpu (SMP);选择 , 然后回车就可以回到top的界面里, 多了一项 P。这样可以查看进程/线程所占用的cpu
2016-08-24 16:58:04 669
转载 php处理文件小结--最新
* 1.递归查找目录下所有文件。 * 2.对文件进行分类,csv execl 压缩包 其它;压缩包递,归解调用步骤1 * 3.对csv文件进行重命名;分类,历史告警,当前告警,经纬度配置信息 * 4.对分类后的csv文件进行分类上传,上传时需要获得: * 当前省份;文件大小,根据文件大小设置传输的时间间隔; * 5.整个过程都要有详细的日志记录,特别是异常文件,如:压缩包损坏
2016-08-21 22:59:38 360
转载 linux下测试机器的硬件信息
测试机器的硬件信息: 查看CPU信息(型号) # cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (看到有8个逻辑CPU, 也知道了CPU型号) # cat
2016-08-16 09:28:52 312
转载 ubuntu16.04安装chrome
--更简单的方法是先下载chromium浏览器,这是不禁止的,然后打开chromium搜索chrome,chrome的官网下载即可 //安装好后,终端输入google-chrome即可打开另一种方法:sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/将下载源加
2016-08-14 18:05:04 391
原创 PHP 中获取文件名及路径和shell find
只是做一个收集:1. basename("/mnt/img/image01.jpg")函数:得到文件名;输出结果为:image01.jpg. 使用 basename($uriString) 我们可以得到一个包含扩展名的文件名; 如果不需要扩展名,也可以使用 basename($uriString, $extString) 过滤扩展名,仅仅返回文件名。2. echo
2016-08-10 23:00:51 838
llvm-project-llvmorg-13.0.0-centos79-gcc11.1
2023-10-31
usql-0.7.0-linux-amd64.tar.bz2
2018-06-22
usql-0.7.0-windows-amd64 (1).zip
2018-06-22
myhttpd_muduo
2018-01-14
令牌桶算法c实现
2017-11-29
everything-curl http libcurl
2017-11-07
rar 64位最新版
2016-09-15
rarlinux下让人解压
2016-09-14
Linux Shell脚本攻略(第2版)
2016-08-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人