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
- 网速快 imidc→5 折优惠 $48 年 香港 VPS 台湾 VPS 香港VPS[主机]
- [黑五]DediPath→VPS 全场 5 折 Hybrid Serve全球[VPS测评]
- Laravel 报 SQLSTATE[42000] Syntax err全球[VPS测评]
- 极光 KVM→199.8 元 年 1GB 内存 30GB 空间 500G虚拟空间(主机)
- 黑色星期五 sharktech→10G 不限量国内直连服务器超低价全球[VPS测评]
- AlexHost→€11.8 年 1.5GB 内存 10GB SSD 空虚拟空间(主机)
- 优惠 SparkVPS→$69 年资源池 VPS 8 核 8G 120G全球[VPS测评]
- 新年促销 reprisehosting→超级便宜的美国西雅图独立服务器独立服务器[U]
- 阿里云 - 8 月 ECS 限量抢 2C8G5M 三年付 3000 元全球[VPS测评]
- GeorgeDatacenter→$7 月 32GB 内存 60GB S虚拟空间(主机)
- racknerd→母亲节 VPS 优惠活动 $20.88 年 KVM 1全球[VPS测评]
- ZJI 新春 55 折→香港大埔 2XE5-2630L 32GB 1TB香港VPS[主机]
- CN2 GIA ¥148 年 256M 内存 20G SSD 10Mbp全球[VPS测评]
- HostKvm→$6.65 月 2GB 内存 20GB SSD 空间 6虚拟空间(主机)
- TMThosting→西雅图 KVM 七五折起 月付 2.96 美元起 全球[VPS测评]
- 免费VPS是怎么从你身上捞钱的?全球[VPS测评]
- DUX和JustNews两款WordPress主题618促销,值得入手全球[VPS测评]
- 如何合理地设置WordPress文章延伸阅读或文章超链接全球[VPS测评]
- 搭建WordPress博客要如何选择域名全球[VPS测评]
- Spinservers圣何塞独立服务器促销,$119起/月,不限流量,可独立服务器[U]
- cFoxHost → 7.99$ 月 2C6G50G硬盘 美国 英国 法美国VPS[主机]
- GigsGigsCloud新加坡大陆优化VPS上架全球[VPS测评]
- 跨境电商平台首选香港服务器香港VPS[主机]
- 人们为啥不爱吃海底捞了?海底捞上半年亏损达2.97亿 网友神评扎心全球[VPS测评]
- 租用美国服务器有哪些安全方案美国VPS[主机]
- 磐逸云:深圳/大连/成都/香港机房vps,1核1G3M仅26元/月,65香港VPS[主机]
- GreenCloudVPS:6折优惠,日本、新加坡、香港等KVM VPS日本VPS[主机]
- 如何设置指定路径跳转指定域名?全球[VPS测评]
- anyhk:香港HGC/WTT/HKT线路、台湾HiNet线路NAT套餐香港VPS[主机]
- 阿里云香港服务器速度怎么样?阿里云香港vps稳定不稳定?香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-163939.html











