03 2023 档案

摘要:1 centos几个仓库源: 2 https://zhuanlan.zhihu.com/p/424953404 3 4 5 https://stackoverflow.com/questions/53310625/how-to-install-gcc8-using-devtoolset-8-gcc 阅读全文
posted @ 2023-03-29 10:16 maojun1998 阅读(95) 评论(0) 推荐(0) 编辑
摘要:1 208 /* POSIX.2: "popen() shall ensure that any streams from previous 2 209 popen() calls that remain open in the parent process are closed 3 210 in 阅读全文
posted @ 2023-03-28 18:36 maojun1998 阅读(103) 评论(0) 推荐(0) 编辑
摘要:https://docs.openeuler.org/zh/docs/22.03_LTS_SP1/docs/Virtualization/%E8%99%9A%E6%8B%9F%E6%9C%BA%E9%85%8D%E7%BD%AE.html 阅读全文
posted @ 2023-03-17 11:30 maojun1998 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1.暂停机器 virsh suspend domainname2.创建内存快照(或者带上磁盘) virsh save domainname domainname.mem3.带上磁盘和内存快照到测试机器上恢复 virsh dump domainname virsh restore domainname 阅读全文
posted @ 2023-03-16 08:42 maojun1998 阅读(62) 评论(0) 推荐(0) 编辑
摘要:1 https://www.infosecurity-magazine.com/blogs/linux-kernel-live-patching/ 2 https://developer.ibm.com/technologies/linux/tutorials/live-patching-the-l 阅读全文
posted @ 2023-03-15 16:41 maojun1998 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1 rehl 红帽子企业版源码下载:(不全,可能得买个个人用户版才能拉到全得) 2 https://ftp.redhat.com/pub/redhat/linux/enterprise/7Server/en/RHEV/SRPMS/ 3 4 5 centos 测试构建未签名版本: 6 https:// 阅读全文
posted @ 2023-03-15 11:01 maojun1998 阅读(143) 评论(0) 推荐(0) 编辑
摘要:1 https://bbs.huaweicloud.com/blogs/193739 阅读全文
posted @ 2023-03-14 23:18 maojun1998 阅读(25) 评论(0) 推荐(0) 编辑
摘要:原文:https://github.com/ty4z2008/Qix/blob/master/ds.md 分布式系统(Distributed System)资料 希望转载的朋友,你可以不用联系我.但是一定要保留原文链接,因为这个项目还在继续也在不定期更新.希望看到文章的朋友能够学到更多. 《Reco 阅读全文
posted @ 2023-03-14 23:16 maojun1998 阅读(79) 评论(0) 推荐(0) 编辑
摘要:配置libvirt coredumo后(https://www.cnblogs.com/maojun1998/p/17215214.html) 让测试一直迁移vm,一段时间后出现coredump root 错误码: coredump.sh 严重错误,进程 coredump,dumpfile:/run 阅读全文
posted @ 2023-03-14 22:43 maojun1998 阅读(141) 评论(0) 推荐(0) 编辑
摘要:spec文件变更 1 D:\qemu-kvm-ev>diff -Nuar qemu-kvm-old.spec qemu-kvm.spec 2 qemu-kvm-old.spec 2023-02-14 13:02:49.000000000 +0800 3 +++ qemu-kvm.spec 2023- 阅读全文
posted @ 2023-03-14 22:27 maojun1998 阅读(47) 评论(0) 推荐(0) 编辑
摘要:1 <emulator>/dev/shm/qemu-kvm</emulator> 修改xml上面emulator即可 阅读全文
posted @ 2023-03-14 22:17 maojun1998 阅读(50) 评论(0) 推荐(0) 编辑
摘要:diff -Naur 阅读全文
posted @ 2023-03-14 16:05 maojun1998 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1 /usr/libexec/qemu-kvm -name guest=dev-ce9432,debug-threads=on -S 2 -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-10974-d 阅读全文
posted @ 2023-03-14 15:52 maojun1998 阅读(26) 评论(0) 推荐(0) 编辑
摘要:1 [538702.234798] *** Guest State *** 2 [538702.237242] CR0: actual=0x0000000000000030, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 3 [538702. 阅读全文
posted @ 2023-03-14 15:52 maojun1998 阅读(25) 评论(0) 推荐(0) 编辑
摘要:1 prlimit runtime set process coredump size 2 3 prlimit -p pid --core 4 5 prlimit -p pid --core=unlimited:unlimited 6 7 /root/zone/bin/core.%e.%t 8 9 阅读全文
posted @ 2023-03-14 15:51 maojun1998 阅读(112) 评论(0) 推荐(0) 编辑
摘要:1 yum install rpmbuild 2 yum install glib2-devel gnutls-devel \ 3 cyrus-sasl-devel \ 4 libaio-devel \ 5 pciutils-devel \ 6 libiscsi-devel \ 7 ncurses- 阅读全文
posted @ 2023-03-14 10:45 maojun1998 阅读(44) 评论(0) 推荐(0) 编辑
摘要:1 1.android点对点语音软件开发 2 https://juejin.cn/post/7007952118220849183 3 https://github.com/AFinalStone/AudioRecord 4 https://github.com/xiph/speex 阅读全文
posted @ 2023-03-06 14:58 maojun1998 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1 (1) CTRL+Z停止进程并放入后台 2 3 (2) jobs 显示当前暂停的进程 4 5 (3) bg %N 使第N个任务在后台运行(%前有空格) 6 7 (4) fg %N 使第N个任务在前台运行 阅读全文
posted @ 2023-03-06 14:47 maojun1998 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1 zcat ../initramfs-4.18.0-240.el8.x86_64.img | cpio -idmv 2 rpm -ivh ./KMOD_MEGARAID_SAS_07_714_04.rpm 3 depmode -b root 4 dracut --force 5 cat /lib/ 阅读全文
posted @ 2023-03-06 14:44 maojun1998 阅读(35) 评论(0) 推荐(0) 编辑
摘要:1 windows 网络调试 2 bcdedit /dbgsettings net hostip:192.168.2.1 port:50000 3 Key=sfz54lfnnz7r.2qv9aiovadd5i.2gtkz3xamru32.cdwwl45caxfl 4 5 6 bcdedit /set 阅读全文
posted @ 2023-03-06 14:38 maojun1998 阅读(48) 评论(0) 推荐(0) 编辑
摘要:1 "C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\symchk.exe" "c:\windows\system32\calc.exe" /s SRV*c:\symbols\*http://msdl.microsoft.com/downlo 阅读全文
posted @ 2023-03-06 14:37 maojun1998 阅读(88) 评论(0) 推荐(0) 编辑
摘要:1 00007ff7`72d7fc20 40 01 00 00 00 00 00 00-50 01 00 00 00 00 00 00 @.......P....... 2 00007ff7`72d7fc30 01 00 00 00 00 00 00 00-00 00 ff ff ff ff ff 阅读全文
posted @ 2023-03-06 10:05 maojun1998 阅读(54) 评论(0) 推荐(0) 编辑
摘要:1 list=$(ps -eo rss,pid,rss,args | grep -v '\[' | grep qemu-kvm |sort -k 1 -r -n | awk '{print $1}') 2 total=0 3 4 for e in $list;do 5 if [ "$e" != "R 阅读全文
posted @ 2023-03-01 14:11 maojun1998 阅读(16) 评论(0) 推荐(0) 编辑