1. modify network settings. open/etc/network/interfaces and add the following # Theloopbacknetworkinterface (configure the loopback interface) # Auto-boot lo interface autolo # configure the lo interface as the loopback interface ifaceloinetloopback # Theprimary...
1. modify network settings
Open/etc/network/interfaces and add the following
#
# The loopback network interface (configure The loopback interface)
# Automatically activate lo at startup
Auto lo
# Configure the lo interface as a loopback interface
Iface lo inet loopback
#
# The primary network interface (configure The primary network interface)
# Enable the eth0 interface automatically upon startup
Auto eth0
# Configure the eth0 interface to automatically obtain DHCP
Iface eth0 inet dhcp
# Configure the eth0 interface to set static IP addresses
Iface eth0 inet static
Address 10.16.3.99
Netmask 255.255.255.0
Network 10.16.3.0
Broadcast 10.16.3.255
Gateway 10.16.3.1
DNS configuration
Edit/etc/resolv. conf, configure DNS, and add the following information:
Nameserver 219.146.0.130
Restart network configuration
/Etc/init. d/networking restart
Note that if it is a virtual machine, the bridge must be connected to the bridge.
2. putty cannot connect to debian
Most of them are because sshserver has no installation problems.
Run the command dpkg-l | grep openssh-server first.
Check if sshserver is installed.
If there is any result, it is best to start it with/etc/init. d/ssh
If no installation is available, run apt-cache search ssh.
A series of SSH-related lists will be returned. I chose to install:
Apt-get install openssh-server ssh
You can use these two services.
3. modify language settings
Dpkg-reconfigure locales
4. # reboot # Restart
# Shutdown-h now # shutdown
5. ps-ef | grep keyword
Kill-9 process ID
Author: wuhaowei12345