Install Samba in Ubuntu and add an account; unzip tusamba account
Install Samba in Ubuntu and add an account: 1. update Source: sudo apt-get update2. install Samba: sudo apt-get install samba samba-common3. create a shared directory and Set permissions 3.1 create a shared directory share in the home directory enter sudo mkdir/home/share 3.2 in the terminal to set the shared directory permissions (read and write permissions) enter sudo chmod 777/home/in the terminal. Modify the smb configuration file. conf4.1 open the configuration file smb. conf: Enter sudo gedit/etc/samba/smb in the terminal. conf4.2 modify the configuration file 1) security = user2) in smb. add the share to the end of the conf file: (samba_share is the name of the externally displayed directory) [samba_share] comment = samba server mashare spacepath =/home/export browseable = yeswritable = yesguest OK = yespublic = yes3) save the File 5. create a resource access user and set the password 5.1 create user sudo useradd smbuser5.2 set the user's login password sudo smbpasswd-a smbuser5.3 restart Samba server sudo service smbd restart6. view the IP address of the current server, access the shared directory 6.1 in Windows to view the Server ip address use ifconfig to view the current server IP6.2 access the shared directory samba_share in Windows: Enter IP/samba_share in the folder