摘要: 1、安装 sudo apt install lxd lxd-client 查看服务状态 sudo systemctl status lxd 查看版本 lxd --version 初始化 lxd init 2、使用 https://linuxcontainers.org/lxd/getting-sta 阅读全文
posted @ 2019-10-25 15:41 小-马-过-河 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 一、windows上校验 1、查看工具帮助 certutil -? certutil -hashfile -? 2、校验md5、sha1、sha256 certutil -hashfile ubuntu-18.04.3-live-server-amd64.iso md5 certutil -hash 阅读全文
posted @ 2019-10-25 10:08 小-马-过-河 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 1、查看lua命令文件 lua -v which lua 2、查看文件 ll /usr/bin/lua ll /etc/alternatives/lua-interpreter 3、重新生成链接 sudo mv /etc/alternatives/lua-interpreter /etc/alter 阅读全文
posted @ 2019-10-25 09:32 小-马-过-河 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: 1、安装 安装 sudo apt install lsyncd rsync 配置文件事例: /usr/share/doc/lsyncd/examples 启动服务 sudo systemctl restart lsyncd 查看服务状态 sudo systemctl status lsyncd ls 阅读全文
posted @ 2019-10-24 09:36 小-马-过-河 阅读(660) 评论(0) 推荐(0) 编辑
摘要: chmod -R 777 `find /var/www/abc/runtime -type d` chown -R abc:abc `find /var/www/abc/runtime -type f` 或 find /var/www/abc/runtime -type d -exec chmod 阅读全文
posted @ 2019-10-18 11:16 小-马-过-河 阅读(467) 评论(0) 推荐(0) 编辑
摘要: sudo apt install nginx php php-gd php-mysql php-mcrypt php-curl php-mbstring 阅读全文
posted @ 2019-10-18 11:15 小-马-过-河 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 1、编译安装ModSecurity1.1)安装依赖包sudo apt install apt-utils autoconf automake build-essential git libcurl4-openssl-dev libgeoip-dev liblmdb-dev libpcre++-dev 阅读全文
posted @ 2019-10-18 11:14 小-马-过-河 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: grep -r "test" 1.txt 2.txt ... grep -r "test" * -r 递归 -n行号 -l文件名,小写L -i不区分大小写 阅读全文
posted @ 2019-10-18 11:14 小-马-过-河 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1、源码安装预先安装make、gccsudo apt install make gccwget http://download.redis.io/releases/redis-5.0.5.tar.gzcd srcmake MALLOC=libcmake testsudo make install 如 阅读全文
posted @ 2019-10-18 11:11 小-马-过-河 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1、生成结构缓存 php tp optimize:schema --db mydb 阅读全文
posted @ 2019-10-18 11:07 小-马-过-河 阅读(184) 评论(0) 推荐(0) 编辑