自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PHP-FPM参数优化

1.Linux下增加文件打开数: sudo cat >> /etc/security/limits.conf * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 END 2.增加PHP-FPM打开文件描述符的限制: 修改php安装目录下的:php-fpm.conf文件 rli

2016-06-14 20:28:00 293

原创 Shell脚本统计指定目录下子目录中的文件个数

#!/bin/bash function usage(){     echo ""     echo "introduction: count of files subdir of source dir to save file.txt with [[subdir] [number of files]"     echo "subdir_files_count: usage: bash s

2016-06-06 19:53:41 7273

原创 用Shell命令批量压缩指定目录下指定目录到目标目录中

#!/bin/bash function usage(){     echo ""     echo "introduction: tar of source dir start with pattern files or dirs to target dir"     echo "patch_tar_pattern: usage: bash patch_tar_pattern -s [s

2016-06-04 16:12:44 2736

原创 用Shell命令批量解压一个目录下分卷的压缩包到指定目录

#!/bin/bash #tar.gz package files patch extract # target is extract file save path TARGET=. tar_gz_file_list=`ls | grep -Pio '^(.+)\.tar\.gz\..+' | grep -Pio '^(.+)\.tar.gz' | uniq` for file in $

2016-05-16 13:32:48 1848

空空如也

空空如也

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

TA关注的人

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