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 start samba service, AFP service by raspberry pie

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

Share

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

This article will explain in detail how to start samba service and AFP service for raspberry pie. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Samba service

Installation program

Sudo apt-get updatesudo apt-get install samba samba-common-bin

Compile configuration file

Sudo vim / etc/samba/smb.conf# share name [MyStorage] # describes the information comment = MyStorage # the path to the shared file that can be accessed by users valid users = pi,root #. Raspberry pi will automatically mount the external storage device connected to it to the / media/pi/ directory. Path = / home/pi/ # Resource name (non-content) browseable = yes # writable writable = yes # permissions for new files is 664 create mask = 0664 # permissions for new directories are 775 directory mask = 0775

Test the configuration file for errors

Testparm

Add a Samba login account and create a password. You must be an existing user of linux.

Sudo smbpasswd-a pi

Restart the samba service

Sudo systemctl restart smbdAFP service

Install netatalk. Netatalk is an implementation of the free and open source afp protocol on linux and can also be used as a TimeMachine backup service.

$apt-get install netatalk# set shared folder $vim / etc/netatalk/afp.conf [My AFP Volume] path = / home/pi this article on "Raspberry pie how to start samba service, AFP service" ends here. I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

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

Internet Technology

Wechat

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

12
Report