Mount macOS & Windows shares on CentOS
Mount macOS & Windows shares on centOS e.g. in case you need to save backups on a network share.
Step-by-step guide
- For Linux to Windows:
- mount -t cifs -o username=yourusername,password=yourpassword //yourIPAdress/yoursharedfolder /yourfoldertomount
- For Linux to macOS
- sudo yum install cifs-utils
- mount -t cifs //yourIPAddress/yoursharedfolder /yourfoldertomount -o username=yourusername,password=yourpassword,nounix,sec=ntlmssp
Create a folder and share it then replace this value "yourfoldertomount" with the right shared folder name.