随笔 - 137
文章 - 1
评论 - 3
阅读 -
14万
随笔分类 - linux
Alibaba Cloud Linux 3.2104 64位安装mydumper-0.9.1
摘要:1 下载 wget https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz tar -zxvf mydumper-0.9.1.tar.gz cd mydumper-0.9.1/ 安装所需要的依赖环境 yum -
阅读全文
Alibaba Cloud Linux 3.2104 64位安装mysql5.6.45
摘要:1 、安装cmake wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz tar -zxvf cmake-2.8.10.2.tar.gz cd cmake-2.8.10.2 ./configure make make install
阅读全文
ffmpeg 基本用法
摘要:1 视频合并 /usr/local/ffmpeg/bin/ffmpeg -f concat -safe 0 -protocol_whitelist "file,http,https,rtp,udp,tcp,tls" -i /web/video/filelist.txt -c copy /web/vi
阅读全文
ffmpeg安装教程
摘要:1 下载所需要的软件 mkdir /usr/local/soft cd /usr/local/soft wget https://www.ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 wget http://www.tortall.net/projects/
阅读全文
curl 查看响应时间
摘要:curl -o /dev/null -s -w "time_namelookup:%{time_namelookup}\ntime_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{t
阅读全文
centos7.2 64位安装php7.2.12
摘要:1 安装php所需要的扩展 yum -y install libxml2 libxml2-devel openssl openssl-devel bzip2 bzip2-devel curl curl-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libmcrypt libmcr...
阅读全文
linux ph7.2. 安装swool扩展
摘要:1 下载最新版本的swool扩展 下载地址如下 https://github.com/swoole/swoole-src/releases 2 安装swool扩展 tar -zxvf swoole-src-4.4.5.tar.gz cd swoole-src-4.4.5 /usr/local/php7.2/bin/phpize ./configure --with-php-config=/usr/
阅读全文
linux中根据进程的PID值来查找执行文件的及其路径
摘要:lsof -p PID
阅读全文
PHP7.X连接SQLSERVER数据库(CENTOS7)
摘要:参考网址 https://www.cnblogs.com/ytjjyy/p/8119708.html
阅读全文
nginx 实现所有的子域名301跳转到另外一个域名的对应子域名
摘要:server { listen 80; server_name *.olddomain.com; if ( $http_host ~* "^(.*?)\.olddomain\.com$"){ set $domain $1; } rewrite ^/(.*) ht...
阅读全文
linux 7.2安装扩展redis
摘要:unzip phpredis-php7.zip cd phpredis-php7 /usr/local/php7.2/bin/phpize ./configure --with-php-config=/usr/local/php7.2/bin/php-config make make install 编辑php.ini 加入扩展 extension=redis.so 重启php-f...
阅读全文
linux php5.6 安装Redis扩展
摘要:wget http://pecl.php.net/get/redis-4.2.0.tgz tar -zxvf redis-4.2.0.tgz cd redis-4.2.0 /usr/local/php5.6/bin/phpize ./configure --with-php-config=/usr/local/php5.6/bin/php-config make make insta...
阅读全文
linux php7.2安装扩展memcached
摘要:wget http://pecl.php.net/get/igbinary-2.0.8.tgz tar -xzvf igbinary-2.0.8.tgz cd igbinary-2.0.8 /usr/local/php7.2/bin/phpize ./configure --prefix=/usr/local/igbinary-2.0.8 --with-php-config=/usr/loca...
阅读全文
linux php5.6 安装扩展 memcached
摘要:wget http://pecl.php.net/get/igbinary-1.1.1.tgz tar -xzvf igbinary-1.1.1.tgz cd igbinary-1.1.1 /usr/local/php5.6/bin/phpize ./configure --with-php-config=/usr/local/php5.6/bin/php-config make m...
阅读全文
linux jpg文件查找木马
摘要:find ./ -type f -name "*.jpg" | xargs grep "eval"
阅读全文
linux 查找指定进程并kill
摘要:ps -ef | grep php | grep -v 'grep' | awk '{print $2}'| xargs kill -9
阅读全文
Linux防火墙:iptables禁IP与解封IP常用命令
摘要:在Linux下,使用ipteables来维护IP规则表。要封停或者是解封IP,其实就是在IP规则表中对入站部分的规则进行添加操作。 要封停一个IP,使用下面这条命令: 要解封一个IP,使用下面这条命令: 参数-I是表示Insert(添加),-D表示Delete(删除)。后面跟的是规则,INPUT表示
阅读全文
php7安装 event扩展
摘要:1 下载地址:http://pecl.php.net/package/event 2 安装支持库libevent,需要编译高版本(这里以最新版本release-2.1.8-stable为例) https://github.com/nmathewson/Libevent.git
阅读全文
linux 搭建rap记录
摘要:1 安装 jdk1.8版本及以上 2 安装 apache-tomcat 3 安装 redis 最后编辑session配置和数据库配置 <session-config><session-timeout>120</session-timeout></session-config>
阅读全文