当前位置:网站首页>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
边栏推荐
- PHP online confusion encryption tutorial sharing + basically no solution
- Apache service suspended asynchronous acceptex failed
- 鸿蒙第四次培训
- Where is the monitoring page of RDS database?
- Kubernetes resource object introduction and common commands (III)
- Collection of the most beautiful graduation photos in the graduation season, collection of excellent graduation photos
- AcWing 3438. Number system conversion
- RDS数据库的监测页面在哪看?
- Online assignment 3 of mobile Internet technology in the 20th autumn of electronic technology [standard answer]
- [RT thread] NXP rt10xx device driver framework -- pin construction and use
猜你喜欢

线程池:业务代码最常用也最容易犯错的组件
![[JDBC] API parsing](/img/75/0f69a4e246a571688355bb13e2cd73.jpg)
[JDBC] API parsing

Play with fancy special effects. This AE super kit is for you

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

TensorBoard快速入门(Pytorch使用TensorBoard)

Cross border e-commerce: advantages of foreign trade enterprises in overseas social media marketing
![Luogu: p2685 [tjoi2012] Bridge](/img/f5/f77027288a211ae466781b09ce650f.jpg)
Luogu: p2685 [tjoi2012] Bridge

What is your income level in the country?

kubernetes资源对象介绍及常用命令(五)-(NFS&PV&PVC)

1164 Good in C
随机推荐
在iptables防火墙下开启vsftpd的端口
RedHat 6.2 configuring ZABBIX
线程池:业务代码最常用也最容易犯错的组件
【RT-Thread】nxp rt10xx 设备驱动框架之--rtc搭建和使用
[combinatorics] recursive equation (example of solving recursive equation without multiple roots | complete process of solving recursive equation without multiple roots)
Take you to API development by hand
一位普通程序员一天工作清单
vs2013已阻止安装程序,需安装IE10
Rsync远程同步
Define a structure fraction to represent a fraction, which is used to represent fractions such as 2/3 and 5/6
[combinatorics] recursive equation (special solution example 1 Hannover tower complete solution process | special solution example 2 special solution processing when the characteristic root is 1)
Atom QT 16_ audiorecorder
问题随记 —— 在 edge 上看视频会绿屏
[RT thread] NXP rt10xx device driver framework -- Audio construction and use
Kubernetes resource object introduction and common commands (III)
One brush 145 force deduction hot question-2 sum of two numbers (m)
聊聊接口优化的几个方法
An example of HP array card troubleshooting
2021 ICPC regional competition (Shanghai) g.edge groups (tree DP)
静态程序分析(一)—— 大纲思维导图与内容介绍