LINUX Study Notes 4--SMB Server

Source: Internet
Author: User

A) Role: sharing between LINUX and WINDOWS,

 

B) connected networks:

 

1. Select setup, network ,:

 

2. view the network of the Local Computer: Run, cmd, ipconfig

 

3. Disable the computer Firewall

 

4. Configure the linux Network

 

5. Start the network service:/etc/init. d/network restart

 

6. Check whether the network is connected: ping 192.168.1.104 to check whether the network can be connected to other computers. Therefore, the IP address should be the IP address of the computer you want to connect.

 

C) configuration: Modify/etc/samba/smb. conf and add

 

1. [root] www.2cto.com

 

2. comment = Root Directories

 

3. browseable = yes

 

4. writeable = yes

 

5. path =/

 

6. valid users = smb (user name)

 

D) // Add User: Useradd smb // Add smb system user

 

E) Add a user by changing the password: Smbpasswd-a smb // change the password

 

F) Start the smb service every time you start the system:/etc/init. d/smb restart.

 

G) Run \ 192.186.1.106 on the computer to access LINUX shared files:

 

From the column of ainemo

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.