yum install samba-client
yum install cifs.utils
yum install samba-common
命令:
mount -v -t cifs //10.0.40.39/tools /mnt/tools/ -o username=administrator,password=Tlg.2016lstech,iocharset=utf8,sec=ntlm
截图:
设置开机自动启动:
Vi /etc/ rc.local
在最后一行添加
Mount -v -t cifs //10.0.40.39/tools /mnt/tools/ -o username=administrator,password=Tlg.2016lstech,iocharset=utf8,sec=ntlm
chmod +x rc.local
原文地址:https://www.cnblogs.com/yujianadu/p/10455027.html
时间: 2024-11-06 13:19:24