GithubHelp home page GithubHelp logo

meowlove / network-reinstall-system-modify Goto Github PK

View Code? Open in Web Editor NEW
1.1K 17.0 376.0 155.31 MB

It can reinstall CentOS, Debian, Ubuntu, Windows 2003, 7, 2008R2, 2012R2, 2016, 2019 and other systems (continuously added) via the Internet, and can install any system via mounting remote network ISO.

Home Page: https://cxthhhhh.com/

License: GNU General Public License v3.0

Shell 100.00%

network-reinstall-system-modify's Introduction

一键网络重装系统 - 魔改版
(Network-Reinstall-System-Modify)

通过互联网重新安装Linux和Windows以及常用操作系统。
(Reinstall Linux and Windows and Common Operating Systems through the Internet.)



欢迎加入,让我们一起维护构建【一键网络重装系统】项目。

Welcome to Join us, Let's make the "One-click Network Installation System" project better.



一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify)

一键网络重装系统 - 魔改版

一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify)可以通过互联网重新安装Linux和Windows以及常用操作系统。例如:CentOS、Debian、Ubuntu、Windows 2012R2、Windows Server 2019、Proxmox-VE、OpenWRT等常见系统,还可以通过极客功能裸机系统部署平台挂载网络【ISO镜像】远程安装任何系统。

一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify),从MoeClub Vicer分支,魔改版增加新功能修复Bug后,由CXT - Enjoy Life | 自天佑之,吉无不利提供维护和支持。(更多功能陆续更新中)

Network-Reinstall-System-Modify

Network-Reinstall-System-Modify can reinstall Linux and Windows and common operating systems through the internet. Common systems such as CentOS, Debian, Ubuntu, Windows 2012R2, Windows Server 2019, Proxmox-VE and OpenWRT can also mount the network [ISO image] through the geek function Bare Metal System Deployment Platform.

Network-Reinstall-System-Modify, Forked from MoeClub Vicer, After the magic revision adds new functions to fix bugs, CXT - Enjoy Life | 自天佑之,吉无不利 provides maintenance and support. (more Features of the magic version are constantly increasing.)

需求(Realistic Demand)

为什么我们需要重新安装一个纯净系统?


- 服务提供商提供的系统模板可能有一些内置软件,甚至与我们即将安装的软件冲突,导致安装失败。 - ISO挂载并不是所有服务提供商都提供的服务。有些IPIM/KVM传输速度太慢,安装效率很差。 - Linux/Windows可能会遇到一些在使用中找不到的莫名其妙的错误。相信你一定深有体会!

Why do we need to reinstall a pure system?


- The system template provided by the service provider may have some built-in software, even conflicting with the software we are about to install, resulting in the installation failure. - ISO mount is not a service provided by all service providers. Some IPIM/KVM transmission speeds are too slow and installation efficiency is poor. - Linux/Windows may encounter some inexplicable errors that cannot be found in use. I believe you must have a deep understanding!

你需要明白(You Need To Understand)

官方发布、使用教程、交流社区在哪里?(Where are the Release and Tutorials?)


  1. 官方发布(Release)
    https://www.cxthhhhh.com/network-reinstall-system-modify

  2. 使用教程(Tutorials)
    https://www.cxthhhhh.com/

  3. 社区交流(Forum)
    https://bbs.cxthhhhh.com/


常见问题(Common Problem)

这里和我博客中的教程将涵盖大多数问题的答案。

  1. 问:系统安装的默认密码?
    答:通常情况下,默认密码为[cxthhhhh.com]。为了防止暴力破解造成安全隐患,您必须在安装后立即更改默认密码,并做好安全防护!

  2. 问:如何连接和管理我的新系统?
    答:由于硬件配置和网络环境的不同,安装需要10到60分钟,请耐心等待。安装完成后,您可以通过IP:22(Linux SSH)/IP:3389(Windows RDP)进行连接。

  3. 问:如何使用【裸机系统部署平台】安装任何我想要的系统?
    答:这个过程很难用一句话来描述,所以访问我的博客,按照教程来做。https://www.cxthhhhh.com/

  4. 问:为什么Github上存储的项目内容不是全部?
    答:稍有常识的人都知道,Github只能上传小于100MB的文件。但截至2019年01月01日,整个一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify)项目中的所有文件总计超过50GB(2021年04月16日,超过130GB)。所以我只能上传脚本内容和较小的文件,我搭建的辅助平台将无法上传。但你可以访问Open Disk CDN了解更多。

  5. 问:如何沟通?反馈问题?【支持语言:英语,中文(推荐)】
    答:你可以访问CXT社区发帖交流和反馈(推荐),或前往我的电报频道、讨论组,进行即时交流和反馈。您也可以提交issues,但这不是即时的。


Here and the tutorials in my blog will cover the answers to most questions.

  1. Q:The default password for the system installation?
    A:Usually, Default password is [cxthhhhh.com]. In order to prevent potential safety hazards caused by brute force cracking, you must change the default password immediately after installation and do a good job of safety protection!

  2. Q:How to connect and control my new system?
    A:Due to different hardware configuration and network environment, the installation takes 15 to 60 minutes, please be patient. Once the installation is complete, you can connect via IP: 22 (Linux SSH) / IP: 3389 (Windows RDP).

  3. Q:How to manually install any system using [Bare-metal_System_Deployment_Platform]?
    A:It's hard to describe the process in one sentence, so visit my blog and follow the tutorial. https://www.cxthhhhh.com/

  4. Q:Why isn't the content of the project stored on Github not all?
    A:As we all know, Github can only upload files smaller than 100MB. However, as of January 1, 2019, all files in the entire [Network-Reinstall-System-Modify] (https://www.cxtthhhh.com/Network-Reinstall-System-Modify) project totaled more than 50GB (April 16, 2021, over 136GB). So I can only upload script content and smaller files, and the auxiliary platform I built will not be able to upload. But you can visit Open Disk CDN to learn more.

  5. Q:How to communicate? Feedback question? [Support language English (Recommended), Chinese (中文).]
    A: You can visit CXT Community Forum to Post Communication and Feedback (recommended), Or goto my Telegram channel and discussion group, and have instant Communication and Feedback. You can also submit issues, but this is not immediate.


联系我们(Contact-US)

https://www.cxthhhhh.com/contact-us

CXT社区(CXT Community Forum)
Telegram Channel:CXT | 自天佑之,吉无不利 and Telegram Channel:My Share
Telegram Chat Group:Technical Blog | 技術博客 and Telegram Chat Group:龙宫 | 龙王家族、AI吹水、BB交流

结语(End Notes)

CXT - Enjoy Life | 生活、技术、交友、分享 - 自天佑之,吉无不利
One-click Network Installation System
一键网络重装系统 - 魔改版(Network-Reinstall-System-Modify)

Version:V4.1.2
Date:2021/04/16

https://www.cxthhhhh.com/

network-reinstall-system-modify's People

Contributors

meowlove avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

network-reinstall-system-modify's Issues

line 95: [: ==: unary operator expected

---------------------------------------------------------------------------------------------------------------------
 对当前系统环境进行处理. . .  【OK】                            
 Pre-environment preparation. . .  【OK】                          
                                                                
                                                                
 检测系统信息. . .                                              
 Detection system information. . .                              
---------------------------------------------------------------------------------------------------------------------

                                               
/root/Network-Reinstall-System-Modify.sh: line 95: [: ==: unary operator expected
/root/Network-Reinstall-System-Modify.sh: line 95: [: ==: unary operator expected
Legacy...     

添加 Ubuntu 20.04 LTS (Focal)

[[ "$isDigital" == '12.04' ]] && DIST='precise';
[[ "$isDigital" == '14.04' ]] && DIST='trusty';
[[ "$isDigital" == '16.04' ]] && DIST='xenial';
[[ "$isDigital" == '18.04' ]] && DIST='bionic';

上面这里加 20.04 的话下面这行使用 20.04 的话需要把 /current/images/netboot/... 改成 /current/legacy-images/netboot/...

wget --no-check-certificate -qO '/boot/initrd.img' "${LinuxMirror}/dists/${DIST}${inUpdate}/main/installer-${VER}/current/images/netboot/${linux_relese}-installer/${VER}/initrd.gz"

unreachable gateway

在rfchost vps上使用安装脚本,会提示unreachable gateway,安装进度卡死,通过vnc链接,选中continue并回车也还是这个页面
image

arch linux 运行脚本后 选择 10) Ubuntu 22【Recommend】 报错

当前系统是 arch linux 运行脚本后 选择 10) Ubuntu 22【Recommend】 报错

请选择(Your option):
10

Install...Ubuntu 22

任意键继续(Press any key to continue...)Error! Not Found grub.

然后就退出了

重新运行脚本发现
发现是系统判断错误了

当前系统 是 CentOS/Rocky/Oracle/RHEL
Current system is CentOS/Rocky/Oracle/RHEL
/root/Network-Reinstall-System-Modify.sh: line 79: yum: command not found
/root/Network-Reinstall-System-Modify.sh: line 80: dnf: command not found

linode not work

7台LinodeVPS测试都失联了。
预计是网卡识别问题?
其其实挺建议在VPS启用net.ifnames=0
也就是重命名成ethx的..

可否设置带自定义安装源?

使用这个脚本安装在外国服务器/VPS速度是非常快的,
然而使用在 阿里云,腾讯云上时,有时候速度很慢,检查网络的时候。发现软件 下载速度为 10多KB/s ~

如果能有一条自定义安装源(参数)的话。也许是很不错的方案,
当然也希望 自定义几条 官方版本的 安装源~ 这样方便小白~

CentOS_7.X_NetInstall_AutoPartition 404

https://opendisk.cxthhhhh.com/OperatingSystem/CentOS/CentOS_7.X_NetInstall_Partition.sh
404 ~
Unable to partition automatically

Can you provide this file download?

为什么总有人想着靠捐赠来钱

同等的条件下。有人靠自己的双手光明赚钱,任劳任怨,有人却打起了水滴筹这些工具的主意,靠出卖亲人的惨状来赚钱,想着一夜来钱
不管实与不实,这对普通人来说,公平吗?


翻着支付宝几百几十点偷偷领取捐款的那点面目,不可憎吗?属实穷想钱疯
在后台提取10W几十W的嘴脸,想着来钱这么容易,一边暗喜一边嘲笑别人人傻钱多,不知道有多难看。

比如hostloc上那位

月薪4k求捐20W要钱又要脸又毒又菜hostloc某打包怪natee

https://hostloc.com/thread-850951-1-1.html
请欣赏natee爽文片断:

你们怎么也不敢相信,会喊爸爸妈妈爷爷奶奶的小宝贝,居然患病这么久,才两岁半,就要承受大手术!在身体上开如此多刀!看到他浑身插满管子虚弱地躺在ICU病房里,真希望自己能分担他的痛苦!我现在真是心如刀割!家人也每天以泪洗面!

以下是网友一些评论:


月薪4k求捐20W,技术菜,又要钱又要脸,作恶多端,他不倒霉谁倒霉,可怜他孩子帮他受 ----- 某网友

"天爷开眼呐。恶有恶报呗。哭捐作文写真惨专行恶毒陷害之事,恶毒还作恶,很难给这种人共情" ----- 某网友

他孩子有多可怜,他这个父亲面目就有多可憎 ----- 某网友

站在道义上讲我希望他儿子康复,站在他的父亲所作所为来讲,如果可以与他儿子换,我希望他父亲可以双倍承受 ----- 某网友

每天看一次,把孩子设想为他父亲,心情莫名畅快 ----- 某网友

一个男人最怕的不是装B,而是在比他技术还好的人面前装错了B,技不如人话术不如人,还找了个某版主当爹每次都能惯着他,哈哈 ----- 某网友


一个人应该靠自己的双手赚钱,而不是拿自己儿子赚钱,背后对一个人凶狠明面对一群人哭穷装狗,翻着支付宝几百几十点偷偷领取捐款的那点面目,不可憎吗?属实穷想钱疯 ----- 某网友

一个只会打包缝合win的人,爱以大佬自喜,却去带风陷害一个会写脚本的,人家明码标价光明赚钱,这个却只会点假技术,乞讨哭穷四处,拿儿子揽钱,状如行骗,高下立判。 ----- 某网友

natee敢不敢来qqvps.com来继续对线 ----- 某网友

dd 失败

dd centos 系统的时候出现 。服务商为virmach 原因是virmach迁移到 锐龙新平台手贱折腾了一下

1656040449781

dd debian 无问题。

谷歌云

谷歌云不能DD,不知道大佬那边能不能DD,我试了乌班图跟得班。

时区的问题

希望DD完之后,时区默认设置为Asia/Shanghai

用的Debian 11

无限循环,无法完成重装

已经试过阿里云ecs、轻量云,腾讯云cvm,Vultr和本地虚拟机,试用大佬的脚本重装系统,连续跑三天三夜还无法完成重装,一直在重复那几个弹窗和流程

Presente [invalid mirror] after executing [bash ~/Network-Reinstall-System-Modify.sh -CentOS_7]

You have chosen to install the latest CentOS_7

Check Dependence

[ok] iconv
[ok] wget
[ok] awk
[ok] grep
[ok] sed
[ok] cut
[ok] cat
[ok] cpio
[ok] gzip
[ok] find
[ok] dirname
[ok] basename
Error! Invaild mirror!
example: http://deb.debian.org/debian

Usage:
bash Core_Install.sh -d/--debian [dists-name]
-u/--ubuntu [dists-name]
-c/--centos [dists-verison]
-v/--ver [32/i386|64/amd64]
--ip-addr/--ip-gate/--ip-mask
-apt/-yum/--mirror
-dd/--image
-a/--auto
-m/--manual

Start Installation
Start Installation

/root/Network-Reinstall-System-Modify.sh: line 77: i: command not found

Start Installation
Start Installation

自定义远程端口

VPS,限制端口,没有22/3389
如果服务商还没有提供VNC就很麻烦
希望可以自定义远程端口

Ubuntu 20 dd成debian 10报错

# Install

Auto Mode insatll [Debian] [buster] [amd64]. 

[Debian] [buster] [amd64] Downloading...
Error, Not found interfaces config.
---------------------------------------------------------------------------------------------------------------------
 启动 安装 
 Start Installation 
---------------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------------------------------------------------------
 启动 安装 
 Start Installation 

root@ubuntu:~# 

网络配置在/etc/netplan/01-netcfg.yaml内

#This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      addresses: [ aaa.bbb.ccc.196/24 ]
      gateway4: aaa.bbb.ccc.254
      nameservers:
          addresses:
              - "1.1.1.1"

Not found `ip command`, It will use `route command`. Error! Not configure network. RUVDS 运行出错


# Install

Auto Mode insatll [Ubuntu] [focal] [amd64].

[Ubuntu] [focal] [amd64] Downloading...
Not found `ip command`, It will use `route command`.
Error! Not configure network.
---------------------------------------------------------------------------------------------------------------------
 启动 安装
 Start Installation
---------------------------------------------------------------------------------------------------------------------


root@ruvds-0rbry:/root #

net-tools 已经安装。

Core_Install.sh: line 656: /tmp/initrd.img.gz: No such file or directory

After run
bash ./Network-Reinstall-System-Modify.sh -Ubuntu_20.04

It shows:

# Install

Auto Mode install [Ubuntu] [focal] [amd64].

[Ubuntu] [focal] [amd64] Downloading...
Core_Install.sh: line 656: /tmp/initrd.img.gz: No such file or directory
.
./preseed.cfg
6 blocks
---------------------------------------------------------------------------------------------------------------------
 Start Installation
 Start Installation
---------------------------------------------------------------------------------------------------------------------


root@xxx:~/Network-Reinstall-System-Modify-Stable_Version-3.1.1# Connection to xxxx closed by remote host.
Connection to xxx closed.

and I can't connect to my server through vnc
image

Please to have a look.

【bug】alibabacloud ecs Infinite loop installation

When I executed your installation script, everything looked fine.

No errors were reported.

I executed the following script to install cents7:
Bash ~/Network-Reinstall-System-Modify.sh -CentOS_7

After the server restarts, it enters an infinite loop of install process.

It does not support Google Cloud VM

As title said, this script does not support google cloud. No matter what the initial system is, after use this script it will be loss connection to ssh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.