Linux Basic Installation

Source: Internet
Author: User

CHAPT1 Virtual Machine Installation
Linux system installation needs to be based on virtual machine installation, the advantage of installing on the virtual machine is that any operation on the virtual machine will not affect the internal system and files of the host, and can operate freely. Another advantage is that virtual machines can support multiple operating systems running simultaneously. The following is an example of Redhat, installing the Linux operating system in a virtual machine and debugging the NIC configuration in a Linux system.
First select the VMware virtual machine software to install:

Here the installation selection customization, so for us to face the disk partition, the virtual machine basic configuration can be regulated.
Then proceed to the next installation:
2
Select the current highest version here, which means that all versions below the current version, such as the current version 12, are compatible with version 11.
3
Normal system We need to install the disc image, but here we need to configure the virtual machine, and then when the virtual machine configuration is complete before the system can be installed, so here choose to install the operating system later.
4
This time for Linux system installation, so choose Linux.
5
Depending on the system configuration, because the 64-bit operating system can support large memory, it is advisable to select the Redhat64 bit operating system.

6
Note here that the path to the installation location cannot contain Chinese!
7
Here the number of processors and the number of cores to be selected according to the local computer configuration, such as the local computer is a dual core four threads, the number of processors here can not exceed the dual core, that is, the processing quantity cannot be greater than 2.

Next you need to configure the size of the virtual machine running memory.
8
As can be seen from the figure, the maximum of course can not exceed the host maximum physical memory, such as the host maximum running memory of 8GB, so here the maximum running memory of virtual machine can not be greater than 8GB.
9
Here we need the virtual machine and the host can be interconnected, so choose only host mode.
10
11
Proceed with the installation as recommended.
12
Here we need to give the virtual machine a separate space to store data, if the host with the same folder for storage, can cause system files are not even run.
13

14
It is important to note that we need to partition an area on our computer's hard drive to the virtual machine, which requires us to specify which drive letter and which folder to use.
15
The virtual machine is created as shown. Click Finish.
Chapter2 installing the Linux operating system
The interface appears after the virtual machine installation is complete:
16
Here the virtual machine is just installed, the equivalent of a host we just had, but there is no operating system, so we need to edit it, install the operating system. Click Edit Settings.
17
Appears as shown, we will locate the previously prepared image file and click OK. Then turn on the virtual machine.

18
Turning on the virtual machine, we can now install the Linux operating system.
Select the first one to install:
19
20
21st
22
23
24
25

26
Note here that we need to partition the disk normally, so we can customize the partition as needed.
27

The system then reads the memory space that we previously allocated to the operating system.
Then we need to allocate space to the root directory, the boot directory, the virtual disk Swap,home directory:
28
29
30
The virtual disk size needs to be set to twice times the physical running memory, before setting the virtual machine to physically run memory at 2GB.
31
The rest of the space can be assigned to the home directory.
32
When the assignment is complete, click Next.
33
34
appears, we need to format and write changes to the disk space that is partitioned on the host computer to the virtual machine.
35
36
Here we first choose the desktop, because we need to use the library, where we need to check all the following repository.
37
Wait for installation;
38
Click Reboot to restart the system.
39
40

41
42
43
44
45
46
47
48
Enter the interface:
49

Chapter3 Changing network card settings
After entering the Linux system interface, open in the terminal:
50
51
Enter cd/etc/sysconfig/network-scripts carriage return, and the input LS appears as shown:
52
Enter Vim Ifcfg-eth0 to edit the NIC file (for example):
53
Change Onboot=no to YES,DPHC to static, such as:
54
Then add the following:
55
The ipaddr represents the IP address, netmask represents the subnet mask, and gateway represents the gateways. Press ESC, colon, Wq to save the exit.
Enter the service network restart and restart the network card, such as:
56
The network card activation is complete.
Note: The number in front of the picture indicates the order.

Linux Basic 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.