当前位置:网站首页>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 .
边栏推荐
猜你喜欢
位运算介绍
Le PGR est - il utile au travail? Comment choisir une plate - forme fiable pour économiser le cœur et la main - d'œuvre lors de la préparation de l'examen!!!
2022.07.04
Redis master-slave and sentinel master-slave switchover are built step by step
杰理之相同声道的耳机不允许配对【篇】
Jerry's headphones with the same channel are not allowed to pair [article]
Business experience in virtual digital human
CMD command enters MySQL times service name or command error (fool teaching)
Make insurance more "safe"! Kirin Xin'an one cloud multi-core cloud desktop won the bid of China Life Insurance, helping the innovation and development of financial and insurance information technolog
Tips and tricks of image segmentation summarized from 39 Kabul competitions
随机推荐
What does "true" mean
A pot of stew, a collection of common commands of NPM and yarn cnpm
IP tools
吞吐量Throughout
网信办公布《数据出境安全评估办法》,9 月 1 日起施行
How to buy bank financial products? Do you need a bank card?
杰理之相同声道的耳机不允许配对【篇】
what‘s the meaning of inference
爬虫实战(七):爬王者英雄图片
J ü rgen schmidhub reviews the 25th anniversary of LSTM papers: long short term memory All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversar
Tips and tricks of image segmentation summarized from 39 Kabul competitions
R语言ggplot2可视化:使用ggpubr包的ggstripchart函数可视化分组点状条带图(dot strip plot)、设置position参数配置不同分组数据点的分离程度
Solve the error reporting problem of rosdep
9 atomic operation class 18 Rohan enhancement
R语言使用ggplot2函数可视化需要构建泊松回归模型的计数目标变量的直方图分布并分析构建泊松回归模型的可行性
一锅乱炖,npm、yarn cnpm常用命令合集
8 CAS
R语言fpc包的dbscan函数对数据进行密度聚类分析、查看所有样本的聚类标签、table函数计算聚类簇标签与实际标签构成的二维列联表
5billion, another master fund was born in Fujian
杰理之关于 TWS 声道配置【篇】