Configure Samba on the ubuntu8.04

Source: Internet
Author: User

Install samba:     preparation under Ubuntu8.04: After installing Ubuntu8.04:              1. Update Source: Sudo apt-get update.         2. Install Vim: apt-get install vim. After the      apt-get update is complete, you can view the updated configuration in/etc/apt/sources.list, and recommend that you  cp /etc before updating /apt/sources.list /etc/apt/sources.list.orig Backup.        Step:        1.         2. Creating a Samba directory:sudo mkdir /home/guoq/share         3. Setting Samba directory Permissions:sudo chmod 777 /home/guoq/share         4.copy samba configuration file: Sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig         5. Modifying the Samba configuration file:vi /etc/samba/smb.conf             [share]                 path=/home/guoq/share                 available=yes                 browsealbe=yes                 public=yes                 writable=yes          6. Create a Samba account:             1> sudo  Touch /etc/samba/smbpasswd             2 > sudo smbpasswd -a guoq                &nBSP; Confirm          7 after typing the password. Restart Samba service:              sudo /etc/init.d/samba restart          8. Test samba:              smbclient -L //localhost/share          9. If you use samba:              under Win7 in the network mapped drive Select a drive letter and enter:\\172.16.1.190\share               You can see what's in the Samba service when you're successful.               The 172.16.1.190 here is the IP of the samba server.      Note:          1. Virtual machines must be in the same network segment as the actual machine. The          2.samba account must be a Linux account, and if it is not a Linux user, you can use the command to add:             1> useradd user1    //Add User1 user name              2> passwd user1      //Set User1 password             3>  mkdir /home/user1    //Build User1 User Directory              4> chown -r user1:user1 //Setting up User1 groups

This article is from the "Smart Life Change" blog, so be sure to keep this source http://restlessheart.blog.51cto.com/3831429/1583154

Configure Samba on the ubuntu8.04

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.