8.Linux System Overview and professional-grade custom installation

Source: Internet
Author: User

8.Linux System Overview and professional-grade custom installation

?? Course Requirements:

1. in the VMware virtual machine, install Red Hat Enterprise 6 (RHEL6).

?? Laboratory Equipment:

Software:

1. RHEL6 Linux installation image file.

Hardware:

1.PC Machine one set.

Background knowledge:

1. VMware:

VMware Workstation is one of the commercial software products that vmware companies sell. The workstation software includes a virtual machine suite for the intel® x86 compatible PC that allows users to create and run multiple x86 virtual machines at the same time. Each virtual machine instance can run its own guest operating system (but not limited to) such as Windows, Linux, BSD-versioned versions. In simple terms, a VMware workstation allows a real computer to open and run several operating systems simultaneously in one operating system. Other VMware products help manage or migrate VMware virtual machines across multiple host computers.

3. Linux operating system:

Simply put, Linux is a free-to-use and freely-propagated Unix-like operating system that is designed and implemented by thousands of programmers around the world. The aim is to create Unix-compatible products that are free to use worldwide, without the copyright restrictions of any commodity-based software.

The advent of Linux began with the first Finnish university student named Linus Torvalds. His aim is to design an operating system that replaces the Minix (an operating system teaching program), which can be used on a 386-, 486-, or Pentium-processor PC, and has the full functionality of the Unix operating system, thus beginning the design of the Linux prototype.

Linux is used primarily as part of a Linux distribution. A typical Linux distribution includes: Linux kernel, some GNU libraries and tools, command line shell, graphical interface X Window system and corresponding desktop environment, such as KDE or GNOME, and contains thousands of kinds of applications from office suite, compiler, text editor to scientific tool 。 This section describes how to customize the installation of a well-known release version of the Linux operating system according to our course needs--rhel6

Installation of 1.VMware:

Figure 3-32 VMware Installation Method

2. Select Start VMware on the desktop, create an empty folder on the computer, it is recommended to select a larger disk to create the directory, if we create a folder in the D:/VM

3. Via "File" "New" "Virtual Machine" or by clicking on the icon (new virtual machine),

Open the New Virtual Machine Wizard, shown in 3-33, and select indicate user customization.

Figure 3-33

New Virtual Machine Wizard

4. Click "Next" to select Next, continue to select next in the interface that appears, until 3-34

The interface shown. Select to indicate that the virtual machine environment is set up before installing the operating system.

Figure 3-34

Add a REHL6 installation image

5. Select "Linux" in the next interface "Guest operating system" and select Red Hat Enterprise Linux 6 in the "Version" option, click "Next" to go to the next step, as shown in 3-35.

Figure 3-35 set up the operating system to install

6. in the interface that appears, select the location where you want to install RHEL6 ,as shown in3-36 . and click "Next"

Go to the next step.

Figure 3-35

Set up the operating system to install

6. In the interface that appears, select the location where you want to install RHEL6, as shown in 3-36. and click "Next" to proceed to the next step.

Figure 3-37 setting the number of processor cores

8. Select the size of the memory allocated to the virtual machine,the memory of thepc is larger, you can choose 1024MB, according to your

PC physical memory size to handle. However, if you want to run the graphical interface, it is recommended above 256MB . As

shown in the figure.

Figure 3-38

allocating memory size to RHEL6

9. Click "Next" to go to the next step, select the network connection mode, select the default mode, 3-39 is shown.

Figure 3-39

Set network connection as NAT

10. Click "Next" to enter the next step, until the screen shown in 3-40, the size of the disk can be selected according to the allocation, the recommended allocation of 30G, where "30G" refers to the maximum disk size of the virtual machine.

Figure 3-40

Allocate virtual machine maximum disk size

11. Click "Next" to go to the next step, select the location where the virtual machine disk file rhel6.vmdk is stored, and the recommended setting is the virtual machine installation directory set up previously. As shown in 3-41.

Figure 3-41 Set Disk File storage location

Click "next" to proceed to the next step and click Finish to install the RHEL6 virtual machine settings. as shown in 3-42.

Figure 3-42

Set Disk File storage location

13. After the custom virtual machine is complete, the virtual machine is displayed in the "My computer" on the left side of the virtual machine software "Red Hat

Enterprise Linux 6 ".

Figure 3-43

Virtual machines that have been successfully customized

14. Load the RHEL6 installation image file with the virtual machine's optical drive. From the menu "VM" | "Settings", open the interface as shown. Select in the Device list box, or in Figure 3-44

Double-click to select the CD/DVD (IDE) option and select it in the Connect item and browse to and select the RHEL6 image file you want to install. RHEL6 mirroring in training-specific

and through the software/Red Hat Linux installation CD image folder, click "OK" to confirm the exit.

Figure 3-44 Add RHEL6 Mirror to the virtual machine's optical drive

After selecting the image of the virtual optical drive, go back to the figure 3-45 interface, select, launch the virtual machine into the RHEL6 installation interface, move the mouse into the virtual machine and select Enter. When you hover your mouse over a virtual machine, you cannot move out of the mouse, using

The "Ctrl+alt" combo key is moved out.

Figure 3-45

Enter the RHEL6 installation interface

16. Select whether to detect the integrity of the disc, as we are using the iOS image intact,

So by "←" "→" Select "Skip" Skip, 3-46, and then formally entered the RHEL6 Installation Wizard interface, 3-47 shown. Click "Next" to go to the next step, select the operating system language, here selected Simplified Chinese, recommended to use the default language, 3-48 is shown. Click "Next" to go to the next step, select the keyboard language, using the default "American English style", 3-49 is shown. Click "Next" to proceed to the next step, select install using the device "Basic storage Device", shown in 3-50.

Figure 3-46

Skipping disc Integrity detection

Figure 3-47

RHEL6 Setup Wizard

Figure 3-48

Select the operating system language

Figure 3-49

Select keyboard type

Figure 3-50

Select the installation to use the device

17. Click "Next" to eject the "Storage Device Warning" interface and select "Yes, ignore all data", as shown in 3-51. Then, the virtual machine detects the host name of the computer, and then selects next after the default name

Figure 3-51 Storage Device Warning

Figure 3-52 Host name settings

18. Enter time zone selection 3-53, the default is Shanghai, can not need to modify; then "Next",

Enter the root user password setting, as shown in 3-54;

Figure 3-53

Time zone selection

Figure 3-54

Root User Password settings

19. Click Next, choose Linux installation Mode, 3-55, select "Use all spaces" to install Linux, and then confirm "write modifications to disk (W)" 3-56.

Figure 3-55 indicates that the operating system could not be found

Figure 3-56 Writing a modified configuration to disk

20. Click "Next", enter the custom installation of the Linux system, select "Software Development Station", 3-57, and then select "Next", the system will automatically check the "Software development Station" mode installation depends on the installation package, and then start the installation process, 3-58, and then install the installation package , shown in 3-59;

Figure 3-57

Linux Custom Installation

Figure 3-58

Start the installation

Figure 3-59

The system installs the installation package automatically

21. Installation will take about half an hour or so, after the installation is completed, 3-60 display screen, click "Reboot", the computer into the restart State.

Figure 3-60

Installation Complete reboot

22. After reboot, the system enters the subsequent configuration stage, enters the "Welcome" interface, selects "Advances", 3-61 shows;

Go to the "License Information" screen, select "Yes, I agree to change the license Agreement (Y)," Select "Forward", go to the "Set up software Updates" screen, select "(N) No, after registration", and then in the Pop-up window select "No, thank you! Connect later (N)", select "forward"; interface, after creating the SMB user, 3-62 shows the option "forward".

Figure 3-61

Follow-up Configuration Welcome screen

Figure 3-62

Normal User SMB creation

23. Enter "date and time" to select the interface, determine the time without errors, select "Forward", enter "Kdump" interface Select "Done", and then pop-up window select "Yes (Y)", 3-64, and then the system into a reboot.

Figure 3-63

Date and Time interface

Figure 3-64

Kdump interface

24. After the system restarts, you will see the login screen shown in 3-65. You can choose to log in to normal user SMB, and then enter the password for the SMB user, or you can enter the root username and password in the "Other ..." option.

Figure 3-65

Log in to the Linux system

Summarize:

Through this experiment, we should master the method of custom installation of Linux system, including how to choose appropriate configuration according to the resources of the system, and install according to the requirements of development and use. Because you are installing RHEL6 on a virtual machine, you must also master the configuration and use of the virtual machine environment.

8.Linux System Overview and professional-grade custom installation

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.