Switching from Windows to Linux, the first thing might be to share folders on Linux with Windows. That will enable transferring files easily. In Linux, such operation is not always trivial. On Ubuntu, We need to install the
samba
to share files/folders. Here are the instructions:-
install the
samba
package:
sudo apt-get install samba
-
edit the configure file
/etc/samba/smb.conf
.
-
change information:
security = share
.
-
add new section:
[share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes guest only = yes read only = no writable = True create mask = 0755
-
create directory and change the permission:
sudo mkdir -p /srv/samba/share sudo chown nobody.nogroup /srv/samba/share/
-
restart the samba services to enable the new configuration:
sudo restart smbd sudo restart nmbd
No comments:
Post a Comment