Home >Operation and Maintenance >Windows Operation and Maintenance >How to configure network after installing debian-7.11.0-amd64
The content of this article is about how to configure the network after installing debian-7.11.0-amd64. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
1. Install a new wheezy. Note that if the network is configured through DHCP, it needs to be rolled back and set manually. Of course, the server IP must be fixed. When selecting functional components, you must at least select "Desktop Environment" and "Development Environment" (use tasksel to add components after installation, but I haven't studied how to start gnome when installing it at this time. I installed the desktop version every time, and just used The character interface to manage the file system is too boring and unbearable, and collective.documentviewer requires LibreOffice when previewing doc, docx, and pdf). Restart after the installation is complete
2. Network parameter configuration
nano /etc/network/interfaces (e1000 network card in ESXi or Legacy Network Adapter in Hyper-V)
#/etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.16.97.205 netmask 255.255.255.0 network 10.16.97.0 broadcast 10.16.97.255 gateway 10.16.97.254
cat /etc/NetworkManager/system-connections/Wired\ connection\ 1 (dynamic network card in Hyper-V)
[802-3-ethernet] duplex=full [connection] id=Wired connection 1 uuid=5370c0e8-8c4b-4c45-8ed9-d39e0ed25a5a type=802-3-ethernet timestamp=1532837205 [ipv6] method=auto ip6-privacy=2 [ipv4] method=manual dns=202.103.44.150; addresses1=10.16.97.205;24;10.16.97.254;
View Hyper-V dynamic network card "Wired connection 1", "802-3-ethernet" Two commands for the relationship between , eth0 and UUID
nmcli con nmcli dev
Restart NetworkManager
#service network-manager restart
nano /etc/resolv.conf
#/etc/resolv.conf nameserver 114.114.114.114
nano /etc/hostname
#/etc/hostname mydebian205
nano /etc/hosts
#/etc/hosts 127.0.0.1 localhost 10.16.97.205 mydebian205.mydomain.net mydebian205
3. Check the version
cat /etc/issue
Debian GNU/Linux 7 \n \l
cat /etc/debian_version
7.11
uname -a
Linux mydebian205 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux
4. Configure APT
nano /etc/apt/sources.list
#/etc/apt/sources.list deb http://mirrors.163.com/debian/ wheezy main non-free contrib deb http://mirrors.163.com/debian/ wheezy-updates main non-free contrib deb http://mirrors.163.com/debian/ wheezy-backports main non-free contrib deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib deb-src http://mirrors.163.com/debian/ wheezy-updates main non-free contrib deb-src http://mirrors.163.com/debian/ wheezy-backports main non-free contrib deb http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
Update with new sources.list
apt-get update
Installation Log out of the Remote Desktop Service and the customary text editor joe
apt-get install xrdp joe
. The general configuration is completed and can be controlled remotely.
The above is the detailed content of How to configure network after installing debian-7.11.0-amd64. For more information, please follow other related articles on the PHP Chinese website!