Linux VPS服务器SSH端口一键修改脚本

方法 系统要求:支持Debian、Ubuntu、CentOS系统。 运行以下命令:

输入端口确认。再打开防火墙端口:

最后重启ssh生效:

Read more

树莓派Ubuntu22.04 server换源

备份:

换DNS(很重要) sudo vim /etc/resolv.conf ———————————————— This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). Do not edit. # This file might be symlinked as /etc/resolv.conf. If you’re looking at /etc/resolv.conf and…

Read more