随笔分类 -  os

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页

git patch
摘要:[root@localhost libxml2]# patch -pn < 0001-fix-parser-termination-from-Double-hyphen-within-com.patch patch: **** strip count n is not a number [root@ 阅读全文

posted @ 2020-11-04 19:38 tycoon3 阅读(224) 评论(0) 推荐(0)

libxml2
摘要:libxml2-py.c:3:20: fatal error: Python.h: No such file or directory 1042 git clone https://gitlab.gnome.org/GNOME/libxml2.git 1043 ls 1044 cd libxml2/ 阅读全文

posted @ 2020-11-04 19:23 tycoon3 阅读(172) 评论(0) 推荐(0)

ninja
摘要:cwd: /tmp/pip-install-3evdau32/ninja Complete output (9 lines): File "/tmp/pip-build-env-m7obrf29/overlay/lib/python3.6/site-packages/skbuild/setuptoo 阅读全文

posted @ 2020-11-04 12:02 tycoon3 阅读(494) 评论(0) 推荐(0)

socat - UNIX-CONNECT:/tmp/vhost-user1
摘要:socat - UNIX-CONNECT:/tmp/vhost-user1 阅读全文

posted @ 2020-11-04 11:02 tycoon3 阅读(268) 评论(0) 推荐(0)

Cannot initiate the connection to ports.ubuntu.com:80
摘要:root@pcl-01:/usr/share/defaults/kata-containers# qemu-system-aarch64 -vqemu-system-aarch64: error while loading shared libraries: librbd.so.1: cannot 阅读全文

posted @ 2020-11-03 12:43 tycoon3 阅读(1871) 评论(0) 推荐(0)

Futex system calls taking too much time
摘要:strace -c -f -S name docker run --rm -itd --name=kata-test --runtime kata-runtime busybox strace: Process 21490 attached strace: Process 21491 attache 阅读全文

posted @ 2020-10-30 15:29 tycoon3 阅读(978) 评论(0) 推荐(0)

DAX内核文档(翻译)
摘要:对文件的直接访问(Direct Access) 1. 动机 page cache经常被用来被作为文件读写的buffer,也被用来提供页被mmap系统调用映射到用户态的页。 对于更像内存的块设备来说,page cache的页没必要从原始存储拷贝过来。DAX代码通过直接对存储设备的读写操作移除了额外的拷 阅读全文

posted @ 2020-10-30 10:50 tycoon3 阅读(735) 评论(0) 推荐(0)

Linux Memory Management:The Function and the Implementation of DAX(Direct Access)Mechanism
摘要:文章目录 Linux Memory Management:The Function and the Implementation of DAX(Direct Access)Mechanism 1. DAX 简述 2. DAX 的原理 2.1. 普通文件路径如何旁路页缓存 2.2. 映射文件路径如何旁 阅读全文

posted @ 2020-10-30 10:42 tycoon3 阅读(406) 评论(0) 推荐(0)

mount --bind
摘要:https://bindfs.org/ bindfs Mount a directory to another location and alter permission bits. bindfs is a FUSE filesystem for mounting a directory to an 阅读全文

posted @ 2020-10-30 10:32 tycoon3 阅读(173) 评论(0) 推荐(0)

extract 内核config
摘要:./scripts/extract-ikconfig vmlinux extract-ikconfig: Cannot find kernel config. If the kernel has been compiled with CONFIG_IKCONFIG=m (note the m), t 阅读全文

posted @ 2020-10-22 19:02 tycoon3 阅读(262) 评论(0) 推荐(0)

libfuse安装
摘要:Installation You can download libfuse from https://github.com/libfuse/libfuse/releases. To build and install, we recommend to use Meson and Ninja. Aft 阅读全文

posted @ 2020-10-21 17:44 tycoon3 阅读(5436) 评论(0) 推荐(0)

makefile 输出
摘要:在makefile中打印输出信息的方法是:$(warning xxxxx)或者$(error xxxxx) 输出变量方式为:$(warning $(XXX)) root@bogon runtime]# grep CLHCMD -rn * arch/amd64-options.mk:28:CLHCMD 阅读全文

posted @ 2020-10-21 12:05 tycoon3 阅读(804) 评论(0) 推荐(0)

ubuntu内核升级 内核代码下载
摘要:升级内核有两种方法:1. 自己下载源码编译;2. 使用官方编译好的内核。一般来说最好都是使用官方编译好的。官方编译的内核可以从这里下载:https://kernel.ubuntu.com/~kernel-ppa/mainline/ root@cloud:~/kernel.5.5.19# ls lin 阅读全文

posted @ 2020-10-21 10:09 tycoon3 阅读(559) 评论(0) 推荐(0)

glib-2.40 :libglib_2_0_la-gdate.lo failed
摘要:安装glib库: configure 配置选项 --enable-debug=no 选项:默认是mini模式,在release的时候应该使用该选项 --disable-included-printf 选项:这个选项要谨慎使用,可能会造成某些 printf 家族的函数不能使用 tar xf glib- 阅读全文

posted @ 2020-10-20 20:05 tycoon3 阅读(850) 评论(0) 推荐(0)

libseccomp编译安装 + autogen.sh
摘要:libseccomp编译安装 http://blog.fpliu.com/it/software/libseccomp contrib/virtiofsd/seccomp.o: In function `setup_seccomp': /data2/hyper/qemu/contrib/virtio 阅读全文

posted @ 2020-10-20 15:31 tycoon3 阅读(1986) 评论(1) 推荐(0)

linux去掉windows下文件中的\r dos2unix
摘要:Unix体系里,每行结尾只有“<换行>”,即“\n”;Windows体系里面,每行结尾是“<换行><回 车>”,即“\n\r”。一个直接结果是,Unix体系下的文件在Windows里打开的话,所有文字会变成一行;而Windows里的文件在Unix下打开的话,在每行的结尾可能会多出一个^M符号。 好了 阅读全文

posted @ 2020-10-14 16:09 tycoon3 阅读(692) 评论(0) 推荐(0)

curl unix socket
摘要:curl --unix-socket /var/run/docker.sock http://localhost/images/json | jq root@ubuntu:/etc/containerd# curl -v --unix-socket /run/containerd/container 阅读全文

posted @ 2020-10-14 14:42 tycoon3 阅读(829) 评论(0) 推荐(0)

journalctl
摘要:/var/log/syslog journalctl -f journalctl -xeu kubelet journalctl -r -t kubelet journalctl -t kata-runtime journactl -ft kata-runtime $ journalctl -q - 阅读全文

posted @ 2020-10-14 10:52 tycoon3 阅读(218) 评论(0) 推荐(0)

lsof
摘要:root@ubuntu:~/docker/container# lsof -n -p 12212 |grep sock qemu-syst 12212 root 13u sock 0,9 0t0 666653 protocol: UNIX qemu-syst 12212 root 14u sock 阅读全文

posted @ 2020-10-10 16:26 tycoon3 阅读(161) 评论(0) 推荐(0)

json + jq命令
摘要:root@ubuntu:~/docker/container# cat config.json | jq 阅读全文

posted @ 2020-10-10 14:21 tycoon3 阅读(134) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页

导航