Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create a directory in UbuntuSamba

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

UbuntuSamba how to create a directory, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

one。 Installation of Ubuntu samba

Sudo apt-get insall samba

Sudo apt-get install smbfs

two。 Create a shared directory

Mkdir / home/phinecos/share

Sodu chmod 777 / home/phinecos/share

three。 Create a Ubuntu Samba profile

1. Save the existing configuration file sudo cp / etc/samba/smb.conf / etc/samba/smb.conf.bak

two。 Modify the current configuration file sudo gedit / etc/samba/smb.conf

Add at the end of smb.conf

[share]

Path = / home/phinecos/share

Available = yes

Browsealbe = yes

Public = yes

Writable = yes

four。 Create a Ubuntu Samba account

Sudo touch / etc/samba/smbpasswd

Sudo smbpasswd-a phinecos

Then you will be asked to enter the password for your samba account

If there is no step 4, you will be prompted session setup failed: NT_STATUS_LOGON_FAILURE when you log in]

five。 Restart the Ubuntu Samba server

Sudo / etc/init.d/samba restart

six。 Ubuntu Samba test

Smbclient-L / / localhost/share

VII. Use of Ubuntu Samba

You can enter ip under windows. Enter "\" + "ip of the Ubuntu machine or hostname" + "share" in the folder.

After reading the above, have you mastered the method of how to create a directory in UbuntuSamba? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report