For example, E: \ luenceIndex file sharing can be performed as follows:
1. Set luenceIndex to a shared file, object: Everyone, permission: full control, change, read/write
2. Access the luenceIndex shared file on another machine, enter \ 192.168.2.188 \ luenceIndex in the browser, and enter the user name and password. If the sharing settings are successful, the content in the luenceIndex file is displayed.
3. Enter the following command on the CentOS console:
Mount-o user = 'admin', password = '000000! @ # Abc '// 192.168.2.188/luenceIndex/home/luenceIndex
When you access the luenceIndex folder later, you can directly access/home/luenceIndex in the CentOS system, so you don't have to worry about accessing windows.
Note:
User = 'admin'-> windows user Name
Password = '000000'-> password for windows
// 192.168.2.188/testIndex-> windows Shared Folder
/Home/luenceIndex-> CentOS system mount location
Note: user = ''and password ='' cannot contain spaces between commas.