上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: docker 容器内部命令报错 Failed to get D-Bus connection: Operation not permitted docker 中创建Centos7 容器,启动systemctl 报错。 容器的启动命令用以下:/usr/sbin/init docker run -dit 阅读全文
posted @ 2020-07-27 16:52 WH·xiao 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): 解决: mapper.xml文件中配置错误, 阅读全文
posted @ 2020-07-25 21:32 WH·xiao 阅读(5426) 评论(0) 推荐(0) 编辑
摘要: Operation inconsistent with current state异常解决 找到以下进程,并杀死,便可解决 阅读全文
posted @ 2020-07-25 20:10 WH·xiao 阅读(3626) 评论(0) 推荐(0) 编辑
摘要: netstat -lntp cd /proc/31479 ls -ail 下面就是进程的服务路径 cwd -> [路径] 阅读全文
posted @ 2020-07-23 09:13 WH·xiao 阅读(3107) 评论(0) 推荐(0) 编辑
摘要: 1、 /sys/kernel/mm/transparent_hugepage/enabled is 'always'. WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.2020-07-21T00:32:43.796+0 阅读全文
posted @ 2020-07-22 08:48 WH·xiao 阅读(123) 评论(0) 推荐(0) 编辑
摘要: *通配符匹配 #!/bin/bash version=$(cat /etc/redhat-release |awk '{print $4}') echo $version if [[ $version == 8 ]]; then echo "包含" else echo "不包含" fi ` 阅读全文
posted @ 2020-07-21 16:50 WH·xiao 阅读(898) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weirdo_world/article/details/89331186 阅读全文
posted @ 2020-07-14 23:04 WH·xiao 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1、dockerfile的指令 分为两种:构建指令和设置指令。 构建命令:用于构建镜像的时候执行的,不会在该镜像上的容器里执行。 设置命令:用于设image的属性,将会在运行的容器里执行。 FROM 指定基础image MAINTAINER 构建命令,用于指定创建者是谁 RUN 构建命令,RUN可以 阅读全文
posted @ 2020-07-09 10:43 WH·xiao 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1、tar 打包系统本地镜像 tar -cvpf /opt/system.tar --directory=/ --exclude=proc --exclude=sys --exclude=dev --exclude=run / 2、docker import 导入镜像 docker import s 阅读全文
posted @ 2020-07-09 10:23 WH·xiao 阅读(5749) 评论(0) 推荐(0) 编辑
摘要: 1、下载并解压 weget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.13.tgz tar zxvf mongodb-linux-x86_64-3.6.13.tgz 2、配置环境变量 vi /etc/profile expor 阅读全文
posted @ 2020-07-07 17:45 WH·xiao 阅读(531) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页