当前位置:网站首页>Rhcsa Road
Rhcsa Road
2022-07-06 20:17:00 【Omniscient magical conch】
The first day
Install the virtual machine and RHEL The requirements of :
1. Do not install security software
2. Make sure window 64 position Not educational
file system ( A method and data structure for organizing files on disk ) ntfs ---- The maximum number of single files supported is 4TB fat32 ---- The largest single file supported is 4G
3. Enable virtual machine prompt VT-X Did not open ( The physical machine does not have virtualization enabled )
Environment deployment system installation :
Virtual platform (vmware-workstation)+ Create a virtual machine +RHEL-server-8.5-x86_64.iso( Image file )
( Network mode selection - Host only nat* The bridge ; Disk type ide sata scsi nvme*)
Log in to the main user name and password to verify
linux System administrator Default root user ----- The later Login Host logs in through the administrator
Ordinary users redhat
Log in as Administrator —— After creating an account , On the login screen , Click on the not listed ?, User name is root, The password was created before .
Be careful : Judge whether the command is successful , The first method returns to the next command prompt without any prompt The second type has corresponding command result prompt
Pay attention to the meaning of version number ——
1.0~2.6 Previous version :A.B.C
RHEL8.2
A-- Major version number with significant changes ;
B-- Minor version number with some major modifications
C-- It refers to the amendment number with minor revision ,C Development version for odd numbers , Even numbers are stable
1. Look at the host ip Address
command —— ifconfig perhaps ip a
#ip a ==ip addr
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:c3:cf:a9 brd ff:ff:ff:ff:ff:ff
inet 192.168.220.162/24 brd 192.168.220.255 scope global dynamic ens160
valid_lft 1710sec preferred_lft 1710secnotes : use xshell Connect Linux—— stay xshell Internal input ssh+ host ip, for example ssh 192.168.10. 129, You can connect it ip The address is 192.168.10.129 The host
2. terminal ( Standard input and output devices keyboard, mouse, display )
command —— tty View the device file of the current terminal
Virtual terminal :ctrl+alt+F3 ~ F6 ctrl +alt+F2 /dev/tty3 /dev/tty4
Analog terminal : Graphical simulation of the terminal window
Remote terminal : Pseudo terminal Terminal window based on remote connection through remote software /dev/pts/0 /dev/pts/1 ...
Physical terminals
3. The command prompt of the terminal
[[email protected] ~]#
user name @ Host name current path ~ The tag is when the user's home directory /root # Tag manager
notes : Catalog ----window Folder
[[email protected] ~]$ pwd (print workdoing directory Print current directory path )
/home/redhat
redhat ~ The mark is /home/redhat $ Mark ordinary users
4. The standard format of the command
1.# command #ifconfig
2.# command Parameters #ip a
3.# command - Options ... #ls -l #ls -a
4.# command - Options ... Parameters #ls -l /root
-l Short options
--long Long options
5. Basic commands
#ip a see ip Address
#ifconfig see ip Address
#tty View the device file name of the current terminal
#cat /etc/redhat-realse View operating system release information
#uname -r View kernel version
#pwd Show current directory path
#hostname View the current full hostname
#hostname HOSTNAME Temporarily change the host name while the current host is running . After changing the host name of the terminal prompt device, you need to exit and log in again
#hostnamectl set-hostname HOSTNAME vim /etc/hostname Change host name permanently
#passwd [USERNAME] Change or set the user's password
#passwd -d [USERNAME] Delete user password
notes :
Management execution passwd: You can specify a user name ; Don't enter the previous password ; You can change and delete the passwords of all users ; There are no strict requirements for password level
Common user execution passwd: You cannot access the specified user name. You can only change your own password ; You need to enter the previous password ; There are strict requirements for password registration 6. System password reset
1. Restart the client
2. Quickly click the mouse in the startup interface and click the up and down buttons to switch ( Stay in the startup interface )+e
3. find linux Add... At the end of the line at the beginning of the line ------rd.break------ crtl + x ------- mount -o remount,rw /sysroot ----chroot /sysroot -----passwd root ----touch /.autorelabel ---exit ---exit边栏推荐
- Vscode debug run fluent message: there is no extension for debugging yaml. Should we find yaml extensions in the market?
- POJ1149 PIGS 【最大流量】
- Extraction rules and test objectives of performance test points
- 腾讯字节等大厂面试真题汇总,网易架构师深入讲解Android开发
- PowerPivot - DAX (first time)
- Database specific interpretation of paradigm
- Qinglong panel white screen one key repair
- Leetcode question 448 Find all missing numbers in the array
- Cesium 两点之间的直线距离
- 棋盘左上角到右下角方案数(2)
猜你喜欢
Tencent Android development interview, basic knowledge of Android Development

Crawler (14) - scrape redis distributed crawler (1) | detailed explanation

Monthly report of speech synthesis (TTS) and speech recognition (ASR) papers in June 2022

Standardized QCI characteristics

Continuous test (CT) practical experience sharing

Leetcode question 283 Move zero

某东短信登录复活 安装部署教程
![[network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN](/img/b8/3d48e185bb6eafcdd49889f0a90657.png)
[network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN
腾讯T4架构师,android面试基础

Tencent T3 teaches you hand in hand. It's really delicious
随机推荐
5. 無線體內納米網:十大“可行嗎?”問題
小微企业难做账?智能代账小工具快用起来
数字三角形模型 AcWing 1018. 最低通行费
报错分析~csdn反弹shell报错
【云原生与5G】微服务加持5G核心网
HDU 1026 Ignatius and the Princess I 迷宫范围内的搜索剪枝问题
String长度限制?
技术分享 | 抓包分析 TCP 协议
What happened to the kernel after malloc() was transferred? Attached malloc () and free () implementation source
A5000 vgpu display mode switching
OceanBase社区版之OBD方式部署方式单机安装
22-07-05 upload of qiniu cloud storage pictures and user avatars
HDU 1026 search pruning problem within the labyrinth of Ignatius and the prince I
Poj3617 best cow line
Tencent T2 Daniel explained in person and doubled his job hopping salary
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
POJ1149 PIGS 【最大流量】
01 基础入门-概念名词
【Yann LeCun点赞B站UP主使用Minecraft制作的红石神经网络】
Tencent T3 teaches you hand in hand. It's really delicious