随笔 - 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 - 阅读全文
posted @ 2022-03-07 11:48 ヽ坚强的蘑菇 阅读(126) 评论(0) 推荐(0) 编辑
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 阅读全文
posted @ 2022-02-09 10:56 ヽ坚强的蘑菇 阅读(642) 评论(0) 推荐(0) 编辑
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 阅读全文
posted @ 2021-07-20 14:56 ヽ坚强的蘑菇 阅读(76) 评论(0) 推荐(0) 编辑
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/ 阅读全文
posted @ 2021-07-19 17:27 ヽ坚强的蘑菇 阅读(443) 评论(0) 推荐(0) 编辑
curl 查看响应时间
摘要:curl -o /dev/null -s -w "time_namelookup:%{time_namelookup}\ntime_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{t 阅读全文
posted @ 2020-10-27 09:32 ヽ坚强的蘑菇 阅读(129) 评论(0) 推荐(0) 编辑
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... 阅读全文
posted @ 2019-09-04 14:55 ヽ坚强的蘑菇 阅读(326) 评论(0) 推荐(0) 编辑
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/ 阅读全文
posted @ 2019-09-03 15:26 ヽ坚强的蘑菇 阅读(349) 评论(0) 推荐(0) 编辑
linux中根据进程的PID值来查找执行文件的及其路径
摘要:lsof -p PID 阅读全文
posted @ 2019-01-14 11:38 ヽ坚强的蘑菇 阅读(6277) 评论(0) 推荐(1) 编辑
PHP7.X连接SQLSERVER数据库(CENTOS7)
摘要:参考网址 https://www.cnblogs.com/ytjjyy/p/8119708.html 阅读全文
posted @ 2019-01-05 21:34 ヽ坚强的蘑菇 阅读(1339) 评论(0) 推荐(0) 编辑
nginx 实现所有的子域名301跳转到另外一个域名的对应子域名
摘要:server { listen 80; server_name *.olddomain.com; if ( $http_host ~* "^(.*?)\.olddomain\.com$"){ set $domain $1; } rewrite ^/(.*) ht... 阅读全文
posted @ 2018-12-11 10:52 ヽ坚强的蘑菇 阅读(1852) 评论(0) 推荐(0) 编辑
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... 阅读全文
posted @ 2018-11-29 22:25 ヽ坚强的蘑菇 阅读(218) 评论(0) 推荐(0) 编辑
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... 阅读全文
posted @ 2018-11-29 14:37 ヽ坚强的蘑菇 阅读(4264) 评论(2) 推荐(0) 编辑
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... 阅读全文
posted @ 2018-11-29 10:59 ヽ坚强的蘑菇 阅读(1554) 评论(0) 推荐(0) 编辑
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... 阅读全文
posted @ 2018-11-29 10:41 ヽ坚强的蘑菇 阅读(1460) 评论(0) 推荐(0) 编辑
linux jpg文件查找木马
摘要:find ./ -type f -name "*.jpg" | xargs grep "eval" 阅读全文
posted @ 2018-11-27 14:22 ヽ坚强的蘑菇 阅读(490) 评论(0) 推荐(0) 编辑
linux 查找指定进程并kill
摘要:ps -ef | grep php | grep -v 'grep' | awk '{print $2}'| xargs kill -9 阅读全文
posted @ 2018-06-21 15:44 ヽ坚强的蘑菇 阅读(5394) 评论(0) 推荐(1) 编辑
Linux防火墙:iptables禁IP与解封IP常用命令
摘要:在Linux下,使用ipteables来维护IP规则表。要封停或者是解封IP,其实就是在IP规则表中对入站部分的规则进行添加操作。 要封停一个IP,使用下面这条命令: 要解封一个IP,使用下面这条命令: 参数-I是表示Insert(添加),-D表示Delete(删除)。后面跟的是规则,INPUT表示 阅读全文
posted @ 2018-06-04 14:41 ヽ坚强的蘑菇 阅读(1650) 评论(0) 推荐(0) 编辑
php7安装 event扩展
摘要:1 下载地址:http://pecl.php.net/package/event 2 安装支持库libevent,需要编译高版本(这里以最新版本release-2.1.8-stable为例) https://github.com/nmathewson/Libevent.git 阅读全文
posted @ 2018-05-31 15:32 ヽ坚强的蘑菇 阅读(156) 评论(0) 推荐(0) 编辑
linux 搭建rap记录
摘要:1 安装 jdk1.8版本及以上 2 安装 apache-tomcat 3 安装 redis 最后编辑session配置和数据库配置 <session-config><session-timeout>120</session-timeout></session-config> 阅读全文
posted @ 2018-04-08 22:34 ヽ坚强的蘑菇 阅读(285) 评论(0) 推荐(0) 编辑
抓包软件
摘要:https://www.charlesproxy.com/ 阅读全文
posted @ 2018-03-29 17:27 ヽ坚强的蘑菇 阅读(104) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示