02 2023 档案

ubuntu iptables 做为路由转发
摘要:实现功能,本地服务器的号段的192.168.8.0/24,而做为路由器的机器有2个ip,192.168.8.x和另一个ip,而另一个ip可以访问 192.168.2.0/24号段, 为了让其它192.168.8.0/24上服务器也可以访问192.168.2.0/24,就把当前服务器做为路由。 其它机 阅读全文

posted @ 2023-02-28 15:39 cococooder 阅读(933) 评论(0) 推荐(0) 编辑

ubuntu 逻辑卷增加磁盘
摘要:使用lv* 相关的命令 lvdisplay lvscan ACTIVE '/dev/ubuntu-vg/ubuntu-lv' [<74.00 GiB] inherit lvextend -l +100%free /dev/mapper/ubuntu--vg-ubuntu--lv 其中/dev/map 阅读全文

posted @ 2023-02-23 10:47 cococooder 阅读(67) 评论(0) 推荐(0) 编辑

ubuntu 替换国内源,清华源
摘要:参考 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。 22.04 # 默认注释了源 阅读全文

posted @ 2023-02-23 10:11 cococooder 阅读(434) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示