当前位置:网站首页>2020-11-8

2020-11-8

2020-11-10 14:28:28 osc_k12h8kbw

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 file system :

vim /etc/exports

/nfs *(rw.sync,root_squash)

exportfs -a

Or use the following operations :
(
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 Auto mount 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


Domain name resolution :

yum install bind-chroot

vim /etc/named.conf

Positive and negative analysis

版权声明
本文为[osc_k12h8kbw]所创,转载请带上原文链接,感谢