3.安装debian10系统
取下制作好的u盘,插到要安装系统的设备上(先要bios设置u盘启动),开机。
按流畅下一步,就行。注意下语言选择英文(开始选的中文,命令行会乱码,又改成英文了)。
具体安装如果不明白的参考,参考文档中有详细说明。我复制过来了,和实际顺序有点小区别,影响不大。 1.5) The first screen you should be able to select from is Main Menu, on this screen, select Graphical Debian Installer 1.6) Next will be Language. Choose your language and click continue. 1.7) Next will be Select your location. Choose your country and click continue. 1.8) Next will be Configure the keyboard. Select your keyboard type and click continue. The installer will now perform some automated tasks which will take 1-2 minutes. 1.9) Next will be Configure the network. Here you can name your machine, the default name will be debian. Choose a name and click continue. You can skip the next page by clicking continue as you do not need to set a domain name. 1.10) Next will be Set up users and passwords. You will be asked to create a password for the root user. Make a note of the password you choose here, and click continue. 1.11) Next will be Set up users and passwords again. Enter a username, click continue and on the next screen, enter a password for this user account. Make note of both of these, you will need them later. 1.12) Next will be Configure the clock. Select the correct time zone and click continue. 1.13) Next will be Partition Disks. Select Guided - use entire disk and then click continue. On the next screen make sure the correct disk is selected and click continue. On the next screen select All files in one partition and click continue. On the next screen, make sure Finish partitioning and write changes to disk is selected, and click continue. On the next screen, select Yes and then click continue. The installer will now perform some automated tasks. This will take 1-2 mins. 1.14) Next will be Configure the package manager. Select Yes and click continue. Select your Country and click continue. You can leave the default selection deb.debian.org 25 selected, or select another mirror of your choosing, and click continue. Leave the next page blank and click continue. The installer will now perform some automated tasks. This will take a few minutes. 1.15) Next will be Install the GRUB bootloader. Select Yes and click continue. Now select the drive you are installing Debian on, and click continue. The installer will now perform some automated tasks. This will take 1-2 mins and then installation will be complete.
内容修改如下(或者直接覆盖原来文档内容):
# 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
# The primary network interface
allow-hotplug enp3s0
# iface enp3s0inet dhcp
auto enp3s0
iface enp3s0inet static
address 192.168.2.171
netmask 255.255.255.0
gateway 192.168.2.1