普通视图
支持快照进程的监控工具-atop
2025年12月31日 21:31
atop 类似 top , htop可以查看进程信息,还会自动快照历史数据到磁盘 方便溯源找凶手! 安装 D […]
利用 adb 命令远程启动安卓电视上的 app
2025年12月29日 18:15
CSP-J/S 复赛必备系统 NOI Linux 2.0
2025年10月15日 14:46
CSP 初赛告一段落,复赛即将来袭! NOI Linux 2.0作为NOI系列比赛和CSP-J/S等比赛必备的系统,了解和熟悉相关操作是赛前必备技能。目前正处于系统更换的过渡期,大家一定要注意自己省份使用哪个版本,提前熟悉、提前下载,了解操作环境,更好地应对比赛中出现的一些状况!
mmap – an effective way of reading/writing large files
2025年7月15日 23:53
When operating with files in programming, we often read entire file content into physical memory. While writing the code doesn’t take much time, what happens behind the scenes is far more complex. During the process, your program has to invoke multiple system calls between buffers in kernel and user spaces back and forth which is … Continue reading mmap – an effective way of reading/writing large files
cloudflared 用起来爽歪歪😊
2025年3月1日 15:55
把红米 AX5 路由器刷成了 OpenWrt 系统
2025年1月21日 23:14
centos 使用tinyproxy搭建 http代理服务
2024年10月31日 18:23
tinyproxy可以很轻量化的实现自己的http代理服务 环境: centos install $ yum […]
开始使用Debian
2024年8月1日 19:00
任何事物,没有对比就没有伤害。对Linux也适用… 上一篇我说要测试新版Linux,经过反复的测试RockyLinux 和 AlmaLinux,最后我还是选择了Debian。 最近一直在测试前面两款Linux发行版,结果编译软件总是失败,搞的我很恼火,VPS商家估计也被我搞无语了,内存显示只有1.7G,MySQL死活安装不成功,要不然就是安装成功多少有点兼容问题,我是用于生产环境,所以必须稳定。尝试了无数次只能放弃。我以为商家给的内存缩水… 真心不想在测试了! 我目前使用机器配置都显得太低… 用上面两款Linux发行版机器配置最少需要2H3G才能满足运行需要。 新的发行版主要还是太占内存了,这 […]
Dockerfile多阶段构建镜像
2024年7月6日 00:57
在构建GO的docker镜像时,都需要安装很多开发环境和依赖包,如果正常打包完整环境为镜像完全没有必要。因为运 […]
测试新的Linux发行版
2024年7月2日 05:00
CentOS使用了这么多年,现在该是说拜拜的时候了,官方都不更新了,再使用下去也是有点风险的。虽然有时候懒的折腾这些东西,过时的东西还是要淘汰的。7月1号又新出了一个SSH漏洞,换系统是势在必行。 目前看了两个不错的Linux发行版 RockyLinux 和 AlmaLinux RockyLinux: https://rockylinux.org/ AlmaLinux: https://almalinux.org/ RockyLinux:由 CentOS 的创始人 Gregory Kurtzer 发起,旨在填补 CentOS 留下的空白。作为一个社区企业操作系统,Rocky Linux 承诺提 […]
根据现有的libjpeg依赖修复ImportError
2024年6月25日 18:58
Python的Pillow库(PIL)处理图像时,可能会遇到库依赖问题,例如缺少libjpeg.so.9文件 […]
开发环境配置本地自签SSL证书
2024年6月20日 01:15
项目地址:https://github.com/FiloSottile/mkcert 本地开发环境有时候需要模 […]
利用mDNS协议使用局域网local域名服务
2024年6月5日 21:43
Multicast DNS(mDNS)协议是一种用于网络设备自动发现的技术。通过mDNS协议,设备可以在局域网 […]
换了大盘机
2024年4月25日 23:11
气温升的太快,真是大起大落让人难以接受。 灰常记忆这台机器马上就使用第七个年头,中间重装了一次系统,后面就没怎么管过,除了速度有点“慢”剩下就是稳定了。 今天上来看了一眼硬盘都快爆了,怎么删除多余的文件都不够用。只能拿出大盘鸡顶上,目前所有网站都在大盘鸡上,瓦工的机器用来做备份数据(瓦工有自动快照),实时增量同步文件、数据库每天定时备份发送到vps。做完这些基本上就安逸了。 已经24小时没有睡觉了,真的有点撑不住…… 记得我第一次用vps就没考虑命令那种操作,一是怕有误操作、二是我对linux命令一知半解。多亏选对了,现在看来我搞得这些服务真的有点太多…… 增量同步是个好东西,希望各位都能用起 […]
Set up your Secondary Network Interface for Ubuntu 18.04
2019年6月26日 11:11
if you are trying to attache the new network interface for your Ubuntu 18.04 EC2 instance, this post might help you to figure out. Summary because of Netplan is new network manager in Ubuntu 18.04, things became different as before, and Netplan looks not supported asymmetric routing for now, that is required you to set … Continue reading Set up your Secondary Network Interface for Ubuntu 18.04
Use Azure Devops Pipeline to build && deploy your project
2019年5月31日 00:09
this post will teach you how to deploy your own Docker registry and how to use Microsoft Azure Devops to automatically building your Github Go project, and deploy to your Docker Swarm Server How it works Pipeline download your github project Build your code by Dockerfile, make docker image then push to your own Docker … Continue reading Use Azure Devops Pipeline to build && deploy your project