2015.3.11 Second Course

Source: Internet
Author: User

#yum List # #查看yum的软件列表, similar to viewing what software can be installed in the App Store

#cat/etc/issue # #查看系统版本

#yum Update # #升级所有包, change the software settings and system settings, upgrade the system version kernel

#yum Upgrade # #升级所有包, does not change the software settings and system settings, the system version upgrade, the kernel does not change

#uname-A # #可以查看系统位数, x86_64 is a 64-bit system, i386 is a 32-bit system


Rescue mode:

Need to have the installation CD or USB flash drive, reboot into the BIOS to tune into the CD-ROM boot, select "Rescue installed System", the language and keyboard type selection default, Rescue method also remains the default.

Whether to enable the network when using rescue mode, according to the actual situation (if you need to enter the rescue mode remote copy data, you need to enable the network)

Three modes can choose: Shell mode will go directly to the command line, can be done to edit files, modify user password, etc. fakd is the diagnostic mode; reboot will restart directly. Select the first shell mode and execute the command: Chroot/mnt/sysimage.


Operating level:

Linux has 7 operating levels: 0-6

0: Turn off the machine

1: Single User

2: Level 3 without NFS service

3: Command-line mode, that is, no graphics service

4: Reserved

5: Graphical mode

6: Restart


Linux boot process

BIOS power-on self-test, look for the boot media to find the MBR;

After the MBR is found, the location of the kernel is located according to the bootloader (grub) settings;

Execute Linux kernel image code, detect and load hardware driver;

After the driver loading is complete, the kernel gives the initiative to INIT;

Init initializes the system based on the operating level set by the system.


This article is from the "Rhythm" blog, make sure to keep this source http://rhythm.blog.51cto.com/2800158/1619779

2015.3.11 Second Course

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.