Cov txheej txheem:

Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam

Video: Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam

Video: Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs: 6 Cov Kauj Ruam
Video: Lam nrog kuv caij luv cav-Yeej Xyooj nkauj tawm tshiab 2021 Hãy đi xe máy với anh nhé [MV official] 2024, Kaum ib hlis
Anonim
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs
Ib txwm nyob ntawm Raspberry Pi DLNA Server thiab Torrent Client Nrog Cov Teeb Meem LEDs

Sim ua ib qho rau kuv tus kheej thiab nws ua haujlwm zoo kawg nkaus. Nws muaj peev xwm ntws HD cov yeeb yaj kiab yam tsis muaj kev lag luam thiab cov xwm txheej LEDs muab rau kuv sai li sai tau.

Kuv tau ntxiv cov theem uas kuv tau muab tso ua ke hauv qab no. Thov mus hla nws, yog tias koj xav tsim ib qho.

Sim nws thiab qhia rau kuv paub tias nws mus li cas

Tsim rooj plaub tshiab rau qhov no

Kauj Ruam 1: Ua kom lub zog tawm ntawm USB chaw nres nkoj rau Hard Drive kom Tshawb Pom

Kuv tus Pi tsis pom lub hard drive, nws tsis tau nrawm dua li..

sudo nano /boot /config.txt

ntxig hauv kab hauv qab ntawm cov ntawv

max_usb_current = 1

pom qhov no ntawm no thiab nws ua haujlwm.

Kauj ruam 2: Pib Mount Hard Drive ntawm Boot

  1. Ua ntej tsim qhov taw tes

    sudo mkdir /mnt /disk1

  2. Kuv tsav yog ntfs li

    sudo apt-tau nruab ntfs-3g -y

  3. Tam sim no txuas lub cuab yeej thiab pom yog tias lub cuab yeej tshiab tau qhia hauv qab /dev saib rau qee yam xws li sda1 (qhov no tuaj yeem sib txawv)
  4. Tam sim no Mount lub cuab yeej

    sudo mount -o uid = pi, gid = pi /dev /sda1 /mnt /disk1

  5. Thiab txheeb xyuas koj tuaj yeem nyeem ntawv sau rau tsav los ntawm kev nkag mus rau /mount /disk1
  6. Tam sim no peb yuav tsum nce qhov tsav no txhua lub sijhawm Pi khau raj

    1. Tau txais UUID ntawm kev tsav los ntawm

      • sudo ls -l/dev/disk/by -uuid/| grep sd1 | awk '{print $ 9}' (hloov sda1 rau koj lub npe khoom hauv qab /dev)
      • Tam sim no hloov kho fstab thiab ntxiv kab hauv qab no rau

        • sudo nano /thiab /fstab
        • UUID = "X" /mnt /usbstorage ntfs nofail, uid = pi, gid = pi 0 0 (hloov "X" nrog UUID)
      • Hmoov tsis qhov no tsis ua qhov dag vim yog qee yam yog li kuv googled thiab pom qhov no, uas ua qhov dag

        Yog li kho /boot /cmdline.txt thiab ntxiv rootdelay = 5 rau hauv qab ntawm cov ntawv

Kauj Ruam 3: Kho IP zoo li qub (xaiv tau)

Kuv yuav nkag mus rau Pi nyob deb yog li kho IP yog qhov muaj txiaj ntsig rau kuv

sudo vi/etc/network/interfaces

thiab hloov eth0 rau

iface eth0 inet zoo li qub

chaw nyob 192.168.1.3

netmask 255.255.255.0

network 192.168.1.0

tshaj tawm 192.168.1.255

rooj vag 192.168.1.1

Qhov no yuav txawv rau koj, yog li thov hloov kho kom haum. Thov mus saib nplooj ntawv no kom paub meej ntxiv.

Kauj Ruam 4: Txhim Kho Cov Neeg Siv Torrent Transmission

Txhim Kho Kev Xa Mus Torrent Client
Txhim Kho Kev Xa Mus Torrent Client
  1. nruab tus neeg siv khoom

    sudo apt-tau nruab nruab kis-daemon

  2. Tsim cov ntawv tais ceev tseg rau rub tawm cov ntawv

    • mkdir -p/mnt/disk1/Torrent_inprogress
    • mkdir -p/mnt/disk1/Torrent_complete
  3. Txhawm rau teeb tsa Kev Kis Kuv siv nplooj ntawv no, lawv muaj tus qauv teeb tsa cov ntaub ntawv los pib nrog rau ntau lub teeb tsa xa mus rau nplooj ntawv no.
  4. Tam sim no teeb tsa Kev Xa mus pib nrog Pi

    sudo hloov tshiab-rc.d kis-daemon defaults

Kauj ruam 5: Nruab thiab teeb tsa DLNA Server

  1. Nruab minidlna

    sudo apt-tau nruab minidlna

  2. Config me ntsis

    Kuv siv cov ntawv qhia no los teeb tsa minidlna

  3. Config minidlna kom pib nrog Pi

    sudo hloov tshiab-rc.d minidlna defaults

Pom zoo: