惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
博客园 - 聂微东
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MyScale Blog
MyScale Blog
罗磊的独立博客
H
Help Net Security
L
LangChain Blog
T
Threat Research - Cisco Blogs
量子位
S
Securelist
Last Week in AI
Last Week in AI
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
The Hacker News
The Hacker News
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
T
Threatpost
Security Latest
Security Latest
P
Palo Alto Networks Blog
Microsoft Security Blog
Microsoft Security Blog
NISL@THU
NISL@THU
F
Full Disclosure
WordPress大学
WordPress大学
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Heimdal Security Blog
J
Java Code Geeks
Recorded Future
Recorded Future
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
B
Blog RSS Feed
月光博客
月光博客
C
Cisco Blogs
V
Visual Studio Blog
D
DataBreaches.Net
H
Hacker News: Front Page
博客园 - 叶小钗
N
News and Events Feed by Topic
爱范儿
爱范儿
A
Arctic Wolf

萌虎 | moehu.org

一键更改Linux端显示语言为简体中文 - 萌虎 | moehu.org 国内开源镜像站点汇总 - 萌虎 | moehu.org 甲骨文使用dd救援系统重装 - 萌虎 | moehu.org Windows系统各版本最新KMS GVLK列表,带一键激活Win脚本 - 萌虎 | moehu.org 在线无损压缩图片神器Optimizilla - 萌虎 | moehu.org OneDrive网盘上传神器支持文件和文件夹上传 - 萌虎 | moehu.org OneDrive网盘极简目录列表程序OneList - 萌虎 | moehu.org 一款多储存方案的开源图床 兰空图床(Lsky Pro) - 萌虎 京东助手+淘宝试用助手+苏宁易购试用申请最新版 - 萌虎 | moehu.org
Linux VPS纯净版Debian/Ubuntu/CentOS/Windows系统一键安装脚本 - 萌虎 | moehu.org
博主: 尐酱油 · 2024-07-26 · via 萌虎 | moehu.org
  • 发布时间:
  • 1755 次浏览
  • 2397字数
  • 分类: windows vps linux
  1. 首页
  2. 正文  
  3. 分享到:

​说明:​本脚本是Vicer大佬将其DebianUbuntuCentOSDD Windows一键安装脚本合体了,使用更加方便了。

背景

  • 适用于由GRUB引导的CentOSUbuntuDebian系统。
  • 使用官方发行版去掉模板预装的软件。
  • 同时也可以解决内核版本与软件不兼容的问题。
  • 只要有root权限,还您一个纯净的系统。

注意

  • 全自动安装默认root密码:MoeClub.org,安装完成后请立即更改密码。
  • 能够全自动重装Debian/Ubuntu/CentOS等系统。
  • 同时提供dd镜像功能,例如:Linux VPS 上一键全自动dd安装Windows
  • 全自动安装CentOS时默认提供VNC功能,可使用VNC Viewer查看进度。
  • VNC端口为1或者5901,可自行尝试连接。(成功后VNC功能会消失)。
  • 目前只支持CentOS 6.9及以下版本(5.x6.x)。
  • 特别注意:OpenVZ构架不适用。

使用

1、安装依赖

#Debian/Ubuntu
apt-get install -y xz-utils openssl gawk file
 
#RedHat/CentOS
yum install -y xz openssl gawk file

如果出现错误请运行:

#Debian/Ubuntu
apt-get update
 
#RedHat/CentOS
yum update

2、下载脚本及使用

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh
#脚本备份
https://www.moerats.com/usr/shell/InstallNET.sh

使用方法:

Usage:
        bash InstallNET.sh      -d/--debian [dist-name]
                                -u/--ubuntu [dist-name]
                                -c/--centos [dist-version]
                                -v/--ver [32/i386|64/amd64]
                                --ip-addr/--ip-gate/--ip-mask
                                -apt/-yum/--mirror
                                -dd/--image
                                -a/-m
 
# dist-name:发行版本代号
# dist-version:发行版本号
# -apt/-yum/--mirror:使用定义镜像
# -a/-m:询问是否能进入VNC自行操作。 -a为不提示(一般用于全自动安装), -m为提示。

3、使用示例

#使用默认镜像全自动安装
bash InstallNET.sh -d 8 -v 64 -a

#使用自定义镜像全自动安装
bash InstallNET.sh -c 6.9 -v 64 -a --mirror 'http://mirror.centos.org/centos'
 
# 以下示例中,将X.X.X.X替换为自己的网络参数.
# --ip-addr :IP Address/IP地址
# --ip-gate :Gateway   /网关
# --ip-mask :Netmask   /子网掩码
 
#使用自定义镜像自定义网络参数全自动安装
#bash InstallNET.sh -u 16.04 -v 64 -a --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x --mirror 'http://archive.ubuntu.com/ubuntu'
 
#使用自定义网络参数全自动dd方式安装
#bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd 'https://moeclub.org/get-win7embx86-auto'
 
#使用自定义网络参数全自动dd方式安装存储在谷歌网盘中的镜像
#bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd "$(echo "https://drive.google.com/open?id=0B8SvBXZ3I5QMcUduTMJEanRkMzQ" |xargs -n1 bash <(wget --no-check-certificate -qO- 'https://moeclub.org/get-gdlink'))"

提示

1、在dd安装系统镜像时

  • 在你的机器上全新安装,如果你有VNC,可以看到全部过程。
  • dd安装镜像的过程中,不会走进度条(进度条一直显示为0%),完成后将会自动重启。
  • 分区界面标题一般显示为:“Starting up the partitioner“。

2、在全自动安装CentOS时

  • 如果看到 “Starting graphical installation” 或者类似表达,则表示正在安装。
  • 正常情况下只需要耐心等待安装完成即可。
  • 如果需要查看进度,使用VNC Viewer(或者其他VNC连接工具)。
  • 连接提示中的IP地址:端口进行连接,(端口一般为1或者5901)。

​文章来源:​Moeclub萌咖

Linux VPS纯净版Debian/Ubuntu/CentOS/Windows系统一键安装脚本

 •