Cov txheej txheem:

Raspberry Pi Samba Local File Server: 5 Kauj Ruam
Raspberry Pi Samba Local File Server: 5 Kauj Ruam

Video: Raspberry Pi Samba Local File Server: 5 Kauj Ruam

Video: Raspberry Pi Samba Local File Server: 5 Kauj Ruam
Video: Pi Network File Share to Windows & More | Pi NAS/SMB | Raspberry Pi Guide 2024, Hlis ntuj nqeg
Anonim
Raspberry Pi Samba Local File Server
Raspberry Pi Samba Local File Server
Raspberry Pi Samba Local File Server
Raspberry Pi Samba Local File Server

Cov txheej txheem ib kauj ruam rau kev txhim kho cov ntaub ntawv hauv zos

Kauj ruam 1: Yuav tsum tau ua

- Raspberry pi- 8GB SD card- hard diskOptional- monitor- keyboard- mouse

Kauj Ruam 2: Txhim Kho Raspberry Pi OS

Txhim kho Raspberry Pi OS
Txhim kho Raspberry Pi OS
Txhim kho Raspberry Pi OS
Txhim kho Raspberry Pi OS

1. Rub Raspberry pi OS los ntawm Raspberry official lub vev xaib 2. Rub tawm balena lwm yam los ntawm hauv qab no txuas- https://www.balena.io/etcher/3. Tom ntej no ntxig daim npav nco 8GB rau koj lub PC lossis lub laptop 4. Tsuas yog koj tso daim npav SD thiab xaiv OS Nyem rau FLASH

Kauj Ruam 3: Txuas Raspberry Pi Los Ntawm Ssh

Txuas Raspberry Pi Los Ntawm Ssh
Txuas Raspberry Pi Los Ntawm Ssh

- Thaum nyem ua tiav, qhib lub cim xeeb daim npav thiab tsim lub cim xeeb npliag- Lub npe nws "ssh" tshem tawm txuas ntxiv. Tom qab ntawv ntxig daim npav SD rau raspberry pi thiab tos qee lub sijhawm kom khau raj. Ntaus "ssh pi@IPADDRESS OF YOUR PI" Nco tseg: Yog tam sim no koj tau saib xyuas ncaj qha txuas rau saib xyuas tsis xav tau ssh.

Kauj Ruam 4: Ua raws Terminal Cov Lus txib

Qhib lub davhlau ya nyob twg thiab ua raws cov lus txib hauv qab no hloov kho tshiab && sudo hloov kho INSTALL SAMBAsudo apt-get install samba samba-common-binNTFSSudo apt-get install ntfs-3gTO SEE ALL CONNECTED DRIVES MOUNTED OR NOTSudo lsblkFIND DRIVE UUIDSudo blkid DRIVE SETUP YOG TSIS MUAJ etc/fstabHard Drive mountUUID = 0000000000000000/mnt/USB1 pib lub neej ntawd, tus neeg siv, nofail 0 2UUID = 0000000000000000/mnt/USB2 tsis pib, neeg siv, nofail 0 2Note: luam thiab muab UUID tus lej los ntawm blkid SAMBA SETUPsudo nano/etc/samba/smb.conf [Movies] // Qhov no yog cov folders uas peb tuaj yeem qhia tawm = Moviespublic = yeswriteable = yesbrowsable = yespath =/mnt/USB1/Moviescreate mask = 0777directory mask = 0777guest ok = yesonly guest = no [TV] comment = TVpublic = yeswriteable = yesbrowsable = yespath =/mnt/USB2/TVcreate daim npog = 0777directory daim npog = 0777guest ok = yog tus qhua nkaus xwb = tsis yogRESTART SAMBA SERVICES sudo service smbd restart

Kauj ruam 5: Nkag mus rau Cov Ntaub Ntawv Cov Neeg rau zaub mov

Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv
Nkag mus rau Server Cov Ntaub Ntawv

Hauv Mac- Mus ➡️ Txuas rau server Type️ Hom IP chaw nyob ntawm koj tus pi hauv lub qhov rais - PC no ➡️ Networks

Pom zoo: