2023年8月28日
摘要: 1、使用VirtualBox 安装好 Ubuntu Server 2、在ubuntu上安装好lnmp环境 3、设置共享文件夹 4、在Ubuntu Server上安装VirtualBox 增强功能 设备 -> 安装增强功能 挂在镜像 sudo mount /dev/cdrom /mnt 安装 cd / 阅读全文
posted @ 2023-08-28 16:09 whlives 阅读(29) 评论(0) 推荐(0) 编辑
2022年6月8日
摘要: mamp 环境下web运行和命令行运行php时环境异常, 比如提示 Class "Predis\Client" not found 在web运行下redis正常,换到用命令行模式下提示找不到redis 原因是因为web和命令引用的php.ini路径不一样, web是用的:/Library/Appli 阅读全文
posted @ 2022-06-08 10:59 whlives 阅读(121) 评论(0) 推荐(0) 编辑
2022年2月25日
摘要: view传参后如果没有使用需要如下调用才生效 <script type="text/html" template lay-done="layui.data.sendParams(d.params)"></script> 阅读全文
posted @ 2022-02-25 21:00 whlives 阅读(53) 评论(0) 推荐(0) 编辑
2020年11月13日
摘要: centos安装 yum install supervisor 主配置文件位置 /etc/supervisord.conf 子进程配置文件位置 /etc/supervisord.d/ 注:默认子进程配置文件为ini格式,可在supervisor主配置文件中修改。 使用supervisor进程管理命令 阅读全文
posted @ 2020-11-13 11:40 whlives 阅读(232) 评论(0) 推荐(0) 编辑
2020年7月15日
摘要: 一、安装 centos 因为yum安装jenkins非常慢所以可以直接下载rmp文件进行安装,在yum安装的时候只安装java就可以(yum install java-1.8.0-openjdk-devel) https://mirrors.tuna.tsinghua.edu.cn/jenkins/ 阅读全文
posted @ 2020-07-15 15:06 whlives 阅读(182) 评论(0) 推荐(0) 编辑
2020年4月13日
摘要: 查看正在运行的镜像 docker ps 重启镜像 docker restart 容器id 进入容器命令 docker exec -it 容器id /bin/bash 阅读全文
posted @ 2020-04-13 09:35 whlives 阅读(345) 评论(0) 推荐(0) 编辑
2020年4月11日
摘要: 安装docker时遇到 Error: Problem: package docker-ce-3:19.03.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed - c 阅读全文
posted @ 2020-04-11 15:07 whlives 阅读(5933) 评论(0) 推荐(0) 编辑
2019年4月12日
摘要: 1、使用walle部署laravel的时候检出后执行composer update提示 [RuntimeException]The HOME or COMPOSER_HOME environment variable must be set for composer torun correctly 阅读全文
posted @ 2019-04-12 21:33 whlives 阅读(492) 评论(0) 推荐(0) 编辑
2019年2月19日
摘要: 去https://nodejs.org/en/download/复制安装包地址 node -v npm -v 测试是否成功 由于官方镜像比较慢,直接执行以下命令,将镜像地址改为淘宝的npm镜像地址 npm config set registry https://registry.npm.taobao 阅读全文
posted @ 2019-02-19 10:18 whlives 阅读(547) 评论(0) 推荐(1) 编辑
2018年11月22日
摘要: 1、处理ajax跨域 使用 composer require barryvdh/laravel-cors 2、laravel更新app_key php artisan key:generate 3、定时任务不运行解决,运用whereis php 命令查看是否存在多个多个php,存在需要在cronta 阅读全文
posted @ 2018-11-22 15:32 whlives 阅读(126) 评论(0) 推荐(0) 编辑