随笔分类 -  linux

1 2 3 4 5 ··· 13 下一页
摘要:在Ubuntu/Debian系统中,若需要彻底卸载MySQL并清除所有配置与数据,可按以下步骤操作,确保系统干净无残留。 1. 停止MySQL服务 在卸载前先停止运行中的MySQL服务: sudo service mysql stop 2. 卸载MySQL软件包及配置文件 使用purge而非remo 阅读全文
posted @ 2026-01-23 14:39 papering 阅读(11) 评论(0) 推荐(0)
摘要:Linux 性能调优之虚拟化调优 https://mp.weixin.qq.com/s/ypAr1qvAYBFD2BKyjx3HBg 写在前面 考试整理相关笔记 博文内容涉及Linux VM 常见管理操作以及部分调优配置 理解不足小伙伴帮忙指正 不必太纠结于当下,也不必太忧虑未来,当你经历过一些事情 阅读全文
posted @ 2024-02-27 11:54 papering 阅读(189) 评论(0) 推荐(0)
摘要:linux 用户 限定 tcp端口 你有普通用户使用特权端口 (1024 以下) 的需求吗,或许这篇文章能帮你彻底解决!-腾讯云开发者社区-腾讯云 https://cloud.tencent.com/developer/article/1526429 众所周知,在 Linux 系统下,只允许 Roo 阅读全文
posted @ 2024-01-18 14:33 papering 阅读(207) 评论(0) 推荐(0)
摘要:redefinition of `struct in6_addr' 的解决办法 # make[ 0%] Built target GENHDR[ 0%] Building C object lib/CMakeFiles/websockets.dir/plat/unix/unix-sockets.c. 阅读全文
posted @ 2024-01-11 14:10 papering 阅读(448) 评论(0) 推荐(0)
摘要:### Unix / Linux / macOS $ ./Configure $ make $ make test 1、make Can‘t locate IPC/Cmd.pm in @INC [ Downloads ] - /source/index.html https://www.openss 阅读全文
posted @ 2024-01-11 11:23 papering 阅读(2145) 评论(0) 推荐(0)
摘要:chattr(1) - Linux manual page https://www.man7.org/linux/man-pages/man1/chattr.1.html NAME top chattr - change file attributes on a Linux file system 阅读全文
posted @ 2023-12-15 11:44 papering 阅读(46) 评论(0) 推荐(0)
摘要:启动流程 | Android 开源项目 | Android Open Source Project https://source.android.google.cn/docs/security/features/verifiedboot/boot-flow?hl=zh-cn 启动时验证 启动时验证会 阅读全文
posted @ 2023-12-01 13:57 papering 阅读(1257) 评论(0) 推荐(0)
摘要:实践: 1、 写入管道时保证为原子的最大字节数 11 #define PIPE_BUF 4096 /* # bytes in atomic write to a pipe */ 1、普通文件( 数据文件 ) 标识:- ,普通文件是用于存放数据、程序等信息的文件,一般都长期地存放在外存储器(磁盘)中。 阅读全文
posted @ 2023-11-27 10:03 papering 阅读(159) 评论(0) 推荐(0)
摘要:Linux 性能全方位调优经验总结 https://mp.weixin.qq.com/s/zl-gqL6wrVyM_BzxoKKhsQ Linux 性能全方位调优经验总结 Linux云计算网络 2023-11-10 08:13 发表于广东 Part1Linux性能优化 1性能优化 性能指标 高并发和 阅读全文
posted @ 2023-11-10 10:57 papering 阅读(301) 评论(0) 推荐(0)
摘要:深入理解 Linux 中的 kworker 进程-腾讯云开发者社区-腾讯云 https://cloud.tencent.com/developer/article/2311554 在你使用 Linux 系统时,你可能在系统的进程列表中注意到了名为 "kworker" 的进程。你可能会想知道这个进程是 阅读全文
posted @ 2023-09-18 16:51 papering 阅读(1001) 评论(0) 推荐(0)
摘要:yum-config-manager --disable download.docker.com_linux_centos_docker-ce.reposudo 4. Disable the repository permanently, so yum won't use it by default 阅读全文
posted @ 2023-08-16 16:31 papering 阅读(37) 评论(0) 推荐(0)
摘要:如何基于eBPF实现跨语言、无侵入的流量录制? https://mp.weixin.qq.com/s/6vD0cckviqLQidFb6Yo71Q 翻译 搜索 复制 阅读全文
posted @ 2023-08-03 21:06 papering 阅读(98) 评论(0) 推荐(0)
摘要:https://stackoverflow.com/questions/51405065/shell-script-to-enter-docker-container-and-execute-command-and-eventually-exit 翻译 搜索 复制 阅读全文
posted @ 2023-05-31 19:40 papering 阅读(41) 评论(0) 推荐(0)
摘要:进程切换:自愿(voluntary)与强制(involuntary) | Linux Performance http://linuxperf.com/?p=209 抢占(preemption)是如何发生的 | Linux Performance http://linuxperf.com/?p=21 阅读全文
posted @ 2023-05-17 01:52 papering 阅读(414) 评论(0) 推荐(0)
摘要:使用 xclip 在 Linux 命令行中复制粘贴 - 知乎 https://zhuanlan.zhihu.com/p/73286091 翻译 搜索 复制 阅读全文
posted @ 2023-04-22 01:01 papering 阅读(84) 评论(0) 推荐(0)
摘要:实践 1、 Linux ping:unknown host问题排查 1)检查域名服务器 # cat /etc/resolv.conf nameserver 8.8.8.8 2)重启网络 使用 ifdown 关闭所有网口,再使用 ifup 重新启用网口。 通常推荐的做法是将这两个命令一起使用。 sud 阅读全文
posted @ 2023-04-04 10:46 papering 阅读(215) 评论(0) 推荐(0)
摘要:cat /proc/versionLinux version 4.4.0-131-generic (buildd@lgw01-amd64-015) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #157-Ubuntu S 阅读全文
posted @ 2023-01-30 13:37 papering 阅读(86) 评论(0) 推荐(0)
摘要:sudo apt-get install libpcap-dev 阅读全文
posted @ 2022-11-22 15:02 papering 阅读(583) 评论(0) 推荐(0)
摘要:https://www.kernel.org/doc/html/latest/kernel-hacking/locking.html 阅读全文
posted @ 2022-10-17 17:59 papering 阅读(25) 评论(0) 推荐(0)
摘要:小结: 1、 eBPF是一个能够在内核运行沙箱程序的技术,提供了一种在内核事件和用户程序事件发生时安全注入代码的机制,使得非内核开发人员也可以对内核进行控制。随着内核的发展,eBPF 逐步从最初的数据包过滤扩展到了网络、内核、安全、跟踪等,而且它的功能特性还在快速发展中,早期的 BPF 被称为经典 阅读全文
posted @ 2022-09-15 22:43 papering 阅读(526) 评论(0) 推荐(0)

1 2 3 4 5 ··· 13 下一页