ファイルサーバのSambaを起動する。
aptでインストール
user@Jetson $ sudo apt-get -y install samba
共有フォルダの作成
user@Jetson $ sudo mkdir /home/share
user@Jetson $ sudo chmod 777 /home/share
Sambaの設定
user@Jetson $ sudo nano /etc/samba/smb.conf
ファイルの内容
# 2行追記
unix charset = UTF-8
dos charset = CP932
# 必要があれば変更 (Windows側に合わせる)
workgroup = WORKGROUP
# 最終行に追記
[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
サーバーの起動および自動起動の設定。
user@Jetson $ sudo systemctl restart smbd
user@Jetson $ sudo systemctl enable smbd