标签:systemctl cdrom misc nfs文件系统 自动 conf mct vim media
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
setsebool -P
yum install cifs-utils
NFS文件系统:
vim /etc/exports
/nfs *(rw.sync,root_squash)
exportfs -a
或者用以下操作:
(
systemctl restart rpcbind
systemctl enable rpcbind
systemctl restart nfs-server
systemctl enable nfs-server
)
showmount -e 192.168.10.12
客户端放行服务:nfs ,nfs3 ,ipcbind,mountd
vim /etc/fstab:
192.168.10.12:/nfs /nfs_12 nfs defaults 0 0
Autofs自动挂载文件系统:
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
域名解析:
yum install bind-chroot
vim /etc/named.conf
正反向解析
标签:systemctl cdrom misc nfs文件系统 自动 conf mct vim media
原文地址:https://blog.51cto.com/12410929/2547931