当前位置:网站首页>First day of rhcsa study
First day of rhcsa study
2022-07-03 17:20:00 【I just want to sleep thirty-four】
build Linux learning environment
Build with virtual machine
Recommended Vmware16
Be careful :
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
( 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
Basic command sorting
1、 see IP Address
#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 1710sec
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
边栏推荐
- Apache service suspended asynchronous acceptex failed
- Squid 服务启动脚本
- Redis:关于列表List类型数据的操作命令
- Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard
- [RT thread] NXP rt10xx device driver framework -- RTC construction and use
- C语言字符串练习
- The largest matrix (H) in a brush 143 monotone stack 84 histogram
- What is the difference between cloud server and cloud virtual machine
- Golang单元测试、Mock测试以及基准测试
- Luogu: p2685 [tjoi2012] Bridge
猜你喜欢
![[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.](/img/a0/4fc0e0741aad2885873e60f2af3387.jpg)
[error reporting] omp: error 15: initializing libiomp5md dll, but found libiomp5md. dll already initialized.

鸿蒙第四次培训

人生还在迷茫?也许这些订阅号里有你需要的答案!

Life is still confused? Maybe these subscription numbers have the answers you need!

Kubernetes resource object introduction and common commands (III)

QT学习日记9——对话框

Collection of the most beautiful graduation photos in the graduation season, collection of excellent graduation photos

Redis: operation commands for list type data

New features of C 10

Qt调节Win屏幕亮度和声音大小
随机推荐
Solution to long waiting time of SSH connection to remote host
Dagong 21 autumn "power plant electrical part" online operation 1 [standard answer] power plant electrical part
Where is the database account used when running SQL tasks in data warehouse tasks configured
[JDBC] API parsing
27. Input 3 integers and output them in descending order. Pointer method is required.
Talk about several methods of interface optimization
UE4 official charging resources, with a total price of several thousand
Thread pool: the most common and error prone component of business code
SVN如何查看修改的文件记录
线程池:业务代码最常用也最容易犯错的组件
Assembly instance analysis -- screen display in real mode
Financial management (Higher Vocational College) financial management online Assignment 1 in autumn 20
September, 19, "cam principle and application" online assignment [Full Score answer]
SWM32系列教程4-端口映射及串口应用
[combinatorial mathematics] recursive equation (example of recursive equation 2 Hanoi Tower | example of recursive equation 3 insertion sequencing)
One brush 147-force deduction hot question-4 find the median of two positive arrays (H)
Electronic technology 20th autumn "Introduction to machine manufacturing" online assignment 3 [standard answer]
Installation and configuration of network hard disk NFS
[combinatorics] recursive equation (general solution structure of recursive equation with multiple roots | linear independent solution | general solution with multiple roots | solution example of recu
Depth first search of graph