smaba--smb server:
yum install samba
vim /etc/samba/smb.conf
id linuxprobe
pdbedit -a -u linxprobe
systemctl restart smb
systemctl enable smb
setenforce 0
setenforce 1
getsebool -a |grep smba
socialist -P
yum install cifs-utils
NFS file system:
vim /etc/exports
/nfs *(rw.sync,root_squash)
exportfs -a
Or use the following operation:
(
systemctl restart rpcbind
systemctl enable rpcbind
systemctl restart nfs-server
systemctl enable nfs-server
)
showmount -e 192.168.10.12
Client release service: nfs, nfs3, ipcbind, mountd
vim /etc/fstab:
192.168.10.12:/nfs /nfs_12 nfs defaults 0 0
Autofs automatically mounts the file system:
vim /etc/auto.master
/media /etc/iso.misc
vim /etc/iso.misc
/media/iso -fstype=iso9660,rw :/dev/cdrom
sysemctl restart autofs
systemctl enable autofs
DNS:
yum install bind-chroot
vim /etc/named.conf
Forward and reverse analysis