Get the App
SLTechnology News&Howtos  ›  Servers  › 

RedHat 25th online training course-lesson 2

Shulou Source: shulou.com Published: 2022-06-03 09:24:42 10月04日 Update

I. the main contents of study

Installation of RHEL 7. 0 (installed under VM Ware12)

Select the "install operating system later" radio button

Click to select the Server with GUI radio button to reset the root user password

Step 1: when you restart the host of the Linux system and the boot interface appears, press the e key on the keyboard to enter the kernel editing interface

Step 2: append the "rd.break" parameter to the end of the linux16 parameter line, and then press Ctrl + X to run the modified kernel program

Step 3: after about 30 seconds, enter the emergency rescue mode of the system

Step 4: enter the following commands in turn and wait for the system restart operation to complete Then you can use the new password linuxprobe to log in to the Linux system mount-o remount Rw / sysrootchroot / sysrootpasswdtouch / .autorelabelexitrebootsystemd:systemctl start foo.service startup service systemctl stop foo.service stop service systemctl restart foo.service restart service systemctl reload foo.service restart configuration file (do not terminate service) systemctl status foo.service view service status systemctl enable foo.service boot automatic startup novice must master linux command: command [command parameters] [command object] long format:-- help Short format:-a long format and long format cannot be merged Long and short formats cannot be merged; short and short formats can be merged, but only one-

Echo printed text

Date "+% Y-%m-%d% H:%M:%S"

Reboot: restart the system

Poweroff shuts down the system

Wget: downloading files from the network

Pidof: query the process pid value of a specified service

Kill: kill a process

Ps: 5 common states of linux system: r (run), S (interrupt), D (uninterruptible), Z (dead), T (stop)

Top:

Second, learning experience

The teacher is very modest, speak very high, I can also keep up with, the state of gratitude is very good, very in tune with the teacher, good cooperation!

Many orders are known roughly, but after careful deliberation, each command is not clear. This kind of situation is easy to break down because of nervousness during the exam.

Remember things or to remember, such as root password reset a large number of commands and parameters, can only be muscle memory, so that there is a guarantee during the exam!

Linux command is the foundation, some basic commands must be remembered, including parameters, usage, and some common classic usage scenarios and commands!

Thank you for this learning opportunity. Thank you.

Learn to record photos

Tags: Commands formats systems services parameters learning kernel fundamentals passwords buttons files time status interface teachers processes exams runs good medium often Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei MySQL Redmi vpn