ntgeralt's recent timeline updates
ntgeralt

ntgeralt

V2EX member #100676, joined on 2015-02-27 14:19:08 +08:00
[澳门家宽]求个 PT 网站邀请
分享邀请码  •  ntgeralt  •  Jun 18, 2024  •  Lastly replied by ntgeralt
4
请问 HKBN 2.5G 光猫设置 dmz 包含 443 的方式
宽带症候群  •  ntgeralt  •  May 1, 2023  •  Lastly replied by tim1014
6
13600KF 在 WIN10 下好像节能功能失效了
Windows  •  ntgeralt  •  Dec 6, 2022  •  Lastly replied by icatme
12
请教 WIN7 看 netflix 1080p 姿势
Netflix  •  ntgeralt  •  Aug 10, 2021  •  Lastly replied by ntgeralt
7
Chrome 新版, HTTP 页面无法自动填充问题
Chrome  •  ntgeralt  •  Jan 3, 2021  •  Lastly replied by autoxbc
4
发现 dns04.com 全部无法 ping 通,大伙正常吗?
宽带症候群  •  ntgeralt  •  Dec 25, 2020  •  Lastly replied by ntgeralt
4
请教 docs.google.com 协同工作增加密码登入方式
问与答  •  ntgeralt  •  May 9, 2020  •  Lastly replied by ruixue
1
ntgeralt's recent replies
10h 38m ago
Replied to a topic by Leeicon Claude 充值网站充值 claude code,一小时就被封号
那个卡头收赃款黑了
让 ai 接管 singbox 用过半个月
之后全面换 mihomo 了
不仅没有 json 逗号爆炸忧虑
ram 仅占用 60MB 不到,高效节能
每天干 2 小时的话要用 1-3 元/天
10h 48m ago
Replied to a topic by langhuishan 程序员 现在 AI 编程聪明得令人后背发凉。
现在人与人之间的差距,是创意+对 ai 的表达能力的差距
突然觉得以前小学语文老师逼你 现在有大作用了
10h 54m ago
Replied to a topic by jindeq 程序员 还是选择开通了 Z.ai 的年度 MAX 套餐
公司报销那挺好,差价贵一点也不在乎
最入门是隔壁 50 积分搞个 gpt team ,拿出来 codex 给它用
Gemini 学生号提取的 api 提示 429 频率过快。请问是我操作问题吗?正确操作方式应该是怎样
Oct 10, 2024
Replied to a topic by xiaozhu317 服务器 把生产服务器干烂了
@julyclyde 谢谢鄙视,能得到您的鄙视是 V2EX 莫大荣幸。
Oct 10, 2024
Replied to a topic by xiaozhu317 服务器 把生产服务器干烂了
@julyclyde 千言万语不如不如直接来一句:不懂 docker 鄙视 docker
Oct 9, 2024
Replied to a topic by xiaozhu317 服务器 把生产服务器干烂了
*补充 docker restart 参数和完整重建过程,已经实测。

#建立 docker 打通网络

sudo docker network create --driver bridge --subnet 172.18.0.0/16 my_network

#拉取并创建 ssh Docker 容器

sudo docker run -d --name ssh-container \

--network my_network \

-v /:/host \

-p 2222:22 \

-e ROOT_PASSWORD=123456 \

--restart unless-stopped \

rastasheep/ubuntu-sshd:18.04


#ssh 连接 2222 root 123456 提示密码错误,重建 docker ssh 密码为 123456

sudo docker exec -it ssh-container passwd root

#重新连接连接 ssh 2222 ( root 123456 ),进入主机的文件系统并使用 chroot:

cd /host

chroot .

#您现在能够重建容器外 SSH 服务器:

apt update && apt purge openssh-server && apt install openssh-server

passwd root
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5758 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 02:17 · PVG 10:17 · LAX 19:17 · JFK 22:17
♥ Do have faith in what you're doing.