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