说明:本脚本是Vicer大佬将其Debian、Ubuntu、CentOS、DD Windows一键安装脚本合体了,使用更加方便了。
背景
适用于由GRUB引导的CentOS,Ubuntu,Debian系统. 使用官方发行版去掉模板预装的软件. 同时也可以解决内核版本与软件不兼容的问题。 只要有root权限,还您一个纯净的系统。
注意
- 全自动安装默认root密码:MoeClub.org,安装完成后请立即更改密码。
- 能够全自动重装Debian/Ubuntu/CentOS等系统。
- 同时提供dd镜像功能,例如:全自动无救援dd安装windows系统。
- 全自动安装CentOS时默认提供VNC功能,可使用VNC Viewer查看进度。
- VNC端口为1或者5901,可自行尝试连接。(成功后VNC功能会消失)。
- 目前只支持CentOS 6.9及以下版本(5.x、6.x)。
- 特别注意:OpenVZ构架不适用。
使用
安装依赖
#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
下载脚本及使用
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh
#快速使用
bash
使用方法:
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 为提示.
使用示例
#使用默认镜像全自动安装
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/onedrive/IMAGE/Windows/win7emb_x86.tar.gz'
#使用自定义网络参数全自动dd方式安装存储在谷歌网盘中的镜像(调用文件ID的方式)
#bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd "https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J"
#使用自定义网络参数全自动dd方式安装存储在谷歌网盘中的镜像
#bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd "https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J"
#国内推荐使用USTC源
#--mirror 'http://mirrors.ustc.edu.cn/debian/'
一些可用镜像地址
# 推荐使用带有 /GoogleDrive/ 链接, 速度更快.
# 当然也可以使用自己GoogleDrive中储存的镜像,使用方式:
https://image.moeclub.org/GoogleDrive/
# win7emb_x86.tar.gz:
https://image.moeclub.org/GoogleDrive/1srhylymTjYS-Ky8uLw4R6LCWfAo1F3s7
https://moeclub.org/onedrive/IMAGE/Windows/win7emb_x86.tar.gz
# win8.1emb_x64.tar.gz:
https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J
https://moeclub.org/onedrive/IMAGE/Windows/win8.1emb_x64.tar.gz
# win10ltsc_x64.tar.gz:
https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh
https://moeclub.org/onedrive/IMAGE/Windows/win10ltsc_x64.tar.gz
一些提示
- 特别注意:
萌咖提供的dd安装镜像 远程登陆账号为: Administrator 远程登陆密码为: Vicer 仅修改了主机名,可放心使用.(建议自己制作.) - 在dd安装系统镜像时:
在你的机器上全新安装,如果你有VNC,可以看到全部过程. 在dd安装镜像的过程中,不会走进度条(进度条一直显示为0%).完成后将会自动重启. 分区界面标题一般显示为: “Starting up the partitioner” 使用谷歌网盘中储存的镜像: [无限制大小] 获取谷歌网盘文件临时直接下载链接 - 在全自动安装CentOS时:
如果看到 “Starting graphical installation” 或者类似表达,则表示正在安装. 正常情况下只需要耐心等待安装完成即可. 如果需要查看进度,使用VNC Viewer(或者其他VNC连接工具) 连接提示中的IP地址:端口进行连接.(端口一般为1或者5901)
本站采用「署名 4.0 国际(CC BY 4.0)」创作共享协议,转载请注明本文出处及链接。
After addition, the reaction mixture was stirred at 78 C buy zithromax without prescription overnight
However, pyruvate m 3 and citrate m 6 were observed only in cells cultured in glucose free media, suggesting that ME1 activity could be induced in cancer cells under glucose depleted condition clomid for men side effects
India Business Council buy cialis on line I underwent breast reconstruction nearly two years ago now using the fat from my tummy
buy cialis online overnight shipping This phase I study of ridaforolimus combined with paclitaxel and carboplatin demonstrated tolerability at the defined maximal tolerated dose using doses of the 3 agents considered active in patients with solid tumor cancers
Xenograft studies online pharmacy india tamoxifen 20 mg 7 ng ml in EM EM