Mundarija:

Raspberry Pi Samba mahalliy fayl serveri: 5 qadam
Raspberry Pi Samba mahalliy fayl serveri: 5 qadam

Video: Raspberry Pi Samba mahalliy fayl serveri: 5 qadam

Video: Raspberry Pi Samba mahalliy fayl serveri: 5 qadam
Video: Pi Network File Share to Windows & More | Pi NAS/SMB | Raspberry Pi Guide 2024, Dekabr
Anonim
Raspberry Pi Samba mahalliy fayl serveri
Raspberry Pi Samba mahalliy fayl serveri
Raspberry Pi Samba mahalliy fayl serveri
Raspberry Pi Samba mahalliy fayl serveri

Mahalliy fayl serverini o'rnatish bosqichma -bosqich tartibi

1 -qadam: talablar

- Raspberry pi- 8 Gb SD karta- qattiq disk Opsiyonel- monitor- klaviatura- sichqoncha

2 -qadam: Raspberry Pi OS ni o'rnatish

Raspberry Pi OS ni o'rnatish
Raspberry Pi OS ni o'rnatish
Raspberry Pi OS ni o'rnatish
Raspberry Pi OS ni o'rnatish

1. Raspberry rasmiy veb-saytidan Raspberry pi OS-ni yuklab oling 2. Balena etcherni quyidagi havoladan yuklab oling- https://www.balena.io/etcher/3. Keyin 8 gigabaytli xotira kartasini shaxsiy kompyuter yoki noutbukga joylashtiring. 4. Siz kiritgan SD -kartani tanlang va OS -ni tanlang FLASH -ni bosing

3 -qadam: Raspberry Pi -ni Ssh orqali ulash

Raspberry Pi -ni Ssh orqali ulash
Raspberry Pi -ni Ssh orqali ulash

- Flash tugagandan so'ng, xotira kartasini oching va bo'sh bloknot yarating- "ssh" deb nomlang, kengaytmalarni olib tashlang. Shundan so'ng, malina pi uchun SD-kartani joylashtiring va yuklanishini kuting.- Kompyuter yoki noutbukdan terminalni oching. "Ssh pi@IPADRESS OF PI PI" yozing. Eslatma: Agar sizda monitor bo'lsa, ssh kerak emasligini tekshirish uchun to'g'ridan -to'g'ri ulang.

4 -qadam: Terminal buyruqlarini bajaring

Terminalni oching va quyida buyruqni bajaring etc/fstabHard Drive mountUUID = 0000000000000000/mnt/USB1 avtomatik sozlamalari, foydalanuvchi, nofail 0 2UUID = 0000000000000000/mnt/USB2 avtomatik sozlamalari, foydalanuvchi, nofail 0 2 Eslatma: blkid SAMBA SETUb/sambu/.conf [Filmlar] // Bu papkalarni almashish mumkin = Moviespublic = yeswriteable = yesbrowsable = yespath =/mnt/USB1/Moviescreate mask = 0777direktorlik maskasi = 0777guy ok = yesonly mehmon = yo'q [TV] komment = TVpublic = yeswriteable = yesbrowsable yespath =/mnt/USB2/TVcreate mask = 0777 katalog niqobi = 0777musofiy = ha faqat mehmon = yo'q SAMBA XIZMATLARINI QAYTA SUBDO xizmati smbd qayta ishga tushirish

5 -qadam: Server fayllariga kirish

Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish
Server fayllariga kirish

Mac -ga o'ting ➡️ Serverga ulaning ➡️ O'zingizning IP -manzilingizni oynaga kiriting - Bu kompyuter ➡️ Tarmoqlari

Tavsiya: