Linux 101-200

Source: Internet
Author: User
Tags uuid

103 Linux Important Sub-directory description

/etc/sysconfig/net-scripts/ifcfg-eth0

1) Restart the NIC/etc/init.d/network restart

2) ifdown eth0 && ifup eth0 only for Eth0 NIC, modified via setup network configuration

device=eth0          Physical Device name  eth1 represents the second nic hwaddr=xx: 0c::a6:a6:6d   network card MAC address   48-bit type=Ethernet   Ethernet uuid=a1d78f1f-e337-4366-8600-8b53579f9f95  the network card uniquely identifies the   identity card as onboot=Yes is not on        boot nm_controlled=Yesbootproto=  DHCP      None, boot without using protocol static    assignment address   BOOTP, using the BOOTP protocol,   DHCP using DHCP protocol userctl=Nopeerdns =Yesipv6init=no

Viewing the UUID of a disk device can be viewed using blkid

[Email protected] ~]# blkid/dev/sda3:uuid="bfd0887f-fbd2-474e-a4df-20d051eec917" type="ext4 "/dev/sda1:uuid="244e62b6-2f8a-486a-a620-daa11b3fe4f0   "type="ext4" /dev/sda2:uuid= " 61aa510b-94fb-4c1e-ac14-4a45e6ee6933" type="swap "

Linux 101-200

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.