U Teach-CentOS 7-rootecentos7teache--xshell 5 文件()编端()查霜工具①远项卡B)配口0 H)色sh/root ②211.6935.21322 11 F·國·Q母··8·A·“∷自白田,·②,降要加酒,左的 first in the databases 2网络配 Example: Centos网络配置 #passwd files sss shadow les sss es sss es sss #hosts: db files nisplus nis dns hosts Example #services: nisplus [NOTFOUND=return] files #protocols nl sp lus [NOTFOUND=return] files ni splus [NOTFOUND=return] files #netmasks isplus [NOTFOUND=return] files bootparams: nisplus [NOTFOUND=return] files files netmasks protocols: files services fiT es sss netgroup us sss automount: files nisplus sss aliases [root@centos7teach -] cat /etc/hosts 河南中医药大学/阮晓龙/mn2 0×4040381会活量
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.网络配置 11 2.1 CentOS网络配置
12 2网络配置 2.1 Centos网络配置 Centos上还可通过命令行的方式进行网络配置,需注意的是这里的配置是暂时的,重启 系统后配置失效。 修改|P地址使用cong命令,其命令如下所示。 ifconfig ens16010.10.3.174 netmask2552552550 修改网关使用 route命令,其命金如下所示。 route add default gw 10.10.3 1 dev ens 160 修改主机名,使用 hostname命令,其命令如下所示。 # hostname主机名 河南中医药大学/阮晓龙/13938213680/http://linux.xg.hactcm.edu.cn/http:/www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.网络配置 12 2.1 CentOS网络配置
3 CentOS网络配置 使用 ifconfig临时配置网络 使用ⅵ修改网络配置文件 通过GU工具配置网络
13 CentOS网络配置 使用ifconfig临时配置网络 使用vi修改网络配置文件 通过GUI工具配置网络
2网络配置 2.1 Ubuntu server网络配置 Ubuntu server服务器的主要的网络配置文件 表33 Ubuntu server主要网络配置文件 配看文件名称 /etc/network/interfaces P地址配置、子网掩码等配罟文件 /etc/hosts 设置主机和P绑定信息 DNS配置文件 /etc/hostname 全局主机名配置文件 河南中医药大学/阮晓龙/13938213680/http://linux.xg.hactcm.edu.cn/http:/www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.网络配置 Ubuntu Server服务器的主要的网络配置文件 14 2.1 Ubuntu Server网络配置
J 211.69.35.214-Ubuntu Server17, 10.1- Shell 5(Free for Home/School) 文件()编端()查霜工具①远项卡B)配口(W稀H)ssh/ administrator”@21169.35.21422 15 ·國·Q母··8·A·曹“∷自白田·■·② P些加酒苗会话,质击左的 35.214-Ubuntu Set. Shell 5(Bui ld 1339) 2网络配 Copyright (c) 2002-2017 Netsarang Computer, Inc. All rights reserved ype help to learn how to use Shell pror u Serverl网络配置 To escape to local shell, press 'ctrl+Alt+ we come to ubuntu 17. 10(GNU/Linux 4.13. 0-21-generic. x86-64) ubuntu. com/advantage w Meltdown, Spectre and Ubuntu: what are the attack vectors d everything else you need to kno packages can administrat red Matu]exe: 1z104-3 Cat retd. k/intert t /etc/networ iguration file for ifup(8), ifdown(8) Generated by debian-installe e inscribes erver1710: -s cat /etc/netp lan/01-netctg. yaml 静态|P地址配置方式的变化 仅树文本发送到航选项卡 河南中医药大学/阮晓龙/) a ssH2 linu r 9Bx50 1 45,35 285 CAP NUM
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.网络配置 15 2.1 Ubuntu Server网络配置