会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
77
下一页
2020年7月28日
tar解压时如何去掉第一级目录并解压到指定目录?
摘要: 答: 使用tar的--strip-components和-C选项,以解压jello.tar.gz去掉第一级目录jello并解压到根文件目录下 tar xvf jello.tar.gz --strip-components 1 -C / (假设jello.tar.gz的第一级目录为jello, jel
阅读全文
posted @ 2020-07-28 12:49 Jello
阅读(3602)
评论(0)
推荐(0)
2020年7月22日
ubuntu下容器无法启动报错"failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented"如何处理?
摘要: 答: 使用以下命令重新启动容器 $ sudo systemctl stop containerd $ sudo systemctl start containerd #启动docker $ sudo systemctl start docker.service
阅读全文
posted @ 2020-07-22 18:21 Jello
阅读(6896)
评论(0)
推荐(0)
ubuntu下如何随意升级arm64的交叉编译器?
摘要: 答:直接从https://releases.linaro.org/components/toolchain/binaries下载需要的版本,示例如下: 获取arm64的交叉编译器 $ wget https://releases.linaro.org/components/toolchain/bina
阅读全文
posted @ 2020-07-22 15:05 Jello
阅读(986)
评论(0)
推荐(0)
2020年7月17日
docker如何构建多架构(arm64, x86_64, armv7)容器镜像?
摘要: #1. 更新docker的版本到大于或等于19.03 1.1 x86下如何更新docker? $ sudo apt install -y apt-transport-https $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | s
阅读全文
posted @ 2020-07-17 20:33 Jello
阅读(8856)
评论(0)
推荐(0)
执行curl命令时报错"curl: (60) SSL certificate problem: certificate is not yet valid More details here: https://curl.haxx.se/docs/sslcerts.html gpg: no valid OpenPGP data found."如何处理?
摘要: 答: 加-k参数,如 $ curl -k
阅读全文
posted @ 2020-07-17 19:55 Jello
阅读(3483)
评论(0)
推荐(0)
ubuntu apt update时报错"E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? 如何处理?
摘要: 答:安装apt-transport-https即可 $ sudo apt install -y apt-transport-https
阅读全文
posted @ 2020-07-17 18:48 Jello
阅读(3661)
评论(0)
推荐(0)
2020年7月16日
linux下如何测试pwm功能?
摘要: 使能pwm模块的某个通道(假设某个pwm模块支持4个通道,以下示例是使能此pwm模块的通道1,通道从0开始数) echo 1 > /sys/class/pwm/pwmchip0/export 配置pwm的周期、占空比以及极性 echo 1000000000 > /sys/class/pwm/pwmc
阅读全文
posted @ 2020-07-16 16:57 Jello
阅读(2963)
评论(0)
推荐(0)
linux5.4版本内核如何使用PREEMPT_RT?
摘要: 答: 如下: General setup → [*] Configure standard kernel features (expert users) (在使能这个内核选项CONFIG_EXPERT后,CONFIG_PREEMPT_RT选项就被自动选中了)
阅读全文
posted @ 2020-07-16 16:33 Jello
阅读(1597)
评论(0)
推荐(0)
2020年7月7日
linux启动过程分析
摘要: linux内核从哪里开始? start_kernel(),linux内核源码/init/main.c, 在此之前有些准备工作,先不分析 linux内核是从哪里启动init程序的呢? start_kernel()-> arch_call_rest_init() → rest_init() 具体看一下r
阅读全文
posted @ 2020-07-07 16:00 Jello
阅读(413)
评论(0)
推荐(0)
2020年7月3日
arm64(aarch64)从boot rom 到linux的启动过程
摘要: 答:如下图
阅读全文
posted @ 2020-07-03 17:57 Jello
阅读(840)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
77
下一页
公告