OVH服务器一键DD安装CentOS 6教程 附OVH一键DD安装debian专用链接
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

素闻各种DD一键包大名,不管什么配置/初始系统OVH服务器都能DD安装别的系统。平时见到的基本都是DD Windows,今天需要在OVH上装一台CentOS 6,官方镜像只有7,第一次实操DD。用的萌咖脚本,踩了几个(自己的)坑,分享给像本人一样的DD小白。
官方镜像选择CentOS7,使用邮件里的centos账户登录,然后:
sudo -isudo -isudo -i切换到root账户,但是这时好像运行脚本还会报错,如果报错的话执行:
su -su -su -安装必备包:
yum install -y xz openssl gawk file wgetyum install -y xz openssl gawk file wgetyum install -y xz openssl gawk file wget然后执行下述命令,注意修改root密码、系统类型和版本号、机器IP、网关。
bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -c 6.10 -v 64 -a -p “YOURPASSWORD” –ip-addr 8.8.x.x –ip-gate 8.8.x.x –ip-mask 255.255.0.0
这里注意,要装CentOS6不能直接写成 -c 6,否则报错:
[CentOS] [] [arm64] Downloading.../dev/fd/63: line 75: lowMem: command not foundDetect compressed type not support.[CentOS] [] [arm64] Downloading.../dev/fd/63: line 75: lowMem: command not foundDetect compressed type not support.[CentOS] [] [arm64] Downloading.../dev/fd/63: line 75: lowMem: command not foundDetect compressed type not support.需要把版本号写全。
上面的IP地址不用说了,网关使用route命令得不到实际网关要加一个-n参数:
route -nroute -nroute -n最后的子网掩码,route -n得到的是255.255.255.255,但是不能用这个,要改成255.255.0.0,否则会因为网络不通卡在下载image文件上。
OVH提供KVM功能,可以看到命令行阶段的安装过程,萌咖的一键包安装CentOS在后面即将开始图形界面安装时,默认会开VNC,可以用VNC Viewer查看进度。
附录:OVH DD debian专用链接:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 147.135.xxx.xxx --ip-gate 147.135.xxx.x --ip-mask 255.255.0.0bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 194.87.xxx.xxx(改成ifconfig获取到的) --ip-gate 194.87.xxx.xxx(改成route获取到的) --ip-mask 255.255.xxx.xxx(改成你获取到的)bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 147.135.xxx.xxx --ip-gate 147.135.xxx.x --ip-mask 255.255.0.0bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 194.87.xxx.xxx(改成ifconfig获取到的) --ip-gate 194.87.xxx.xxx(改成route获取到的) --ip-mask 255.255.xxx.xxx(改成你获取到的)bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 147.135.xxx.xxx --ip-gate 147.135.xxx.x --ip-mask 255.255.0.0bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a --ip-addr 194.87.xxx.xxx(改成ifconfig获取到的) --ip-gate 194.87.xxx.xxx(改成route获取到的) --ip-mask 255.255.xxx.xxx(改成你获取到的)[OVH]历史优惠活动内容
猜你可能想看的VPS
- 极安主机→CDN 有新加坡 韩国 香港 美国等节点 5Mbps 带宽 不韩国VPS[主机]
- form 表单外面元素提交表单的方法全球[VPS测评]
- DediPath→$175 月 E3-1270v2 16GB 内存 2T全球[VPS测评]
- 优惠 糖果主机→美国云服务器上线 年付 348 元起 另有中美极速专线套美国VPS[主机]
- CloudCone→$2.8 月 KVM-2GB 60GB 3TB 洛杉全球[VPS测评]
- Internet Brothers→$18 月 1G 内存 30GB S虚拟空间(主机)
- javascript 验证以指定字符或字符串开头的正则表达式全球[VPS测评]
- 做站推荐 349 元 年 1G 20G 硬盘 3Mbps@不限流量 XE香港VPS[主机]
- [黑五]GreenCloudVPS→$28.8 年 KVM-1GB 20日本VPS[主机]
- 帝国 CMS 启用 https 后登录后台空白的解决办法全球[VPS测评]
- DEDE 后台验证码不显示 DEDECMS 网站搬家后台验证码显示错误全球[VPS测评]
- PHP 判断是否为微信浏览器(微信客户端)的函数全球[VPS测评]
- AkkoCloud→120 元 月 1GB 内存 10GB SSD 空间虚拟空间(主机)
- 今日秒杀→2C4G3M 三年 688 元 2C4G5M 三年 998 元全球[VPS测评]
- LOCVPS 上架 KVM 七折 香港&德国(CN2)机房月付 49 元香港VPS[主机]
- layer.closeAll()无效的解决办法全球[VPS测评]
- WordPress网站PHP纯代码生成文章海报图片实现分享全球[VPS测评]
- LetBox → 2G 内存 20G Nvme 256G块储存 2T流量全球[VPS测评]
- 又一跨境电商产业园落户!中山石岐签约引进16个项目全球[VPS测评]
- tmhhost:8折优惠,美国cn2 gia高防vps,香港NTT vp美国VPS[主机]
- 2022年黄河流域跨境电商博览会将于8月26日至28日在青岛西海岸新区举全球[VPS测评]
- 创e云:香港CN2VPS优惠专区,4核/4G/20G/2Mbps不限流量香港VPS[主机]
- centos7如何查看firewall防火墙状态:开启/关闭/重启防火墙全球[VPS测评]
- 阿里行癫:如何理解当下的云计算全球[VPS测评]
- 茶猫云:香港云服务器,支持windows,2M带宽,34元/月WINDOWS
- UCloud海外云服务器促销:全场1折起,香港cn2vps最低年付150香港VPS[主机]
- 华纳云年终钜惠活动:云服务器半年低至280元,香港高防服务器999元香港VPS[主机]
- 又有美议员窜访台,中国驻美大使馆:“中方将对美国的挑衅采取果断的反制措施美国VPS[主机]
- 六一云:香港CN2/洛杉矶高防85折优惠,CDN半年优惠,充值返利送水杯香港VPS[主机]
- 腾讯云免备案海外服务器:高速网络免备案,助力企业出海!全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-164484.html











