Red Hat Linux Installation and service control

Source: Internet
Author: User
Tags administrator password



1.1 Installing Red Hat Linux



1. Insert the Rhel 6 installation CD and boot the Setup program





Depending on the prompts to choose a different installation mode, select "Install or upgrade an existing system", which is "Installing or upgrading an existing system". (the option is to install with a graphics driver-graphical installation)



2. Detecting the integrity of the installation disc





Remind users to detect the integrity of disc installation, disc detection takes a long time, you can press the TAB key to skip the detection process.



3. Configuring the Setup program




(1) The first display is the installation program Welcome screen, click the "Next" button to continue.



(2) Select the display language of the installer, the default is "English" for domestic I will choose "Simplified Chinese".



(3) Set the keyboard type, using the standard "American English".



(4) Select storage device, my local hard disk, not networked storage, so select "Basic storage Device".






(5) Confirm the storage device, the system detects no partition, has been partitioned or contains data, my is a new hard disk, so select "Yes, ignore all data".






(6) Set the host name, or you can set it up after installation.



(7) Set the use time, for the host to provide the correct system time, the domestic unified Select "Asia/Shanghai" Also note uncheck the "System clock use UTC (S)" check box.



(8) Set the administrator password, the default administrator is root, at least 6 digits guaranteed.



(9) Set the hard disk partition.



Linux indicates hard disks and partitions



Hard disk: The IDE interface hard disk is represented as "HdX" file name, the SCSI interface hard disk is represented as "SdX", where "X" can be a,b,c,d and other alphabetic numbers. (e.g. first IDE HDD "HDA", second SCSI HDD "SDB")



Partitions: (primary partition, extended partition, logical partition) have the corresponding numeric sequence number to mark "1-4" as the primary partition, and the logical partition begins with "5". (for example: First IDE hard disk first primary partition "HDA1" second SCSI hard disk first logical Partition "SDB5")



File types for Linux



EXT4: The fourth-generation extended file system, the partition used to store file and directory data, is the default file system used in RHEL6.



For beginners, you can choose to use all the space.









(10) Set the Grub boot menu, which is a boot program for the system.






(11) Select the software group.












Copying files and completing the installation process






The next step is to initialize the RHEL6 system



1) User License Agreement



2) Setting up software updates



3) Add System user account



4) Date and time of confirmation



5) Set Kdump memory



At this point, the RHEL 6 installation is complete. After rebooting, enter the login screen.






1.2 Linux Boot Process



1.2.1 Boot Process overview



1. Post



2.MBR Boot



3.GRUB Menu



4. Load the Linux kernel



5.init Process Initialization



1.2.2 System initialization process and files



1. The init process pid is "1"



0 Shutdown Status



1 Single-User mode



2 characters than characters user mode



3 character full multi-user mode



4 Not assigned to use



5 graphical multi-user mode



6 restart



1.3.1 System Service Control



There are two ways to control the service control script by default in the/etc/rc.d/init.d/directory


service service name control type
/etc/rc.d/init.d/ service name control type 


The control types are as follows:



Start (start) Stop (stop) restart (restart) reload (reload) status (View status)



1.3.2 Switching the Run level



1. View the system operating level


[[email protected] ~]# runlevel
N 5


2. Switch the system operating level


[[email protected] ~] # init 3 #Enter the character interface
[[email protected] ~] # init 5 #Enter the graphical interface
[[email protected] ~] # init 6 #Restart the current system
[[email protected] ~] # init 0 #Close the current system 





Red Hat Linux Installation and service control


Related Article

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.