Construction of Embedded Linux development environment (IV.)--samba Server construction

Source: Internet
Author: User

Construction of Embedded Linux development environment (IV.)--samba Server construction
Linux systems: Ubuntu Server 12.04
The installation process is as follows:
1. Installation

sudo apt-get install samba Samba-common

2. Modify the configuration file /etc/samba/smb.conf

[Samba]

Comment = Samba Server

browseable = yes

Path =/home/samba

printable = no

writable = yes

Write list = Apple

Samba configuration file Analysis

/ect/samba/smb.conf

There are several commonalities in configuration parameters.

(1) parameter configuration basically takes "parameter" = "value" way, if the parameter has more than one value, multiple parameters are separated by a space.

(2) When users and groups are used as parameters, the value is set with the @ character before the group name.

(3) by ";" Or "#" begins with a comment line.

(4) The square bracket identifier is indicated as a flag, such as [global] as the globally configured identity.

(5) The shared resource configuration takes precedence when the global configuration conflicts with a shared resource configuration.

(6) The keyword is not sensitive to case.

3. Create a samba Server root directory file

Mkdir-p Samba

Chmod-r 777 Samba

4. Create Samba users

Useradd Apple

Smbpasswd-a Apple

5. Restart Samba server

SUDO/ETC/INIT.D/SMBD restart

6. firewall configuration

Firewall off: UFW disable

Open the Samba port: UFW allow 139;UFW allow 445;

7. Use ofsamba

Windows environments use:

\\192.168.6.210\samba

Enter the Samba user name and password for the setting

Linux environments use:

Mount//192.168.6.210/samba/mountpoint-o username=apple,password=apple123



Description: The Ubuntu 14.04 version of the Samba server was not available after installation, possibly because of samba compatibility issues , I have tested it.


This article from "Endless life, Struggle not only" blog, please be sure to keep this source http://9291927.blog.51cto.com/9281927/1789313

Construction of Embedded Linux development environment (IV.)--samba Server construction

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.