提示
该脚本成功后,后台需要大概一刻钟安装系统,或可使用VNC观看。
【密码】cxthhhhh.com
警告:你需要购买Microsoft或其合作伙伴正版系统授权并激活系统使用,继续安装即代表您知悉并已经购买正版授权。
【用户】Admin
【密码】FateIP:22(Linux SSH)/IP:3389(Windows RDP)进行连接。RedHat/CentOS
yum install -y xz openssl gawk file wget
Debian/Ubuntu
apt-get install -y xz-utils openssl gawk file wget
下载自动安装脚本
wget https://cdn.fate.vip/InstallNET/AutomaticInstallation.sh && chmod +x AutomaticInstallation.sh && ./AutomaticInstallation.sh
下载手动安装脚本(通过root用户运行)【自定义】%URL%
wget https://cdn.fate.vip/InstallNET/ManualInstallation.sh && chmod a+x ManualInstallation.sh
bash ManualInstallation.sh -DD "%URL%"
大陆使用可能yum源报错
1、首先把fastestmirrors关了
#编辑
vi /etc/yum/pluginconf.d/fastestmirror.conf
#修改
enable=0
2、先把之前的repo挪到备份,然后下面两个二选一
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
3、替换为官方Vault源
wget -O /etc/yum.repos.d/CentOS-Base.repo https://static.lty.fun/%E5%85%B6%E4%BB%96%E8%B5%84%E6%BA%90/SourcesList/Centos-6-Vault-Official.repo
或者国内用户可以替换为阿里云Vault镜像
wget -O /etc/yum.repos.d/CentOS-Base.repo https://static.lty.fun/%E5%85%B6%E4%BB%96%E8%B5%84%E6%BA%90/SourcesList/Centos-6-Vault-Aliyun.repo
4、如果没有wget的话,请使用SFTP或者直接nano、vi编辑/etc/yum.repos.d/CentOS-Base.repo!里面的东西替换成这两个选一个,国内用第二个阿里,国外建议第一个官方。
5、推荐使用懒人专用一键修复
sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
yum clean all
yum makecache
配置YUM源出现Errno 14 Could not open/read repomd.xml 错误的解决办法
解决办法就是把本地源关闭:将/etc/yum.repos.d/CentOS-Media.repo里面的enabled=1改成enabled=0即可,因为yum寻包的顺序应该先是本地源,再寻网络源。
THE END