当前位置:网站首页>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文件系统:

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

正反向解析

版权声明
本文为[osc_k12h8kbw]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4370809/blog/4711211