随笔分类 -  os

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页

Docker安装Go go1.15
摘要:Docker安装Go 用docker安装go,可能不是最好的方法,但一定是最方便的方法 # 指定容器名为go115 docker run -it --name go115 golang:1.15 /bin/bash 你可以通过加上-v ~:/home/me参数,表示将家目录挂载到/home/me目录 阅读全文

posted @ 2020-12-29 19:38 tycoon3 阅读(1043) 评论(0) 推荐(0)

missing: OPENSSL_CRYPTO_LIBRARY
摘要:CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL, try to set the path to OpenSSL 阅读全文

posted @ 2020-12-29 16:35 tycoon3 阅读(5113) 评论(0) 推荐(0)

Installing Bazel on Ubuntu
摘要:https://docs.bazel.build/versions/master/install-ubuntu.html his page describes the options for installing Bazel on Ubuntu. It also provides links to 阅读全文

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

github 查看comits
摘要: 阅读全文

posted @ 2020-12-29 10:33 tycoon3 阅读(76) 评论(0) 推荐(0)

value used here after move
摘要:[root@bogon fnmut]# cat src/main.rs #[derive(Debug)] struct f_closure{ name: String, } impl f_closure{ fn fn_call( self) -> String{ self.name } } fn g 阅读全文

posted @ 2020-12-26 12:08 tycoon3 阅读(361) 评论(0) 推荐(0)

gdb firecracker
摘要:root@ubuntu:~# gdb firecracker /data1/core/core.53227 GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, 阅读全文

posted @ 2020-12-25 10:12 tycoon3 阅读(139) 评论(0) 推荐(0)

gdb --configuration
摘要:$ gdb --configuration 这个GDB配置如下:配置--host = x86_64-apple-darwin13.1.0 --target = x86_64-apple-darwin13.1.0 --with-auto-load-dir =:$ {prefix} / share / 阅读全文

posted @ 2020-12-25 10:10 tycoon3 阅读(357) 评论(0) 推荐(0)

rust 智能指针
摘要:智能指针是一类数据结构 智能指针 拥有 指向的内存,而 引用 只是 借用 智能指针 实现了 Deref 和 Drop 两个trait Box<T>,用于在堆上分配值 <=> 对应 C++ 的 std::unique_ptr Rc<T>,一个引用计数类型,其数据可以有多个所有者 <=> 对应 C++ 阅读全文

posted @ 2020-12-23 16:43 tycoon3 阅读(182) 评论(0) 推荐(0)

Linux上快速入门英特尔Optane DC Persistent Memory Module的配置与使用
摘要:https://blog.csdn.net/SweeNeil/article/details/89640206 阅读全文

posted @ 2020-12-23 11:54 tycoon3 阅读(263) 评论(0) 推荐(0)

rror while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
摘要:[root@localhost ovs]# ln -s /lib64/libc-2.17.so /lib64/libc.so.6ln: error while loading shared libraries: libc.so.6: cannot open shared object file: N 阅读全文

posted @ 2020-12-21 20:12 tycoon3 阅读(876) 评论(0) 推荐(0)

glibc
摘要:centos7不支持glibc-2.27 那就去清华开源站点下载glibc https://mirrors.tuna.tsinghua.edu.cn/gnu/libc/ 在介绍压缩目录里建build,../configure --prefix=/opt/glibc-2.27 make make in 阅读全文

posted @ 2020-12-21 19:37 tycoon3 阅读(722) 评论(0) 推荐(0)

KVM Simple Example
摘要:Background Starting from ARM-v8.1, Virtualization Host Extension (VHE) feature supports running unmodified OS in EL2. mrs x0, ESR_EL1can be redirected 阅读全文

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

strace 跟踪文件
摘要:strace -o firecracker.output firecracker --api-sock /tmp/firecracker.socket strace -ff -o log.runsc docker run --runtime=runsc-kvm --rm hello-world st 阅读全文

posted @ 2020-12-17 15:47 tycoon3 阅读(338) 评论(0) 推荐(0)

鲲鹏服务器 centos 升级gcc + 安装qemu
摘要:https://bbs.huaweicloud.com/forum/thread-22665-1-1.html# 去官网下载http://ftp.gnu.org/gnu/gcc/下载GCC 5.4.0的源码压缩包解压安装 解压gcc-5.4.0.tar.gz [root@localhost qemu 阅读全文

posted @ 2020-12-17 12:00 tycoon3 阅读(976) 评论(0) 推荐(0)

undefined reference to `shm_open'
摘要:如果你注意到的话,这样编译就能通过了: gcc -o test test.c -lrt 其实就是要连接库的原因。但是需要注意,-lrt需要放到后面,如果放到前面,还会报同样的错误,原因未知。下面给出一个我测试过的例子 /tmp/cc2aVWuG.o: In function `main': simp 阅读全文

posted @ 2020-12-16 16:58 tycoon3 阅读(1625) 评论(0) 推荐(0)

Golang与C互用
摘要:https://jermine.vdo.pub/go/golang%E4%B8%8Ec%E4%BA%92%E7%9B%B8%E8%B0%83%E7%94%A8%E4%BB%A5%E5%8F%8A%E8%B0%83%E7%94%A8c%E7%9A%84so%E5%8A%A8%E6%80%81%E5%B 阅读全文

posted @ 2020-12-14 17:53 tycoon3 阅读(387) 评论(0) 推荐(0)

[ TIME ] Timed out waiting for device dev-ttyS0.device. [DEPEND] Dependency failed for Serial Getty on ttyS0.
摘要:A start job is running for dev-ttyS0.device [ TIME ] Timed out waiting for device dev-ttyS0.device.[DEPEND] Dependency failed for Serial Getty on ttyS 阅读全文

posted @ 2020-12-11 19:41 tycoon3 阅读(6557) 评论(0) 推荐(0)

netcat nc
摘要:root@4c83d500b893:/# netcat -l -p 6000 GET / HTTP/1.1 User-Agent: Wget/1.19.4 (linux-gnu) Accept: */* Accept-Encoding: identity Host: 172.17.0.4:6000 阅读全文

posted @ 2020-12-11 10:40 tycoon3 阅读(114) 评论(0) 推荐(0)

iptables 插入规则 + docker
摘要:http://sxca.miit.gov.cn/txxh/xujfil/4749.hrh root@ # iptables -vnL cali-PREROUTING -t nat Chain cali-PREROUTING (1 references) pkts bytes target prot 阅读全文

posted @ 2020-12-11 10:24 tycoon3 阅读(2293) 评论(0) 推荐(0)

systemd kata
摘要:static noinline int init_post(void) __releases(kernel_lock) { /* need to finish all async __init code before freeing the memory */ async_synchronize_f 阅读全文

posted @ 2020-12-10 16:48 tycoon3 阅读(321) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 23 下一页

导航