上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: //-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 阅读全文
posted @ 2021-07-01 10:09 花兮 阅读(230) 评论(0) 推荐(0) 编辑
摘要: df -h 命令查看整个硬盘的大小 ,-h表示人可读的du -d 1 -h 命令查看当前目录下所有文件夹的大小 -d 指深度,后面加一个数值 阅读全文
posted @ 2021-06-20 00:34 花兮 阅读(2026) 评论(0) 推荐(0) 编辑
摘要: //1.安装 brew install redis //2.修改配置 改为守护进程模式启动 修改/usr/local/etc/redis.conf,把daemonize no修改成daemonize yes //3.启动 redis-server /usr/local/etc/redis.conf 阅读全文
posted @ 2021-06-01 14:23 花兮 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 安装go //下载wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz//解压tar -zxvf go1.13.4.linux-amd64.tar.gz //设置环境变量export GOPATH=/root/go export PATH 阅读全文
posted @ 2021-04-13 09:07 花兮 阅读(196) 评论(0) 推荐(0) 编辑
摘要: //下载xdebug拓展包 https://pecl.php.net/get/xdebug-2.7.2.tgz //解压 编译 安装 phpize和php-config用自己实际的 tar -zxvf xdebug-2.7.2.tgz cd xdebug-2.7.2 phpize ./configu 阅读全文
posted @ 2021-03-09 09:55 花兮 阅读(233) 评论(0) 推荐(0) 编辑
摘要: //安装类库 composer require php-amqplib/php-amqplib //consumer.php消费者代码 require __DIR__ . "/../vendor/autoload.php"; use PhpAmqpLib\Connection\AMQPStreamC 阅读全文
posted @ 2021-03-07 10:07 花兮 阅读(634) 评论(0) 推荐(0) 编辑
摘要: //添加用户并设置密码 rabbitmqctl add_user <username> <password> //添加用户为administrator角色 rabbitmqctl set_user_tags <username> administrator //设置用户的权限,指定允许访问的vhos 阅读全文
posted @ 2021-03-06 23:11 花兮 阅读(196) 评论(0) 推荐(0) 编辑
摘要: //安装拓展类 composer require phpoffice/phpword require 'vendor/autoload.php'; $phpWord = \PhpOffice\PhpWord\IOFactory::load('./test.docx'); $xmlWriter = \ 阅读全文
posted @ 2021-02-24 10:54 花兮 阅读(408) 评论(0) 推荐(0) 编辑
摘要: nginx添加配置 location / { #。。。。省略代码 error_page 405 =200 $request_uri; } 阅读全文
posted @ 2020-12-16 22:30 花兮 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: 安装jdk 检索yum包含java的列表 yum list java-1.8* 安装1.8.0的所有文件 yum install java-1.8.0-openjdk* -y 检查是否安装成功 java -version 安装es 更新yum的缓存 yum makecache 安装ES yum in 阅读全文
posted @ 2020-08-20 10:19 花兮 阅读(1242) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页