标签:cat 安装 data mct 服务安装 rest system centos7 start
centos7.5系统下进行
yum -y install samba samba-client
systemctl start smb nmb
ps -ef | grep -E ‘smb|nmb‘
netstat -tunlp | grep -E ‘smbd|nmbd‘
mkdir /mnt/data
useradd -s /sbin/nologin mt
cat /etc/passwd | grep mt
smbpasswd -a mt
[输入两遍密码123456]
chown mt.mt /mnt/data
chmod -R 777 /mnt/data
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
vim /etc/samba/smb.conf
systemctl restart smb nmb
标签:cat 安装 data mct 服务安装 rest system centos7 start
原文地址:https://www.cnblogs.com/tcicy/p/10014511.html