vault backup: 2024-01-18 19:38:09

This commit is contained in:
2024-01-18 19:38:09 +08:00
parent 075027d183
commit 728f0f5728
2 changed files with 34 additions and 8 deletions

26
00. Inbox/Linux/smb.md Normal file
View File

@@ -0,0 +1,26 @@
# Connect to SMB folder
## 安裝
```shell
sudo apt-get install cifs-utils
```
## 設定
```shell
sudo apt-get install cifs-utils
# Fill below
username=your_username
password=your_password
sudo mkdir /mnt/sambashare
sudo nano /etc/fstab
# Fill
//samba_server_ip/share_name /mnt/sambashare cifs credentials=/home/pi/.smbcredentials,uid=pi,gid=pi 0 0
sudo systemctl daemon-reload
sudo mount -a
# Check smb folder
```