Installation of Linux operating system

Source: Internet
Author: User

With the development of embedded, Linux knowledge is a necessary part, let us do the Linux system installation process demonstration:

First, the installation of Linux
This blog is described in red flag Asianux Workstation 3 As an example, and other versions of Linux are similar.
1.1 Mounting method
According to the way the Linux system exists in the computer, the installation of Linux is divided into single system, multi-system and virtual machine.
1. Single system installation. The Linux system is installed on the computer and no other operating system is available.
2. Multi-system installation. In the same computer, in addition to installing a Linux system and other operating systems, the computer needs to allocate hard disk space, and according to the needs of different operating systems, the hard disk to establish a corresponding format of the partition.
3. Virtual machine installation. Refers to an environment that is virtualized for Linux installation and operation by virtual machine software under installed Windows systems.
two. Pre-Installation Preparation
1, installation of VMS and preparation work introduction

This installation we use virtual machine installation, first of all, of course we need to install virtual machine, Here we use this version of VM Virtual Machine vmware-workstation-full-11.0.0-2305329.exe (click to download, Password: IRW1), then we need to install the Linux system Red Flag DC Server 5.0 CD (click to download, Password: 30VR), before installing the Linux system as a virtual machine, make sure that there is enough free space on one of the Windows disks that will hold the virtual machine files in the future. If you install only the basic system of Asianux Workstation 3 (1th to 3rd disc), you need approximately 8G of space, if you need to install the management tools (4th CD) or development tools (5th CD), you need to increase the space of the 2g/disc on the base system. As the embedded system development of the host computer, installation of the basic system can be.
Now we install the VMware Workstation virtual machine software, the installation is very simple, in the installation process, if there is no special settings, click the "NEXT" button in order to complete the installation, will appear on the desktop after the VMware The workstation icon. As shown in the following:


2. Configuring virtual Machines
Double-click Start virtual machine software, left mouse button to create a new virtual machine.

Then click the Next button, and when you select the virtual machine type, select the typical (recommended) (T) type. Click Next

The following "New Virtual Machine Wizard" appears to choose to install the operating system later, click Next

Select the operating system that you want to install, select the Linux option, and then select the other Linux 2.6.x kernel version option in the "Version" drop-down list box.


Click to enter "Name Virtual Machine interface" as shown in the name

After clicking Next, the disk allocation interface appears, you need to allocate the hard disk space size to the virtual machine, and enter the corresponding number according to the installation. Select the default 8GB here and click Next


The virtual machine information that is set up can also be changed by customizing the hardware button, without making changes here, click the Finish button directly to proceed to the next step.

After clicking the Finish button, we can see the following interface in the virtual machine interface:


3, the installation of Linux system

The specific setup steps are: Right-click to select the configured virtual machine name, appear as shown in the interface, enter the virtual machine settings interface


Select the "CD/DVD (IDE)" item on the left side of the window, select the "Use ISO image file (M)" Item on the right, and select click the "Browse" button, the following interface appears, select CD1, then click OK:


Connect the image file of the Linux first installation disc to the virtual machine CD drive and click Confirm to exit


The CD/DVD is also configured as shown below to connect the CD/DVD:


Return to the page shown below and click on the virtual machine to open it

This will appear as follows (that is, the selection of the installation method)


Note: If you want to switch from a virtual machine to a Windows system, you need to press the "Ctrl+alt" key at the same time to switch

(1) Select the installation method
After the virtual machine boot into the Linux installation mode selection interface, press ENTER directly to select the installation of a graphical interface; enter "Linux text" string and press Enter to install the character interface, press function key F1~F5 to display further details.

Here, press the ENTER key directly to select the graphical interface to install.


(2) test disc

(3) Start the installation with a graphical interface
Next go to the graphical installation interface, the mouse click the "Next" button to proceed to the next installation screen to continue installation, click the "Exit" button to abandon the installation. Click the "Next" button here to proceed to the next installation screen.

(4) Language selection
Next enter the language selection interface, there are "Simplified Chinese", "Traditional Chinese", "English", "Japanese", "Korean" and other five languages, the default is English. Select "Simplified Chinese" here, then click "Next" button to proceed to the next installation screen.

(5) whether to accept the installation agreement
Next enter whether to accept the installation protocol selection interface, select "Accept" to continue the installation process, select "Do not accept" discard the installation, the default is "do not accept."
Select "Accept" here and click on the "Next" button to proceed to the next installation screen.

(6) Select keyboard
Next go to the keyboard selection screen, you can choose "Japanese keyboard" or "English keyboard", the default choice is "English keyboard."
Select "English Keyboard" here, then click the "Next" button to proceed to the next installation screen.

(7) disk partition settings
Next go to the disk partition settings interface, if the disk to install Linux is an uninitialized new disk or the partition format of the disk is unknown, the disk initialization warning screen will be ejected, prompting the user to initialize the its first, and the initialization will delete all the data from the original disk, select "Auto Partition", Then click Next.

Click to see the details, as shown in: If you select "Yes (Y)", the disk is initialized, if you select "No (N)", discard the installation.



After clicking Next, the following interface appears, that is, the detailed partitioning problem:, using the default mode, click Next to

After clicking Next, the following interface appears: Select the "Yes (Y)" option and click Next


Click Next to see the following interface, take the default mode, continue to click Next


(8) Network and host name settings
Next go to the network and hostname settings interface, in the "Network device" bar can use the check box to select the boot to activate the network card, click on the right of the "edit (D)" button to set and edit the selected network card parameters. By default, the system will automatically activate the network card in the host at boot time and take advantage of the DHCP (Dynamic Host configuration Protocol) server in the network to obtain the networking parameters.
In the hostname column, you can accept the default option, automatically configure (a) with DHCP, to get the host name, or select the manually set (m) option to set the name for the host.
Accept the system's default options here and click the Next button to enter the next installation screen.

(9) Time zone settings
Next go to the Time zone settings screen, the mouse click on a map area or list box can select a different time zone, the default is "Asia/Beijing". Clicking the Adjust date and time button pops up the window that modifies the current host time to modify the current time. Accept the system's default options here and click the Next button to enter the next installation screen.


(10) Set the root user password
Next you need to set the root user password, the root user is the administrator of the Linux system, with the supremacy of permissions, the system is automatically created during the installation of users. The root user's password is not less than 6 characters, and can be any combination of uppercase and lowercase letters, numbers, and other characters on the keyboard, since the password is not echoed at the time of input, so it is required to enter two times to avoid errors in the input process.


(11) Setting up the installation package

(12) Start installation
If the selected package dependency check failed, you need to go back to the previous step to re-select the package to install, otherwise, click the "Next" button will pop up the installation process prompts for the disc, click the "Continue (C)" button to start the installation, click the "Back (B)" button to set the installation of the package interface, click The reboot (R) button will discard the installation and reboot the system.
Click the "Continue (C)" button here to begin installing the package, the system will first format the partition and then start the installation.

The installation process has a variety of interfaces, the following respectively with the installation *, said:

Installation 1
Installation 2 (13) Swap Operation
After the current disk installation is complete, you will be prompted to insert the next disc to continue the installation.

For a direct CD-ROM installation, remove the original disk from the optical drive, put it in the next disc, and click the "OK" button to continue the installation (it will add the disc in the same way as the first disc). For the way the disc image file is installed, you need to press and hold down the keyboard's CTRL and ALT keys to release the mouse, enable the mouse to move out of the virtual machine window, then select the menu settings to set up the virtual machine, connect the image file of the next disc to the CD drive of the virtual machine, and then click OK to continue the installation. Select the second disc to install here


Then enter the Linux click OK button to continue the installation (there are a lot of waiting for the interface, wait until the graphical interface settings window, interactive operation)


(14) Display Settings
Before the installation is finished, display the display Setup screen as shown, and for Linux installed as a virtual machine, do not modify the system default resolution and color depth at this time, because VMware Tools is not installed, the settings do not take effect, and for single-system or multi-system installed Linux, At this point you can set the system resolution and color depth.
Selecting "Graphic mode (G)" will enable Linux to start the graphical interface directly, and select "Text mode (T)" will allow the Linux boot into the character interface, in the character interface to enter the graphical mode, run the command "StartX".
Accept the system default resolution and color depth, after selecting "Graphic mode (G)", click "Next" button to complete the boot program installation, display the system installation successful interface, click the "reboot (t)" button, restart the system.


After restarting, enter your password, as shown, and enter the password you set at the time of installation:


After entering the operating system with the correct password, we are able to perform simple command line interaction as follows:

At this point, we have completed the installation of the Linux operating system on the virtual machine, for multi-operating system installation refers to the installation of multiple operating systems, such as Windows, Linux, etc. installed in different partitions of the same computer hard disk.        Windows systems must be installed in the primary partition, and Linux systems can be installed in other partitions. You first need to install the Windows system. When you partition your hard disk during Windows Setup, you are reserving enough disk space for Linux. After the Windows installation is complete, set the disc as the first boot device, and then restart the computer after placing it on the first disc of Linux, and Linux will mount the multiple boot Manager grub (GRand Unified Bootloader) software that allows the user to select the system to be entered when the computer is started. The multi-system Linux installation process is the same as the virtual machine installation process, which is not described in detail here.


The above is the Linux operating system installation process.






Installation of Linux operating system

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.