Linux study first week; Linux system Configuration Class

Source: Internet
Author: User

Main profiles for Linux users and groups:    /ETC/PASSWD: Users and their attribute information (name, UID, primary group ID, etc.)/etc/group: Group and its attribute information/etc/shadow: User password and its related attributes/ Etc/gshadow: group password and its related properties    time synchronization: 1, ntpdate serverip2   vim/etc/ntp.conf3   add Server ServerIP iburst (ServerIP) sync to the host IP address for CENTOS6 time synchronization 4  server ntpd start5  chkconfig ntpd on #开机自动启动   For Centos7 time synchronization 4  systemctl start ntpd5  systemctl enable NTPD # Boot auto start   centos 7 set static IP address: 1, NMCLI Conn Ection Show (show link if wired\ connection\ 1 and Ens33 perform 2, 3 operations; i.e.                              Remove Wired link and ens33 All) 2, nmcli connection Delete wired\ connection\ 13, nmcli connection Delete ens334, vim/etc/sysconfig/ Network-scripts/ifcfg-eth0 (re-establish a eth0)      device=eth0     bootproto= static     ipaddr=192.168.10.7 (optionally specify static IP address)      prefix=245, NMCLI connection reload (restart service)   Modify the CENTOS7 NIC name: vim/boot/grub2/grub.cfglinux16 and net.ifnames=0 

Linux study first week; Linux system Configuration Class

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.