显示设备被哪个进程占用,例如: [root@localhost ~]# fuser -m -v /dev/sd… 继续阅读 Linux命令-fuser
Linux命令-stat
显示文件或目录的详细信息,例如: [root@localhost bin]# stat redis-cli F… 继续阅读 Linux命令-stat
Linux命令-ldd
显示指定程序的依赖库,例如: [root@localhost bin]# ldd redis-cli linu… 继续阅读 Linux命令-ldd
GoLang-Gin框架-中间件的实现
添加Middleware Gin框架的middleware 是依附 路由做的,所有 middleware 的执… 继续阅读 GoLang-Gin框架-中间件的实现
Redis-集群报错信息
报错: (error) DENIED Redis is running in protected mode b… 继续阅读 Redis-集群报错信息
Linux -查看系统命令列表-compgen
命令: compgen -c 会列出系统里面支持的命令列表,包括自己添加的脚本之类的,如果配置到了环境变量里面… 继续阅读 Linux -查看系统命令列表-compgen
Linux – 环境变量- env
命令: env 查看本机所有环境变量 env $HOME # 查看指定环境变量的配置
SSH 免密-多主机
需求: 一台主机可以免密登陆多台不同的主机 解决 添加配置文件 ~/.ssh/config # bi-web … 继续阅读 SSH 免密-多主机
Please reinstall the BZip2 distribution
使用 pecl 安装 bz2 的时候,报错信息如下 configure: error: Please rein… 继续阅读 Please reinstall the BZip2 distribution
Docker build 后标签名为none
如图: [root@localhost nginx]# docker images REPOSITORY TA… 继续阅读 Docker build 后标签名为none