admin ·¢±íÓÚ 2017-3-17 15:31:03

VPS×°kali linux ÍøÂçÅäÖÃ

ÉèÖÃIPµØÖ·£º
# vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static #ÅäÖÃeth0ʹÓÃĬÈϵľ²Ì¬µØÖ·
address 192.168.168.194 #ÉèÖÃeth0µÄIPµØÖ·
netmask 255.255.255.0 #ÅäÖÃeth0µÄ×ÓÍøÑÚÂë
gateway 192.168.168.1 #ÅäÖõ±Ç°Ö÷»úµÄĬÈÏÍø¹Ø

ÉèÖÃDNS£º
# vi /etc/resolv.conf

domain
nameserver 192.168.168.1 #Ê×Ñ¡DNS
nameserver 114.114.114.114 #±¸ÓÃDNS

ÖØÆôÍøÂç·þÎñ£º
# /etc/init.d/networking restart


Ò³: [1]
²é¿´ÍêÕû°æ±¾: VPS×°kali linux ÍøÂçÅäÖÃ