标签:position level let int mba windows elements style mode
I use ubuntu taking an example.
apt-get install samba
vim this file
vim /etc/samba/smb.conf
[witt-share] # your space-name sharing to others
comment = my sharing space # your comment
path = /home/witt/work/ # the sharing folder path
valid users = witt #this user-name is offering others to login your sharing folder
create mask = 0777
directory mask = 0777
public = yes
writable = yes
available = yes
browseable = yes
sudo smbpasswd -a [your valid users]
sudo smbpasswd -a witt
sudo systemctl restart smbd
sudo smbclient -U [shared username]
apt-get install smbclient
sudo smbclient -U witt //192.168.18.131/work
apt-get install cifs-utils
sudo mount -t cifs -o username=‘[shared-username]‘,password=‘[your password]‘,dir_mode=0777,file_mode=0777 //192.168.18.131/work /mnt/share-work/
Input the following elements on the address box of windows explorer
\\192.168.18.131\work
you can also mount it into your computer as an remote disk.
That all.Thank your reading.
标签:position level let int mba windows elements style mode
原文地址:https://www.cnblogs.com/wittxie/p/10622534.html