阿里云上服务器eth0网卡关掉怎么打开
1、首先阿里云怎么开启服务器,使用服务形式来开关网卡。启动网卡命令为阿里云怎么开启服务器:service network start阿里云怎么开启服务器,关闭网卡命令为阿里云怎么开启服务器:service network stop。其次,还可以通过/etc/init.d/network脚本来启动或停止网络服务。启动网络服务命令为:/etc/init.d/network start,停止网络服务命令为:/etc/init.d/network stop。

2、url中的IP有问题,使用的是阿里云等云服务器,需要查一下,网卡eth0的地址是多少,将url中的IP修改为eth0的IP。查一下/etc/hosts里面配没配,eth0的IP,没有配置需要加上:IP+hostname,不知道hostname,可以用hostname命令查一下,没有就vim/etc/hosts,插入数据:IPhostname。








