欢迎来到 岁月小筑

Reinstall the system to Centos automatically by Onekey Shell

Introduction

Chinese Version:[ Linux VPS ] CentOS 网络安装/重装系统一键脚本 纯净安装

  • Suitable for use by GRUB boot CentOS, Ubuntu, Debian system.
  • Use the official distribution to remove the template preinstalled software.
  • At the same time, it can also solve the problem of kernel version and software incompatibility.
  • As long as you have root privileges, you also have a pure system.

Installation

Notice

  • Fully install the default root password: Vicer, change the password immediately after installation.
  • The VNC function is provided by default during fully automatic installation. You can use the VNC Viewer to check the progress.
  • The VNC port is 1 or 5901 and can be connected by itself. (The VNC function will disappear after successful.)
  • Currently only supports CentOS 6.9 and below (5.x, 6.x).
  • Importance: The OpenVZ framework does not apply.

Update

  • [2018.03.30]
  • Optimize GRUB detection logic.
  • Add component dependency detection.
  • Fix the problem of multiple network cards.
  • Fix some known bugs.

Requirement

  1. Debian/Ubuntu/CentOS system (Guided by GRUB);
  2. Wget is used to download files and obtain public IP addresses.
  3. Ip get gateway, mask, etc.
  4. Sed awk grep handles text streams;
  5. Openssl creates the root user password;
  6. Xz-utils repackages the image.

Make sure the required software is installed:

If something goes wrong, run:

One-click download and use:

Tips:

  • If you see “Starting graphical installation” or a similar expression, you are installing.
  • Under normal circumstances only need to wait patiently to complete the installation.
  • If you need to check the progress, use VNC Viewer (or other VNC connection tool)
  • The IP address in the connection prompt: The port is connected. (The port is usually 1 or 5901)

Code review:

 

点赞

Leave a Reply

Your email address will not be published.