标签:art service har gets samba文件共享 ase isa ide base
1.yum install samba
2.pdbedit -a -u ***(user)
3.mkdir /home/database
4.chown -Rf maps:maps /home/database
5.semanage fcontext -a -tsamba_share_t /home/database
若: semanage: command not found
yum provides /usr/sbin/semanage
yum -y install policycoreutils-python
6.restorecon -Rv /home/database
7.getsebool -a|grep samba
若:getsebool: SELinux is disabled
vi /etc/selinux/config
将SELINUX=disabled 改为SELINUX=enforcing
8.setsebool -P samba_enable_home_dirs on
9.systemctl restart smb
systemctl enable smb
10.iptables -F
11.service iptables save
标签:art service har gets samba文件共享 ase isa ide base
原文地址:https://www.cnblogs.com/yuanqc/p/9571792.html