Coder Social home page Coder Social logo

debian-reinstall's Introduction

Debian-ReInstall

NETINSTALL:
It can reinstall Debian(Ubuntu) from CentOS/Ubuntu/Debian

Link to: Debian(Ubuntu)网络安装/重装一键脚本



Description

Apply to CentOS, Ubuntu, Debian that is booted by the GRUB.
As long as you have root permissions, you also have a pure system.
Not suitable for OPENVZ.

Default root password is 'Vicer'
Please change it as soon as possible.



Usage

bash DebianNET.sh       -d/--debian/--ubuntu [Dist Version Name]
                        -v/--ver [32/i386|64/amd64]
                        --mirror '[Mirror Server]'
                        -a/-m
-----------------------------------------    
| Dists   |  Version    |  Version Name |  
-----------------------------------------    
| Debian  |   7         | wheezy        |   
|         |   8         | jessie        |
|         |   9         | stretch       | 
-----------------------------------------    
| Ubuntu  |   12.04     | precise       |
|         |   14.04     | trusty        |
|         |   15.10     | wily          |
|         |   16.04     | xenial        | 
|         |   16.10     | yakkety       | 
|         |   17.04     | zesty         |
-----------------------------------------      


Example

First

wget --no-check-certificate -qO DebianNET.sh 'https://moeclub.org/attachment/LinuxShell/DebianNET.sh' && chmod -x DebianNET.sh

Then

bash DebianNET.sh -d trusty -v i386 -a
bash DebianNET.sh -d stretch -v amd64 -a --mirror 'http://mirrors.ustc.edu.cn/debian/'

debian-reinstall's People

Contributors

0ovicero0 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

Watchers

 avatar  avatar  avatar  avatar

debian-reinstall's Issues

RFCHOST 获取IP网关异常

RFCHOST家的IP地址配置方式非常奇葩,掩码采用32位,实际上应该是ARP代理了,arp -n是可以看到真实网关的mac,如果用系统默认的网关会无法使用。
系统给的配置是:172.96.xx.xx/32 GW:142.147.96.x 这个明显是有问题的
通过arp -n 可以看到除了网关的mac外,还有一个172.96.x.x同C段的地址,把这个地址配置为网关地址,掩码24位后就可以使用脚本安装了。

添加 Ubuntu 17.10 Artful

如题:

[ "$vDEBtmp" == 'artful' ] && linuxdists='ubuntu' && vDEB='artful';

或考可考虑分开 --ubuntu/--debian,这样以后只要 mirror 里有更新就可无改动支持新版本。

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.