Some problems in the Linux installation process

Source: Internet
Author: User

Why to create an LVM volume group:

LVM is the abbreviation for Logical Disk volume management (logicalvolumemanager), which is a logical layer built on hard disks and partitions to improve the flexibility of disk partition management. The LVM system administrator makes it easy to manage disk partitions, such as connecting several disk partitions to a single block of volume group (volumegroup), forming a storage pool. Administrators can create logical volume groups (logicalvolumes) at will on a volume group and further create file systems on logical volume groups. The administrator can easily adjust the size of the storage volume group through LVM, and the disk storage can be named, managed and assigned in group Way, so that the file has future extensibility.


* Volume Group (volumegroup)
LVM volume groups are similar to physical hard disks in non-LVM systems, which consist of physical volumes. You can create one or more LVM partitions (logical volumes) on a volume group, and an LVM volume group consists of one or more physical volumes. EX2 ex3 ex4 What difference, why the default is EX4 without the previous two kinds of

* Physical Volume (Physicalvolume)
A physical volume is a partition of a hard disk or a device that logically has the same function as a disk partition (for example, RAID), which is the basic storage logic block of LVM, but is compared to basic physical storage media (such as partitions, disks, etc.) and contains management parameters related to LVM.



What is the Setup command for?:

Use root to release these commands.

*authentication Configuration
This is the configuration related to the user authentication, including the account of the computer and the use of the account provided by the remote server to log on to the local functions such as the configuration.
*firewall Configuration

Simple configuration firewall with SELinux startup mode (Disable, enforcing, Permissive).
*keyboard Configuration

is the corresponding table of keyboard keys. Note that this configuration is only related to the TTY interface, and the X Window is not configured with this value.
*network Configuration

Configure the network parameters in the place, including IP, network, netmask, DNS, and so on.
*system Services

Configures whether some system services are started at startup.
*timezone Configuration

Re-select the time zone after the installation is complete.
*x Configuration

Configure X Window-related configurations, such as resolution and so on.


Where is the network card file, what is the path, and what is the network card name generated from:

*ifcfg-eth0

*/etc/sysconfig/network-scripts/ifcfg-eth0

* The kernel discovers a PCI network card device and calls the probe function of the NIC driver. After a certain initialization is done, the probe function invokes the kernel interface Register_netdev registers a new Net_device device with the kernel.

The name of this device, the NIC driver, often determines only a subset of them. As in this way, the NIC driver provides a name like "eth%d" and then calls the kernel interface Register_netdev.
strcpy (Netdev->name, "eth%d");
Register_netdev (Netdev);
Register_netdev process, according to the existing interface situation in the system, find a minimum number that has not been used, and give the new registered network card. For example, the system currently has, Eth0, Eth2, eth3 three network card. Then the newly registered network card, the name is eth1.


What do the parameters in the NIC file mean:

Device= Physical Device Name
Ipaddr=ip Address
netmask= Mask Value
network= Network Address
Broadcast= Broadcast Address
gateway= Gateway Address
Onboot=[yes/no] (whether the device is activated at boot time)
Userctl=[yes/no] (whether the device can be controlled by a non-root user)
BOOTPROTO=[NONE/STATIC/BOOTP/DHCP] (Do not use protocol at boot | static Assignment | BOOTP protocol | DHCP protocol)
HWADDR = Your MAC address

====>

*BOOTP protocol

BOOTP (Bootstrap Protocol, Bootstrap protocol) is a boot protocol, based on IP/UDP protocol, also known as Bootstrap Protocol, is the predecessor of the DHCP protocol. BOOTP is used on LAN for diskless workstations, allowing diskless workstations to obtain IP addresses from a central server. The BOOTP protocol allows you to assign a dynamic IP address to a diskless workstation in a LAN, so that no administrator is required to set a static IP address for each user.

*DHCP protocol

DHCP (Dynamic Host Configuration Protocol) is a LAN protocol that uses UDP to work with two main purposes: assigning an IP address to an internal network or network service provider automatically, For users or internal network administrators as a means of central management of all computers.


How the host name is set to take effect:

There are two of places

*hostname Host Name

* Under the Etc/sysconfig/network directory

Input command: VI Network
Modify Content Networking=yes
Hostname= Host Name

Re-enter: Wq Save exit

Re-entry into force.

Reference:

Brother Bird's Linux private cuisine

Baidu Encyclopedia

http://blog.csdn.net/crazycoder8848/article/details/43054887

Some problems in the Linux installation process

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.