Install Samba in Ubuntu and add an account; unzip tusamba account

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.