samba/共有しようよ

1名無しさん@Next2ch:2021/01/15(金) 08:12:18.46 ID:iEN4LPAF

[global]
workgroup = MYGROUP
server string = Samba Server
server role = standalone server
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = no
map to guest = Bad User

[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
force create mode = 777
force directory mode = 777

[man]
path = /mnt/nas
writable = yes
guest ok = yes
guest only = yes
force create mode = 777
force directory mode = 777

2名無しさん@Next2ch:2021/01/15(金) 08:14:13.38 ID:iEN4LPAF

[global]
security = user /ユーザー認証
hosts allow = 192.168.10.101 /アクセス指定
map to guest = Bad User /認証不要

設定ファイル場所 /etc/samba/smb.conf
コマンド再起動 systemctl start smb nm

3名無しさん@Next2ch:2021/01/15(金) 09:35:08.71 ID:HltxpU9A

過疎板でしか言えないけどデッドドロップもしてみたい

4名無しさん@Next2ch:2021/02/04(木) 16:59:06.32 ID:3xiRaopr


sudo fdisk -l

cd /mnt/
sudo mkdir disk2
sudo mount -t ext4 /dev/sda1 /mnt/nas
sudo blkid /dev/sda2

設定
/etc/fstab:

5名無しさん@Next2ch:2021/11/21(日) 16:25:23.21 ID:0qE+lXZW

さむば

https://qiita.com/fujiisoup/items/d773c16e476d5aa0e2ca
https://meltingrabbit.com/blog/article/2018010601/
https://bucci.bp7.org/archives/30031/
https://qiita.com/tacbooon/items/90f4c335cb6e94ef46e2


レスを書き込む