当前位置:网站首页>Rhcsa12
Rhcsa12
2022-07-04 10:18:00 【Attiude】
Homework today :
20211124
1. Inquire about ip In several ways : ip, ifconfig, nmcli,nmtui
2.nmcli Command to use :
a. stay ens160 New connection on network card static_con, And configure static ip
b. stay ens160 New connection on network card auto_con, Configuration dynamics ip
[[email protected] ~]# nmcli c add type ethernet con-name auto_con ifname ens160 ipv4.dns 8.8.8.8 ipv4.method auto
[[email protected] ~]# nmcli c add type ethernet con-name static_con ifname ens160 ipv4.addresses 192.168.116.100/24 ipv4.gateway 192.168.116.2 ipv4.dns 8.8.8.8 ipv4.method manual
c. modify static_con Of ip The way : nmtui,nmcli c modify, nmcli c edit, Modify the configuration file
nmcli c modify
[[email protected] ~]# nmcli c modify static_con ipv4.addresses '192.168.116.101/24'
nmcli c edit( Interactive mode )
[[email protected] ~]# nmcli c edit
Enter connection type : ethernet
nmcli> goto ipv4.addresses
nmcli ipv4.addresses> change
edit "addresses" value : 192.168.116.200/24
back
nmcli ipv4> save
quit
[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-static_con
d. Activate static_con The way : up, reapply, reload, load
[[email protected] ~]# nmcli c reload
[[email protected] ~]# nmcli d reapply ens160
[[email protected] ~]# nmcli c load static_con
[[email protected] ~]# nmcli c up static_con
e. Delete auto_con
f. Add a network card , And check the device status , h: If it is connected, disconnect
h: If it is connected, disconnect
i: Set the disconnected network card status to connected
边栏推荐
- [200 opencv routines] 218 Multi line italic text watermark
- 查看CSDN个人资源下载明细
- system design
- Three schemes of ZK double machine room
- The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
- Architecture introduction
- Hands on deep learning (32) -- fully connected convolutional neural network FCN
- Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
- Today's sleep quality record 78 points
- MySQL develops small mall management system
猜你喜欢
Architecture introduction
Reprint: summation formula of proportional series and its derivation process
【Day1】 deep-learning-basics
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
Latex learning insertion number - list of filled dots, bars, numbers
Doris / Clickhouse / Hudi, a phased summary in June
Write a mobile date selector component by yourself
Hands on deep learning (40) -- short and long term memory network (LSTM)
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
Summary of reasons for web side automation test failure
随机推荐
Hands on deep learning (32) -- fully connected convolutional neural network FCN
Velodyne configuration command
Qtreeview+ custom model implementation example
libmysqlclient.so.20: cannot open shared object file: No such file or directory
查看CSDN个人资源下载明细
Hands on deep learning (44) -- seq2seq principle and Implementation
Exercise 7-2 finding the maximum value and its subscript (20 points)
system design
Ruby时间格式转换strftime毫秒匹配格式
Differences among opencv versions
Talk about scalability
Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
Golang type comparison
Development guidance document of CMDB
2. Data type
Hands on deep learning (42) -- bi-directional recurrent neural network (BI RNN)
Number of relationship models
Does any teacher know how to inherit richsourcefunction custom reading Mysql to do increment?