12 2020 档案
摘要:壹 贰 叁 肆 链接: https://pan.baidu.com/s/1wOcVc6to1cb1Qp3DseJ1uA 提取码: qkth 复制这段内容后打开百度网盘手机App,操作更方便哦
阅读全文
摘要:<!doctype html>Vim快捷键整理 Vim快捷键整理 一、移动光标 xxxxxxxxxx 1、左移h、右移l、下移j、上移k 2、向下翻页ctrl + f,向上翻页ctrl + b 3、向下翻半页ctrl + d,向上翻半页ctrl + u 4、移动到行尾$,移动到行首0(数字),移动到
阅读全文
摘要:version: "3" services: redis: image: redis container_name: redis ports: - 6379:6379 command: redis-server --requirepass 123456 php: restart: always im
阅读全文
摘要:使用docker安装的PHPFPM容器没有Redis扩展,需要安装一下扩展。 首先进入docker的PHPFPM容器 $ docker exec -it myphpfpm /bin/bash $ curl -L -o /tmp/redis.tar.gz https://github.com/phpr
阅读全文
摘要:version: "3" services: php: restart: always image: php container_name: php ports: - 0.0.0.0:9000:9000 volumes: - ./nginx/www:/var/www/html - ./php_con
阅读全文
摘要:/* * 模拟post请求 */ function post_curl($url, $params=[], $headers=[]){ $httpInfo = array(); $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 1); curl_
阅读全文
摘要:docker-compose里两种设置方式都是可以持久化的 绝对路径的 ghost: image: ghost volumes: - ./ghost/config.js:/var/lib/ghost/config.js 卷标的 services: mysql: image: mysql contai
阅读全文
摘要:https://mirrors.aliyun.com/centos/8/isos/x86_64/CentOS-8.2.2004-x86_64-minimal.iso https://mirrors.aliyun.com/centos/8/isos/x86_64/
阅读全文
摘要:关闭 Hyper-V 并重启并没有解决问题。 还需要确认一下: 首先,管理员身份打开提示符(即windows powershell)。 输入 bcdedit 并回车,找到hypervisorlaunchtype选项, 发现为auto. 则可以输入命令bcdedit /set hypervisorla
阅读全文