Mylinux Cookbook No.2 2015/3/11

Source: Internet
Author: User

Cat/etc/issue
Cat/etc/redhat-release rpm-qa| grep release

View version

Uname-a-i-r View kernel version

Yum Grouplist

lang=en

Yum grouplist This command to list all installed and not installed packages

Reboot;init 6 Shutdown-r now off

Single-run mode change password

passwd Change Password

Restart linux,3 seconds, press ENTER.
If you have a grub password, you need to press P first, enter the password before you can do the following
Press E, select the second row, and then press e
add single or number 1 or letter s on the last side
Press ENTER first and then press B
This will successfully enter single-user mode, we can change the root password

Enter the original system, change the password, restore the file

-------------------------------------------------------

0-halt (do not set Initdefault to this) <== shutdown system, cannot be the default level

1-single User mode <== Single-user mode, similar to safe mode, for fault maintenance
2-multiuser, without NFS (the same as 3, if you don't have networking) <== similar to 3, but no networking capability
3-full multiuser mode <== Full-featured multi-user mode
4-unused <== reserved not used
5-x11 <== Full-featured multi-user mode with graphical interface
6-reboot (do not set Initdefault to this) <== reboot, cannot be the default level, otherwise there will be supernatural time


S start Service K turn off service;

INIT SET environment variable NETWORK SERVICE partition, etc. initialization

/etc/inittab Modifying the Run level

Power-->bios->boot driver-->mbr (grub+partion table+55aa) (kerner+kernel image--> static drive-->init->/ ETC/INITTAB3->/etc/rc.d/rc3.d/-->/etc/rc.d/rc.local-->6*tty (terminal)

Yum Install-y Lrzsz




Mylinux Cookbook No.2 2015/3/11

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.