Home > Operation and Maintenance > Windows Operation and Maintenance > How to configure network after installing debian-7.11.0-amd64

How to configure network after installing debian-7.11.0-amd64

坏嘻嘻
Release: 2018-09-15 17:32:03
Original
2392 people have browsed it

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
Copy after login

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;
Copy after login

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
Copy after login

Restart NetworkManager

#service network-manager restart
Copy after login

nano /etc/resolv.conf

#/etc/resolv.conf
nameserver 114.114.114.114
Copy after login

nano /etc/hostname

#/etc/hostname
mydebian205
Copy after login

nano /etc/hosts

#/etc/hosts
127.0.0.1    localhost
10.16.97.205 mydebian205.mydomain.net mydebian205
Copy after login

3. Check the version

cat /etc/issue

Debian GNU/Linux 7 \n \l
Copy after login

cat /etc/debian_version

7.11
Copy after login

uname -a

Linux mydebian205 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux
Copy after login

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
Copy after login

Update with new sources.list

apt-get update
Copy after login

Installation Log out of the Remote Desktop Service and the customary text editor joe

apt-get install xrdp joe
Copy after login

. 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template