N
N
nepster-web2014-04-16 00:12:52
Computer networks
nepster-web, 2014-04-16 00:12:52

How to make a network folder on centOS ?

I installed centOS on my laptop to study Unix systems, and, in fact, there was a need to exchange files with Windows.
I want to set up a network folder for these purposes. I couldn't do it on both sides. On Windows, I have a network folder, but centos does not see it.
Next, I tried to make a network folder on centos:

yum install samba -y
mkdir /home/share
 chmod 777 /home/share
 chown nepster:nepster /home/share


    [global]
    workgroup = WORKGROUP
    server string = my share
    security = SHARE
    guest account = user
    [homeshare]
    path = /home/share
    guest ok = Yes
    guest only = Yes
    writeable = Yes

рестарт

Now a little more:
I have a router, the main one is not on the PC (Windows), but on the laptop there is Wi-Fi.
Honestly, I don’t understand networks well, but I think the domain of my network is nepster-web (\\nepster-web is exactly how I went to network folders when there were 2 Windows).
And so, the Windows in this business sees only the network folder.
Actually, tell me, please, how can I create a network folder on centos so that Windows can see it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bogdan Odarchenko, 2014-04-16
@Neko3

[global]
workgroup = WORKGROUP
guest ok = yes
netbios name = CentPC
security = share
browseable = yes

[www]
path = /home/share
writeable = yes
browseable = yes

We save. Restarting Samba
By the way! It is much more convenient to manage the sharing of files and folders using the SWAT program, which provides a web interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question