Mundarija:
- 1 -qadam: materiallar
- 2 -qadam: SD -kartani tayyorlang
- 3 -qadam: SD -kartani ajratish
- 4 -qadam: SD -kartani ajratish (davomi)
- 5 -qadam: Fayl tizimini yarating
- 6 -qadam: Distro va yadroni oling
- 7 -qadam: OSni o'rnating
- 8 -qadam: Fstab -ni tahrirlang
- 9 -qadam: Ildiz parolini tiklash
- 10 -qadam: Tarmoq konfiguratsiyasini tahrirlang
- 11 -qadam: Linux qutisini yadroni yangilashga tayyorlang
- 12 -qadam: Boot Parms -ni o'zgartiring
- 13 -qadam: O'rnatish yozuvlarini joylashtiring
Video: Fedorani Sheeva -ga qanday o'rnatish kerak, SD -kartani ulang va oching: 13 qadam
2024 Muallif: John Day | [email protected]. Oxirgi o'zgartirilgan: 2024-01-30 13:29
Men Slashdot -da SheevaPlug -da, keyin esa mashhur mexanikada postni ko'rdim. Bu 2,5W tezlikda ishlaydigan qiziqarli qurilma kabi tuyuldi, muxlislarsiz, qattiq holatda va monitorga ehtiyoj yo'q.
Ko'p yillar davomida men eski CRT monitorini olib yurganman, agar mening Linux qutim qulab tushgan bo'lsa, buning hojati yo'q, chunki unda haqiqiy ketma -ket konsoli o'rnatilgan. Bu ko'rsatmada Fedora (v12) bilan SheevaPlugni qanday ishga tushirish va yuklash haqida batafsil ma'lumot berilgan. SD -kartadan o'chirilgan. Men PlugComputer forumi va FedoraProject Wiki -dan juda yaxshi ma'lumot oldim
1 -qadam: materiallar
Sizga kerak bo'ladi: SheevaPlug Dev Kit (men Global Scale -dan sotib olganman) SD -karta SD -kartani o'qish tizimi SD -kartaga OSni o'rnatish uchun linux qutisi.
2 -qadam: SD -kartani tayyorlang
SD -kartani linux qutisiga qo'shing va ishga tushiring: dmesg | Quyidagi chiqish menga /dev /sdc sifatida o'rnatilganligini ko'rsatadi.
3 -qadam: SD -kartani ajratish
Biz hozir SD -kartani ajratamiz. Fdisk /dev /sdc Mavjud bo'limlarni o'chirib tashlang. d1
4 -qadam: SD -kartani ajratish (davomi)
Yangi bo'lim yarating. caccept defaults Uni bootablea Tasdiqlang p Yangi jadvalni yozing w
5 -qadam: Fayl tizimini yarating
Fayl tizimini yarating. mkfs.ext2 /dev /sdc1
6 -qadam: Distro va yadroni oling
Kernel and Distrowget-ni yuklab oling https://ftp.linux.org.uk/pub/linux/arm/fedora/platforms/sheevaplug/uImage-2.6.30-sheevaplugwget https://ftp.linux.org.uk/pub/ linux/arm/fedora/rootfs/rootfs-f12.tar.bz2
7 -qadam: OSni o'rnating
O'rnatish nuqtasini yaratish mkdir /media /flesh SD -kartani o'rnatish /dev /sdc1 /media /flash fayl tizimini oching -jxf rootfs -f12.tar.bz2 fayl tizimini sd cardcp -r rootfs -f12 /* /media -ga nusxalash. /flesh/Yadroni sd cardcp uImage-2.6.30-sheevaplug/media/flash/boot/ga nusxalash.
8 -qadam: Fstab -ni tahrirlang
SD -kartani ko'rsatish uchun fstab -ni o'zgartirish kerak. Sheevaplug SD -kartani /dev /mmcblk0p X vi /etc /fstab change /root /dev /mmcblk0p1 /ext2 relatime 1 sifatida ko'radi.
9 -qadam: Ildiz parolini tiklash
Parol qanday ildizlarga o'rnatilganligini bilmayman. Shunday qilib, biz uni olib tashlaymiz. vi/media/flash/etc/shadow Parolni o'chirishni o'zgartiring: root: 65946945gkfhkfjghkfghfkngdfshgt843: 14495: 0: 99999: 7::: toroot:: 14495: 0: 99999: 7:::
10 -qadam: Tarmoq konfiguratsiyasini tahrirlang
Tarmoq konfiguratsiyasini tahrir qiling vi/media/flash/etc/sysconfig/network NETWORKING = ha HOSTNAME = YourHostnameHerevi/media/flash/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0 BOOTPROTO = statik ONBOOT = ha NETMASK = 255.255.255.0 IPADDR = 10.0.0.2 GATEWAY = 10.0.0.1 DNS1 = 10.0.0.1 TYPE = Ethernet USERCTL = PEERDNS yo'q = IPV6INIT = NM_CONTROLLED = yo'q SD karta umount /media /fleshni o'chiring SheevaPlug -ga qo'ying.
11 -qadam: Linux qutisini yadroni yangilashga tayyorlang
SheevaPlug SD -kartalarni yuklashi mumkin bo'lgan dasturiy ta'minot bilan birga keladi. Shunday qilib, siz uni TFTP orqali yangilashingiz kerak tftp-serverini o'rnatish tftp-serverini yuklash rasmini oling va uni sheevaplug cd/var/lib/tftpboot/wget https://www.cyrius.com/tmp/ ga yuklang. u-boot.bin-3.4.19 mv u-boot.bin-3.4.19 uboot.bin vi /etc/xinetd.d/tftp "disable = yes" ni "disable = no" ga o'zgartirish ftdi yuklash uchun skriptni qo'shing. SheevaPlug ulanganda haydovchi: vi /etc/udev/rules.d/85-sheevaplug.rules # agar hech qanday haydovchi interfeysga hali da'vo qilmagan bo'lsa, ftdi_sio ACTION == "qo'shish" ni yuklang, SUBSYSTEM == "usb", ENV { DEVTYPE} == "usb_interface", / ATTRS {idVendor} == "9e88", ATTRS {idProduct} == "9e8f", / DRIVER == "", / RUN+= "/sbin/modprobe -b ftdi_sio" # qo'shish VID va PID-ni "ftdi_sio ACTION ==" add ", SUBSYSTEM ==" drayverlar ", / ENV {DEVPATH} =="/bus/usb-serial/drayverlar/ftdi_sio ", / ATTR {tomonidan qo'llab-quvvatlanadigan qurilmalar ro'yxatiga qo'shish. new_id} = "9e88 9e8f" # ixtiyoriy ravishda ACTION == "add", KERNEL == "ttyUSB*", / ATTRS {interface} == "SheevaPlug JTAGKey FT2232D B", / ATTR konsol qurilmasi uchun qulaylik havolasini yarating. S {bInterfaceNumber} == "01", / SYMLINK+= "sheevaplug" *** Sheevaplug -dan ketma -ket kabelni ulang, agar a /dev /ttyUSBx yaratilmagan bo'lsa, Linux tizimini qayta ishga tushiring.
12 -qadam: Boot Parms -ni o'zgartiring
USB kabelini SheevaPlug mini -ulagichiga linux qutisidagi usb portiga ulang. screen /dev /ttyUSBX 115200 Marvell firmware dasturini yangilang >> setenv serverip 192.168.1.2 # TFTP serveringizning IP-manzili Marvell >> setenv ipaddr 192.168.1.200 # IP sheevaplug Marvell >> bubt uboot.bin ** Ogohlantirish ** Agar U- Endiannes booti o'zgaradi (LE-> BE yoki BE-> LE), keyin Env parametrlari bekor qilinishi kerak. Env parametrlari bekor qilinsinmi? (y/n) n Keyin yuklash moslamasini yuklash uchun SD kartani o'rnatish kerak mainlineLinux ha setenv arcNumber 2097 setenv bootargs_console console = ttyS0, 115200 setenv bootargs_root 'rw root =/dev/mmcblk0p1 rootdelay = 10 rootfstype = 10 bootcmd_mmc 'mmcinit; ext2load mmc 0 0x800000 /boot/uImage-2.6.30-sheevaplug 'setenv bootcmd' setenv bootargs $ (bootargs_console) $ (bootargs_root); bootcmd_mmc -ni ishga tushiring; bootm 0x0800000 'saveenv reset U hozir yuklanishi kerak.
13 -qadam: O'rnatish yozuvlarini joylashtiring
Siz asosiy parolni o'zgartirishingiz kerak. IP -jadvallar f12 -ni o'rnatishda to'g'ri yuklanmagan. Kimdir buni tushunmaguncha /etc/hosts.allow va hosts.deny -ni tahrir qiling … Men unda Apache/PHP/DNSmasq/samba/etc ni ishga tushiraman va hech qanday katta natijani sezmayman.
Tavsiya:
Raspbian OS -ni Raspberry Pi -ga NOOBS dasturi va smartfon yordamida qanday o'rnatish kerak: 6 qadam
Raspbian OS -ni Raspberry Pi -ga NOOBS dasturi va smartfon yordamida qanday o'rnatish mumkin: Hammaga salom! Bugun men bu darslikda sizga Raspbian operatsion tizimini Raspberry Pi -ga NOOBS dasturi va smartfon yordamida qanday oson o'rnatilishini ko'rsataman
Zavodda stereo o'rnatilgan mashinaga sotuvdan keyingi subwooferni qanday o'rnatish kerak: 8 qadam
Zavod stereo bilan mashinangizga sotuvdan keyingi subwooferni qanday o'rnatish mumkin: Ushbu ko'rsatmalar yordamida siz zavod stereoli deyarli har qanday mashinaga sotuvdan keyingi subwooferni o'rnatishingiz mumkin bo'ladi
Linux yuklash diskini qanday yaratish kerak (va undan qanday foydalanish kerak): 10 qadam
Linux yuklash diskini qanday yaratish kerak (va undan qanday foydalanish kerak): Bu Linux, xususan Ubuntu -dan qanday boshlash haqida oddiy kirish
ARDUINO NANO/MINI QANDAY QILISH KERAK - Bootloader -ni qanday yoqish kerak: 5 qadam
ARDUINO NANO/MINI QANDAY QILISH KERAK | Bootloader -ni qanday yoqish kerak: Men sizga ko'rsatma beraman, Scratch -dan Arduino MINI -ni qanday yasashni ko'rsataman, bu ko'rsatmada yozilgan protsedura yordamida siz o'zingizning loyihangiz talablariga mos keladigan har qanday arduino taxtasini yasashingiz mumkin
Pardus -ni har qanday kompyuterga qanday o'rnatish kerak: 9 qadam
Pardus -ni har qanday kompyuterga qanday o'rnatish kerak: bu mening fav -ni o'rnatish bo'yicha qo'llanma. linux distro, Pardus. Agar kimdir bundan foydalansa va qo'shadigan narsasi bo'lsa, menga ayting va men sizni hamkasblar ro'yxatiga qo'shaman, shuningdek, har qanday fikr -mulohazani qadrlayman, chunki bu men yozganman deb o'ylagan birinchi kitobim