摘要: ps aux | grep php 查看进程 ps -T -p <pid> 线程查看 todo:待完善 阅读全文
posted @ 2021-03-07 23:30 蓝晓焰 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 一、Vim三种模式:1、Vim和Vi: 两者都是多模式编辑器; Vim是Vi升级版,再兼容Vi所有指令的同时增加了一些新功能支持;特点:• 语法加亮:使用不同的颜色加亮代码;• 多级撤销:Vi只能撤销一次操作,Vim可以无限次撤销;• 可视化操作:可以在终端模式运行,也可以在Xwindows模式运行 阅读全文
posted @ 2021-03-07 18:51 蓝晓焰 阅读(138) 评论(0) 推荐(0) 编辑
摘要: redis 五种数据类型: 类型 结构 使用场景 备注 String 字符串 key value 各种数据,最大为512MB Hash 哈希 key field1 val1 用户信息 单维数组List 列表 key val1 val2 队列 value 可重复Set 集合 key member1 m 阅读全文
posted @ 2021-03-07 18:49 蓝晓焰 阅读(59) 评论(0) 推荐(0) 编辑
摘要: phpStorm 常用快捷键 Ctrl+j 插入活动代码提示Ctrl+Alt+t 当前位置插入环绕代码Alt+insert 生成代码菜单 Ctrl+q 查看代码注释Ctrl+d 复制当前行Ctrl+y 删除当前行 F4 查看源码Ctrl+g 跳转行Alt+↓ 查看下一个方法Alt+↑ 查看上一个方法 阅读全文
posted @ 2021-03-07 18:13 蓝晓焰 阅读(99) 评论(0) 推荐(0) 编辑
摘要: var arr1 = [[1, 4, 3], [4, 6, 6], [7, 20, 9]] $.each(arr1, function(i, item){ // 循环 console.log(item[i]); // 打印输出}); $('input[name="title"]').val(); / 阅读全文
posted @ 2021-03-07 18:11 蓝晓焰 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 环境信息查看 go env 运行文件 go run file.go构建二进制文件 go build file.go连接符 + 声明变量 var str string = "abc"var str = "abc"a := 1b := 2a, b = b, a 定义常量 const str string 阅读全文
posted @ 2021-03-07 18:03 蓝晓焰 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1.替换brew.git:cd "$(brew --repo)"git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git 2.替换homebrew-core.git:cd "$(brew --repo)/Librar 阅读全文
posted @ 2021-03-07 17:58 蓝晓焰 阅读(403) 评论(0) 推荐(0) 编辑
摘要: git clone git@github.com:test/test_v1.git 克隆项目 git clone git@192.168.1.213:php/h5/test_h5.git h5_v1.2 克隆项目并重新命名 git checkout -b v2.0 origin/v2.0 拉取远程分 阅读全文
posted @ 2021-03-07 17:56 蓝晓焰 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 环境 CentOS 7.9 PHP下载: https://www.php.net/downloads.php 安装编译工具 yum groupinstall 'Development Tools' 安装依赖包yum install -y autoconf krb5-devel openssl ope 阅读全文
posted @ 2021-03-07 17:44 蓝晓焰 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 系统 CentOS 7.9 userdel -r mysqlyum -y remove mariadb mariadb-libs mariadb-server mariadb-develrm -rf /etc/my*rm -rf /var/lib/mysqlrm -rf /var/log/mysql 阅读全文
posted @ 2021-03-07 16:46 蓝晓焰 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 当安装软件时有时会出现 /usr/bin/ld: cannot find -xxx 问题 例:/usr/bin/ld: cannot find -lzlib查看详细信息 ld -lzlib --verbose查到的组件名去除 lib,进行查找,如 libzlib.so,去除lib 为 libz.so 阅读全文
posted @ 2021-03-07 16:42 蓝晓焰 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 查看系统版本: cat /etc/redhat-release系统版本 CentOS Linux release 7.9.2009 (Core) 升级软件包 yum -y upgrade安装epel yum install -y epel-releaseyum install -y vim net- 阅读全文
posted @ 2021-03-07 16:09 蓝晓焰 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 环境 centos 7.9 nginx-1.18 安装方式 编译安装 用途:实验项目 预装: yum install -y gcc-c++ 1、安装 pcre -- 正则库官网: https://sourceforge.net/projects/pcre/files/pcre/wget -cO pc 阅读全文
posted @ 2021-03-07 15:56 蓝晓焰 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 之前一直都是用txt文件做些笔记,有些因为各种原因丢失了部分;最近给整理一下,放到博客园,如果能对大家有一定帮助,那我也会非常开心😊; 其实应该早一些发出来的,就先这样吧 阅读全文
posted @ 2021-03-07 15:18 蓝晓焰 阅读(34) 评论(0) 推荐(0) 编辑