|
|
OVH VPS IP(Kloxo no_ip_address解决方法)
OVH VPS默认情况下是通过DHCP自动获取IP的,所以在安装Kloxo完成设置Kloxo的时候会出现no_ip_address的提示,这个时候就需要手动设置上IP,这样才能添加域名。 如果你设置Kloxo的时候出现no_ip_address的提示你可以按照下面步骤修改: 使用编辑器编辑(如果不会用编辑器,可以使用winscp):/etc/sysconfig/network-scripts/ifcfg-eth0 # Configuration for eth0 DEVICE=eth0 BOOTPROTO=none # This line ensures that the interface will be brought up during boot. ONBOOT=yes # eth0 - This is the main IP address. # The address, netmask and gateway are all necessary. IPADDR=12.34.56.78 #你的IP地址 NETMASK=255.255.255.0 #子网掩码 GATEWAY=12.34.56.1 #网关 一般这样设置好,再执行命令:service network restart 重启网络就好了,如果还是不通,重启试一下。 添加第2个IP,可以创建 /etc/sysconfig/network-scripts/ifcfg-eth0:0 # Configuration for eth0:0 DEVICE=eth0:0 BOOTPROTO=none # This line ensures that the interface will be brought up during boot. ONBOOT=yes # eth0:0 IPADDR=34.56.78.90 NETMASK=255.255.255.0 GATEWAY=12.34.56.1 添加第3个IP,创建 /etc/sysconfig/network-scripts/ifcfg-eth0:1 按上面的内容添加到这个文件中,以此类推。 https://www.vpser.net/manage/linode-vps-add-ip.html |
|
104休閒信箱 2.3.0 © 104mm.com 2001 - 2021. | 您尚未登錄 |