会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
77
下一页
2020年5月8日
在arm下使用docker build创建容器镜像时磁盘空间不足如何处理?
摘要: 答: 插入另一块磁盘或u盘,将其挂载到/var目录下,操作如下: 1. 插入另一块磁盘或u盘 2. 将磁盘或u盘挂载到/mnt目录下 $ sudo mkdir /mnt && sudo mount /dev/sda4 /mnt 3. 将/var目录中的内容拷贝到磁盘或u盘中 $ sudo cp /v
阅读全文
posted @ 2020-05-08 17:47 Jello
阅读(740)
评论(0)
推荐(0)
2020年5月6日
linux下如何强制卸载设备?
摘要: 答:示例如下, $ sudo umount -l /PATH/OF/BUSY-DEVICE ($ sudo umount -l /dev/sda1) $ sudo umount -f /PATH/OF/BUSY-NFS(NETWORK-FILE-SYSTEM) ($ sudo umount -f /
阅读全文
posted @ 2020-05-06 17:27 Jello
阅读(1188)
评论(0)
推荐(0)
docker build时如何使用代理?
摘要: 1. docker build 时加上加上参数--build-arg https_proxy=http://user:password@proxy-server-ip:port (根据自身情况填充user, pasword, proxy-server-ip, port) $ docker build
阅读全文
posted @ 2020-05-06 12:34 Jello
阅读(2286)
评论(0)
推荐(0)
如何配置docker使用代理?
摘要: 有两种方法可选, 1. 修改docker的客户端配置文件~/.docker/config.json$ cat ~/.docker/config.json { "proxies": { "default": { "httpProxy": "http://user:password@your-proxy
阅读全文
posted @ 2020-05-06 10:38 Jello
阅读(4157)
评论(0)
推荐(0)
2020年5月5日
linux下tar解压时报"gzip: stdin: unexpected end of file"如何处理?
摘要: 有两种可能: 1. 有可能是系统时间不对,导致解压出错。此时使用date设置好时间即可 2. 有可能文件不完整导致的
阅读全文
posted @ 2020-05-05 21:06 Jello
阅读(8142)
评论(1)
推荐(0)
2020年5月4日
ubuntu下如何安装valgrind?
摘要: $ sudo apt-get install -y valgrind
阅读全文
posted @ 2020-05-04 18:49 Jello
阅读(690)
评论(0)
推荐(0)
2020年4月30日
linux下如何睡眠1ms?
摘要: 答: 使用usleep接口 #include <time.h> void main(void) { usleep(1); }
阅读全文
posted @ 2020-04-30 18:50 Jello
阅读(448)
评论(0)
推荐(0)
linux用户空间如何控制gpio?
摘要: 1. 架构 2. 有两种操作方法 2.1 第一种: sysfs接口(旧, 已废弃) 2.2 第二种: 字符设备接口(新) 3. 如何使用sysfs接口控制gpio? 3.1 确定要使用的gpio号(怎么知道gpio号呀?) 3.2 将gpio号写入文件/sys/class/gpio/export中
阅读全文
posted @ 2020-04-30 18:11 Jello
阅读(4748)
评论(0)
推荐(0)
2020年4月29日
docker build时出现错误"debconf: unable to initialize frontend: Dialog"如何处理?
摘要: 1. 详细日志如下: debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or withou
阅读全文
posted @ 2020-04-29 14:57 Jello
阅读(4109)
评论(0)
推荐(0)
ubuntu下如何查看当前的usb设备使用的哪个驱动程序?
摘要: 1.查看是哪个设备 $ sudo cat /sys/kernel/debug/usb/devices2. 查看驱动$ lsmod |grep usb
阅读全文
posted @ 2020-04-29 11:48 Jello
阅读(3810)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
77
下一页
公告