当前位置:网站首页>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 .
边栏推荐
- 2022如何评估与选择低代码开发平台?
- 爬虫实战(七):爬王者英雄图片
- 注解。。。
- A pot of stew, a collection of common commands of NPM and yarn cnpm
- Longest common prefix (leetcode question 14)
- 8 CAS
- 5billion, another master fund was born in Fujian
- Kirin Xin'an joins Ningxia commercial cipher Association
- 从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
- ant desgin 多选
猜你喜欢
关于ssh登录时卡顿30s左右的问题调试处理
爬虫实战(七):爬王者英雄图片
Redis——基本使用(key、String、List、Set 、Zset 、Hash、Geo、Bitmap、Hyperloglog、事务 )
Kunpeng developer summit 2022 | Kirin Xin'an and Kunpeng jointly build a new ecosystem of computing industry
干货分享|DevExpress v22.1原版帮助文档下载集合
How to estimate the value of "not selling pens" Chenguang?
杰理之手动配对方式【篇】
【牛客网刷题系列 之 Verilog进阶挑战】~ 多bit MUX同步器
Introduction to bit operation
杰理之关于 TWS 配对方式配置【篇】
随机推荐
Ucloud is a basic cloud computing service provider
Pasqal首席技术官:模拟量子计算率先为工业带来量子优势
解决远程rviz报错问题
实训九 网络服务的基本配置
指定opencv非标准安装的版本
Longest common prefix (leetcode question 14)
R语言ggplot2可视化:使用ggpubr包的ggdensity函数可视化分组密度图、使用stat_overlay_normal_density函数为每个分组的密度图叠加正太分布曲线
2022年投资哪个理财产品收益高?
Browse the purpose of point setting
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
L1-028 judging prime number (Lua)
How to share the same storage among multiple kubernetes clusters
R语言ggplot2可视化:使用ggpubr包的ggstripchart函数可视化分组点状条带图(dot strip plot)、设置position参数配置不同分组数据点的分离程度
杰理之测试盒配置声道【篇】
位运算介绍
IP 工具类
R language ggplot2 visualization: use the ggecdf function of ggpubr package to visualize the grouping experience cumulative density distribution function curve, and the linetype parameter to specify t
L1-023 output gplt (Lua)
解决rosdep的报错问题
Key points of anti reptile: identifying reptiles