摘要: 解决:make[2]: *** [aclocal.m4] Error 127 [root@node01 nginx-1.7.7]# makemake -f objs/Makefilemake[1]: Entering directory `/root/nginx-1.7.7'cd /software 阅读全文
posted @ 2020-12-01 15:00 walkersss 阅读(2806) 评论(0) 推荐(0) 编辑
摘要: redis-4.0.6 编译安装 https://redis.io/download #下载redis4.0.6wget http://download.redis.io/releases/redis-4.0.6.tar.gz yum install -y ruby rubygems gcc gcc 阅读全文
posted @ 2020-12-01 14:59 walkersss 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 原配置:location / { rewrite ^/(.*).html$ /$1.html?mode=test last; error_page 404 = @nodejs; }修改后:location / {root /path/to/files;index index.html;#try_fi 阅读全文
posted @ 2020-12-01 09:59 walkersss 阅读(3634) 评论(0) 推荐(0) 编辑
摘要: 1、查找当前目录下所有以.tar结尾的文件然后移动到指定目录:find . -name “*.tar” -exec mv {}./backup/ ; 注解:find –name 主要用于查找某个文件名字,-exec 、xargs可以用来承接前面的结果,然后将要执行的动作,一般跟find在一起用的很多 阅读全文
posted @ 2020-12-01 08:53 walkersss 阅读(108) 评论(0) 推荐(0) 编辑