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 install Ubuntu and use samba

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

Share

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

This article mainly shows you "Ubuntu how to install and use samba", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Ubuntu how to install and use samba" this article.

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 an 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 in 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。 test

Smbclient-L / / localhost/share

Seven, use

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

The above is all the contents of the article "how to install and use samba in Ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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