首页
文章导航
留言板
友链
更多
关于
Search
1
常用安装脚本知识 [24年10月27日更新]
70 阅读
2
Win10怎么默认开启数字小键盘
67 阅读
3
网页制作常用代码 不断增加 [2025年3月31更新]
66 阅读
4
总结白嫖】DeepSeek R1 671B满血版-网页版+API版
54 阅读
5
自建不蒜子
53 阅读
默认
日常
学习
技术
登录
Search
标签搜索
安装
cloudflare
白嫖
脚本
CF
壁纸
图片
docker
Linux
Caddy
代码
哪吒
域名
节点
桌面壁纸
手机壁纸
NAT
LXC
优选
HTML
ws01
累计撰写
108
篇文章
累计收到
61
条评论
首页
栏目
默认
日常
学习
技术
页面
文章导航
留言板
友链
关于
搜索到
2
篇与
的结果
2025-06-29
Linux 重新安装使用
Linux 重新安装使用github项目 一.安装前准备 如果你不是root用户,请尝试执行以下命令切换获取root用户权限:sudo -s切换到root用户的默认方向cd ~然后继续下载并执行这个脚本。依赖项和操作系统支持以下列表,以安装到脚本支持的操作系统:1.Debian系列(Debian / Ubuntu / Kali):apt update -yapt install wget -y2.Alpine Linux:apk updateapk add bash wgetsed -i 's/root:\/bin\/ash/root:\/bin\/bash/g' /etc/passwd3.其它依赖项和操作系统看:github项目 二.下载系统wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh中国大陆服务器:wget --no-check-certificate -qO InstallNET.sh 'https://gitee.com/mb9e8j2/Tools/raw/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh三.开始安装相应 Linux 系统 【默认用户名,对于 Linux:root,对于 Windows:管理员,默认密码,对于Linux: LeitboGi0ro ,对于Windows: Teddysun.com,默认端口,Linux 系统:与之前通过终端连接的系统相同。Windows 系统:3389 】1.Debian系统bash InstallNET.sh -debian2.Ubuntu 22.04bash InstallNET.sh -ubuntu3.Alpine Linux Edgebash InstallNET.sh -alpine4.CentOS 9 streambash InstallNET.sh -centos5.Windows 11 Pro for Workstationsbash InstallNET.sh -windows四.常用系统一键脚本一键 debian 11或12【安装debian 12系统,修改为debian 12,设置亚洲上海时区,密码为admin888,名称是admin888,bbr,建议安装前修改密码】bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -debian 11 -timezone "Asia/Shanghai" -pwd 'admin888' -hostname "admin888" -swap "1024" --bbr五.其它说明对于 Debian,官方推荐的镜像列表在这里:https://www.debian.org/mirror/list.html高级用法,例如 Debian 11(推荐用于中国大陆以外的服务器)以更换为美国镜像的一键安装代码为例bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -debian 11 -mirror "https://mirrors.ocf.berkeley.edu/debian/" -timezone "Asia/Shanghai" -pwd 'admin888' -hostname "admin888" -swap "1024" --bbr下面是各国镜像地址日本:bash InstallNET.sh -debian 12 -mirror "http://ftp.riken.jp/Linux/debian/debian/"香港:bash InstallNET.sh -debian 12 -mirror "http://ftp.hk.debian.org/debian/"新加坡:bash InstallNET.sh -debian 12 -mirror "http://ftp.sg.debian.org/debian/"韩国:bash InstallNET.sh -debian 12 -mirror "http://ftp.kaist.ac.kr/debian/"台湾:bash InstallNET.sh -debian 12 -mirror "http://ftp.tw.debian.org/debian/"美国:bash InstallNET.sh -debian 12 -mirror "https://mirrors.ocf.berkeley.edu/debian/"加拿大:bash InstallNET.sh -debian 12 -mirror "http://ftp.ca.debian.org/debian/"英国:bash InstallNET.sh -debian 12 -mirror "http://ftp.uk.debian.org/debian/"德国:bash InstallNET.sh -debian 12 -mirror "http://ftp.de.debian.org/debian/"
2025年06月29日
0 阅读
0 评论
0 点赞
2024-04-29
RN服务器添加 IPV6 地址
RN服务器添加 IPV6 地址 请注意,对于 Ubuntu 和 Debian 实例,需要在配置后手动启用 IPV6。请按照以下步骤为您的服务器启用 IPv6 地址。通过 ssh 连接登录到您的服务器并在 sysctl.conf 文件中添加以下条目:nano /etc/sysctl.conf一直向下滚动,并在末尾添加以下行:net.ipv6.conf.all.autoconf = 0 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.eth0.autoconf = 0 net.ipv6.conf.eth0.accept_ra = 0替换前备份net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 要检查运行:sysctl -p然后尝试重启网络systemctl restart networking然后检查ping6 google.com如果仍然无法正常工作,请尝试重新启动您的 VPS。注意:最后,还要确保 /etc/sysctl.conf 文件中没有任何可能禁用 IPv6 连接的值。如果是这样,请务必将其注释掉,然后使用“sysctl -p”或重新启动 VPS 来刷新您的设置。
2024年04月29日
23 阅读
0 评论
0 点赞