当前位置:网站首页>First day of rhcsa study
First day of rhcsa study
2022-07-06 19:03:00 【Beichuan CC】
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
边栏推荐
- Penetration test information collection - WAF identification
- Analysis of frequent chain breaks in applications using Druid connection pools
- A wearable arm device for night and sleeveless blood pressure measurement [translation]
- 第五期个人能力认证考核通过名单公布
- Graffiti intelligence is listed on the dual main board in Hong Kong: market value of 11.2 billion Hong Kong, with an annual revenue of 300 million US dollars
- Precautions for binding shortcut keys of QPushButton
- Lucun smart sprint technology innovation board: annual revenue of 400million, proposed to raise 700million
- Multithreading Basics: basic concepts of threads and creation of threads
- 监控界的最强王者,没有之一!
- Qlabel marquee text display
猜你喜欢
Breadth first traversal of graph
监控界的最强王者,没有之一!
Optical blood pressure estimation based on PPG and FFT neural network [translation]
AvL树的实现
Nuc11 cheetah Canyon setting U disk startup
Lucun smart sprint technology innovation board: annual revenue of 400million, proposed to raise 700million
Multithreading Basics: basic concepts of threads and creation of threads
Handwritten online chat system (principle part 1)
Execution process of MySQL query request - underlying principle
[Matlab] Simulink 同一模块的输入输出的变量不能同名
随机推荐
三年Android开发,2022疫情期间八家大厂的Android面试经历和真题整理
R language ggplot2 visualization: use the ggstripchart function of ggpubr package to visualize the grouped dot strip plot, and set the add parameter to add box plots for different levels of dot strip
Solve DoS attack production cases
ROS custom message publishing subscription example
From 2022 to 2024, the list of cifar azrieli global scholars was announced, and 18 young scholars joined 6 research projects
Jdbc driver, c3p0, druid and jdbctemplate dependent jar packages
Meilu biological IPO was terminated: the annual revenue was 385million, and Chen Lin was the actual controller
R语言dplyr包进行数据分组聚合统计变换(Aggregating transforms)、计算dataframe数据的分组均值(mean)
裕太微冲刺科创板:拟募资13亿 华为与小米基金是股东
Online notes
测试行业的小伙伴,有问题可以找我哈。菜鸟一枚~
基于ppg和fft神经网络的光学血压估计【翻译】
巨杉数据库首批入选金融信创解决方案!
涂鸦智能在香港双重主板上市:市值112亿港元 年营收3亿美元
Handwritten online chat system (principle part 1)
Lucun smart sprint technology innovation board: annual revenue of 400million, proposed to raise 700million
Breadth first traversal of graph
R语言ggplot2可视化:使用ggpubr包的ggdotplot函数可视化点阵图(dot plot)、设置palette参数设置不同水平点阵图数据点和箱图的颜色
R language uses rchisq function to generate random numbers that conform to Chi square distribution, and uses plot function to visualize random numbers that conform to Chi square distribution
R语言ggplot2可视化:使用ggpubr包的ggstripchart函数可视化分组点状条带图(dot strip plot)、设置add参数为不同水平点状条带图添加箱图