Sambaをインストール sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get install samba 設定ファイルを更新 sudo vi /etc/samba/smb.conf 設定ファイルの最後に追加 ※共有名や共有パスは任意 [Share] comment = Raspberry Pi path = /home/pi/Public guest ok = yes read only = no browsable = yes force user = pi Sambaを再起動 sudo systemctl restart smbd これで、Windowsからネットワークを確認するとRaspberyPiが見れるはず
![RaspberryPiでWindowsとファイル共有 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/28466798d2302c8f379ff0e1e33b59bb95501377/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9UmFzcGJlcnJ5UGklRTMlODElQTdXaW5kb3dzJUUzJTgxJUE4JUUzJTgzJTk1JUUzJTgyJUExJUUzJTgyJUE0JUUzJTgzJUFCJUU1JTg1JUIxJUU2JTlDJTg5JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz05N2VhM2U2YjQ2N2YyYmViYThmNjhlNGJlYjlhYjU2Mw%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBvcnBoaXJpYSZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9ZDgwY2EyNDg2OWQ0ZGY3Nzc5YWE4MzdlNjA5NmQ0NTA%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D631d0736a39e8a333d65420fdd5f60ad)