会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Awakenedy
要想改变命运,首先改变自己,命运掌握在自己手里,改变,从这一刻开始。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2019年8月8日
VIM如何自动保存文件、自动重加载文件、自动刷新显示文件
摘要: 1、手动重加载文件的命令是:e! 2、一劳永逸的方法是:vim提供了自动加载的选项 autoread,默认关闭。 在vimrc中添加 set autoread即可打开自动加载选项,相关选项: 另外,vim使用tag进行切换时,如果当前文件修改未保存,会提示需保存后才能跳转。 在vimrc中添加 可使
阅读全文
posted @ 2019-08-08 09:23 Awakenedy
阅读(8177)
评论(0)
推荐(1)
2019年8月1日
Docker之rm: Device or resource busy
摘要: 提示: rm: cannot remove ‘/data’: Device or resource busy 原因: 在建立容器的时候做了相应目录的挂载,没有卸载,所以Device or resource busy 所以要先卸载umount /data 在删除rm -rf /var/lib/dock
阅读全文
posted @ 2019-08-01 09:26 Awakenedy
阅读(6358)
评论(0)
推荐(0)
2019年7月5日
Linux自定义应用程序及其菜单图标
摘要: 在Linux桌面系统中,如果需要自己添加一个应用程序,如果是标准的bin, lib, share结构,我通常将其放在/usr/local/bin中。如果非这样,或者程序文件很多,易造成Linux系统目录结构混乱,我通常把应用程序放在/opt目录下。然后给该程序添加开始菜单快捷方式图标、图标文件、MI
阅读全文
posted @ 2019-07-05 11:46 Awakenedy
阅读(2831)
评论(0)
推荐(1)
2019年7月4日
CentOS Docker 安装
摘要: 安装一些必要的系统工具: 添加软件源信息: 安装 Docker-ce: 启动 Docker 后台服务
阅读全文
posted @ 2019-07-04 15:47 Awakenedy
阅读(160)
评论(0)
推荐(0)
2019年6月17日
linux把用户添加到组
摘要: 使用 usermod 命令 将现有的用户添加到多个次要组或附加组 # usermod -a -G GroupName UserName id 命令查看输出 # id UserName 用户添加到多个次要组中 # usermod -a -G GroupName,GroupName1 UserName
阅读全文
posted @ 2019-06-17 15:57 Awakenedy
阅读(10055)
评论(0)
推荐(0)
2019年6月6日
aria2的安装与配置
摘要: aria2安装 安装 epel 源: yum install epel-release 然后直接安装: yum install aria2 -y 配置 Aria2 创建目录与配置文件 这一步需要切换到root下进行 $ su $ cd /etc/ && mkdir aria2 && cd aria2
阅读全文
posted @ 2019-06-06 15:07 Awakenedy
阅读(24636)
评论(0)
推荐(0)
2019年5月28日
Docker-端口映射
摘要: 端口映射可使用-p、-P来实现: -p指定要映射的端口,一个指定端口上只可以绑定一个容器 -P将容器内部开放的网络端口随机映射到宿主机的一个端口上 端口映射支持的格式: ip:hostport:containerport #指定ip、指定宿主机port、指定容器port ip::containerp
阅读全文
posted @ 2019-05-28 14:48 Awakenedy
阅读(990)
评论(0)
推荐(0)
2019年5月27日
Error response from daemon: Container ************** is not running
摘要: $ sudo docker run -d centos:last 8022826ebd567e2b1818e90ce33c3b68ea9aeac0286001154eb05fc2283e0238$ sudo docker exec -it 8022826ebd56 bash出现: Error response from daemon: Container 8022826ebd567e2b181...
阅读全文
posted @ 2019-05-27 17:00 Awakenedy
阅读(18977)
评论(0)
推荐(2)
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
摘要: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决: systemctl enable docker systemctl daemon-reload
阅读全文
posted @ 2019-05-27 11:19 Awakenedy
阅读(2436)
评论(1)
推荐(0)
Docker常用命令
摘要: 1. 查看Docker版本 $ docker version 它用于查看Docker的客户端和服务器版本。 2. 从Docker文件构建Docker映像 $ docker build -t image-name docker-file-location -t:它用于指定使用提供的名称来标记Docke
阅读全文
posted @ 2019-05-27 10:01 Awakenedy
阅读(358)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告