Introduction to samba in linux

Source: Internet
Author: User
Today, we installed a real linux host (redhat. The ftp and ssh services have been installed, but it seems that you still need a Windows software that can share folders with linux samba. Fortunately, when installing linux, we started using smaba, if not, we can mention it in iso...

 

Today I installed a real linux host (red hat. The ftp and ssh services have been installed, but it seems that you still need a Windows software that can share folders with linux samba. Fortunately, when installing linux, we started using smaba, if not, we can extract the rpm package from iso for installation.

 

References:

Http://wenku.baidu.com/view/980d52eb6294dd88d0d26bda.html

 

1. check whether smaba is installed.

(1) run the command: rpm-qa | grep samba.

It shows that we have installed it.

Samba-common-3.0.33-3.14.el5

Samba-3.0.33-3.14.el5

Samba-client-3.0.33-3.14.el5

System-config-samba-1.2.41-5.el5

(2) or we can use the graphic interface. It indicates that we have not only installed smaba for the server service.

 

 

2. check whether smaba is started.

 

(1) command

 

Ps-fe | grep smb

Display:

Root 2363 1 0 00:12? 00:00:00 smbd-D

Root 2397 2363 0? 00:00:00 smbd-D

Root 3168 2363 0? 00:00:00 smbd-D

JJ 3178 2834 0 00:00:00 pts/2 grep smb

 

It indicates that samba is already started,

 

(2) graphic interface. Open Service

 

 

 

Check whether the following smb service is started when it is started.

We can see that it is not started. We hook it up and start it when it is started. of course we can also start it now.

 

4. there are two ways to edit the smaba configuration. one is to edit the samba configuration file in plain text, and the other is to use a graphical interface. The other is to use a graphical interface.

(1) Choose system> administration> server settings> samba.

 

 

(2) add a shared directory that is readable and writable.

 

 

(3) add users

 

(4)

User editing

 

(5) assign a user to the shared directory

 

 

(6) window access, enter the user name and password

 

OK. copy the two images to the shared folder, which can be accessed by xmanager. This means they can be truly shared. Successful

 

From http://envy2002.iteye.com

Related Article

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.