随笔分类 - linux
linux
摘要: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-
阅读全文
摘要:1 1.树莓派64位OS安装(下载镜像配置账号密码) 2 2.配置软件源 3 sudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list 4 sudo sed -i 's|//archive.raspberry
阅读全文
摘要:iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE
阅读全文
摘要:1 ./vbetool dpms off 2 用来关闭老笔记本屏幕(废物再利用)
阅读全文
摘要:1 https://www.linux-kvm.org/page/Perf_events 2 https://man7.org/linux/man-pages/man1/perf-kvm.1.html
阅读全文
摘要:1 $3 = {name = 0x7ffff76fb5dd "remote", connectURIProbe = 0x0, connectOpen = 0x7ffff7631f00 <remoteConnectOpen>, connectClose = 0x7ffff762e7c0 <remote
阅读全文
摘要:1 #!/bin/bash 2 # 3 # ./changeport.sh 4443 4 # 5 PORT=$1 6 if [ "$PORT" == "" ]; then 7 echo "port empty" 8 exit 0 9 fi 10 if [ "$(netstat -anp | grep
阅读全文
摘要:https://utcc.utoronto.ca/~cks/space/blog/linux/KernelSegfaultMessageMeaning What the Linux kernel's messages about segfaulting programs mean on 64-bit
阅读全文
摘要:1 cat ./debug/libvirt-4.5.0/src/qemu/qemu_monitor.c| nl -ba | grep "qemu unexpectedly" 2 for e in $(find . -type f );do if [ "$(cat $e | grep "qemu un
阅读全文
摘要:1 2022-06-08 14:11:35.662+0000: starting up libvirt version: 4.5.0, package: 33.el7 (CentOS BuildSystem <http://bugs.centos.org>, 2020-04-01-03:25:53,
阅读全文
摘要:https://github.com/bytedance/Elkeid https://github.com/ossec/ossec-hids https://tech.meituan.com/2019/01/17/distributed-hids-cluster-architecture-desi
阅读全文
摘要:[root@DC1-04-001 ~]# lspci -v 00:00.0 PCI bridge: Huawei Technologies Co., Ltd. HiSilicon PCIe Root Port with Gen4 (rev 21) (prog-if 00 [Normal decode
阅读全文
摘要:rpm2cpio ../libvirt-debuginfo-4.5.0-33.el7.x86_64.rpm | cpio -div
阅读全文
摘要:1 #0 load_elf_binary (bprm=0xffff8880072b1200) at fs/binfmt_elf.c:824 2 #1 0xffffffff81372605 in search_binary_handler (bprm=bprm@entry=0xffff8880072b
阅读全文
摘要:1.vc++ 编译器特点就是先寄存器保存,然后保存需要保存寄存器预留足够空间2.回溯办法old_rsp = now_rsp + 第一点上面的要回退的值;old_ip = [old_rsp]old_rsp -= sizeof(old_ip) //这里需要减老的压栈的
阅读全文
摘要:http://0pointer.de/blog/projects/serial-console.htmlserial-getty@ttyS2.service/sbin/agetty --keep-baud 115200 ttyS0 vt100 -n -l /bin/bash
阅读全文
摘要:1 [17213.128472] Call Trace: 2 [17213.128487] [<ffffffff8101b0c9>] dump_trace+0x59/0x350 3 [17213.128495] [<ffffffff8101b4ba>] show_stack_log_lvl+0xfa
阅读全文
摘要:GNUPG简单使用1.安装: 1)windows,大家肯定都用了git,直接打开gitbash 直接下载这个:https://github.com/git-for-windows/git/releases/download/v2.35.3.windows.1/Git-2.35.3-64-bit.ex
阅读全文
摘要:1 <domain type='kvm' id='6' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> 2 <name>vm-test</name> 3 <uuid>e0cccc71-1a93-d008-15c0-60155feecb
阅读全文