当前位置:网站首页>Training IX basic configuration of network services
Training IX basic configuration of network services
2022-07-07 19:42:00 【Aimin20210819】
Practical training IX Basic configuration of network services
2017 year 4 month 16 Japan
Announced today
- Training objectives
Complete this training , Will be able to :
- Configure network card .
- To configure xinetd Superserver .
- Training preparation
Two computers , One of them is installed with RHEL6 System , The system comes out root Out of account , At least one ordinary account ; Another installation Windows2000/XP System , The two are connected through a hub . Two computers IP The address is the address of the same network segment .
- Estimated training time
90min
- Training content
【 Exercise one 】 To configure RHET6 Computer network interface
- use “ifconfig -a” Command to view the network interface of the host , And from the input information , Find the current network card IP Address 、MAC Address and interrupt number used by the network card .
- use “ifdown eth0” or “ifconfig eth0 down” Command disabled eth0 network card , And then use ifconfig Command to view the active web . Use
“ifconfig -a ” Command to view the status information of all network interfaces , Pay attention to see eth0 Status information output when the network card is disabled .
- use “ifup eth0 ” or “ifconfig eth0 up” Command restart eth0 network card , And then use ifconfig Command view .
- utilize vi Editor edit modify /etc/sysconfig/network-scripts/ifcfg-eth0 The configuration file , Of network card IP Address change ( Do not change the network segment ), And then save the configuration . utilize
“service network restart” Command restart Linux The service function of the system , Make the change effective .
- use ifconfig eth0 Command to view the current network card IP Whether the address is changed IP Address , And use ping command png another Windows2000/XP Computer , The observation shows that .
- function netconfig command , Set or modify the network card IP Address 、 Subnet mask 、 Gateway and domain name server address , Check the network card configuration file and after the change /etc/resolv.conf Profile contents . Last use service network restart Command to restart the network service function , Make configuration effective .
- Get into XWindows System , function system-config-network command , Set or modify the network card IP Address 、 Subnet mask 、 Gateway and domain name resolution server address , Check the network card configuration file and after the change /etc/resolv.conf The configuration file . Finally, reactivate the network card , Make configuration effective .
- Use them separately ifconfig Command and system-config-network command , Set up the virtual network card eth0:1 Of IP Address 、 Subnet mask 、 gateway . Check the configuration file content of the network card after setting .
【 Exercise 2 】 To configure xinetd Superserver
- stay RHET6 On computer , use chkconfig Commands and direct editing xinetd Super server configuration file /etc/xinetd.conf And /etc/xinetd.d/telnet There are two ways to start telnet service . And then restart xinetd The server .
- stay Windows2000/XP Login test with ordinary user account on the computer telnet Remote services .
边栏推荐
- R language ggplot2 visualization: use the ggdensity function of ggpubr package to visualize the packet density graph, and use stat_ overlay_ normal_ The density function superimposes the positive dist
- PMP對工作有益嗎?怎麼選擇靠譜平臺讓備考更省心省力!!!
- 项目经理『面试八问』,看了等于会了
- 2022.07.02
- PMP practice once a day | don't get lost in the exam -7.7
- AI writes a poem
- 让这个 CRMEB 单商户微信商城系统火起来,太好用了!
- R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
- R language dplyr package select function, group_ The by function, filter function and do function obtain the third largest value of a specific numerical data column in a specified level in a specified
- how to prove compiler‘s correctness
猜你喜欢
随机推荐
Key points of anti reptile: identifying reptiles
R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
吞吐量Throughout
UCloud是基础云计算服务提供商
ASP.NET幼儿园连锁管理系统源码
# 欢迎使用Markdown编辑器
LeetCode 648(C#)
注解。。。
Redis master-slave and sentinel master-slave switchover are built step by step
Jürgen Schmidhuber回顾LSTM论文等发表25周年:Long Short-Term Memory. All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversarial RL. Soccer learn
How to estimate the value of "not selling pens" Chenguang?
Introduction to bit operation
解决rosdep的报错问题
一锅乱炖,npm、yarn cnpm常用命令合集
Numpy——axis
LeetCode 515(C#)
R语言ggplot2可视化:使用ggpubr包的ggviolin函数可视化小提琴图、设置palette参数自定义不同水平小提琴图的填充色、add参数在小提琴图添加箱图
PMP每日一练 | 考试不迷路-7.7
Former richest man, addicted to farming
杰理之快速配对,不支持取消配对【篇】









