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

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

萌虎 | 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系统一键安装脚本

 •