Amaliy qism :
$ gpg --verify linux-4.20.tar.sign
Namunaviy ko’rinishlar:
gpg: assuming signed data in 'linux-4.20.tar' gpg: Signature made Sun 12 Aug 2018
04:00:28 PM CDT gpg: using RSA key 79BE3E4300411886 gpg: Can't
check signature: No public key
Namunaviy Grub ommaviy kalit “PGP” tarmoq kaliti belgisi i.e RSA ID kalit
79BE3E4300411886
$ gpg --recv-keys 79BE3E4300411886
Chiquvchi qiymatlar
gpg: key 79BE3E4300411886: 7 duplicate signatures removed
gpg: key 79BE3E4300411886: 172 signatures not checked due to missing keys gpg:
/home/vivek/.gnupg/trustdb.gpg: trustdb created
gpg: key 79BE3E4300411886: public key "Linus Torvalds "
imported gpg: no ultimately trusted keys found
gpg: Total number processed: 1 gpg: imported: 1 gpg buyrug’i yordamida
gpg kalitini yana bir ko’rib chiqing. $ gpg --verify linux-4.20.tar.sign Namunaviy
qiymatlar:
gpg: assuming signed data in 'linux-4.20.tar' gpg: Signature made Sun 12 Aug 2018
04:00:28 PM CDT gpg: using RSA key 79BE3E4300411886 gpg: Good
signature from "Linus Torvalds " [unknown] gpg:
aka "Linus Torvalds " [unknown] gpg: WARNING:
This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: ABAF 11C6 5A29 70B1 30AB E3C4 79BE 3E43 0041 1886
Agar siz “yomon belgi” ni “GPG” dan olmasangiz untar arxivdan yechish yoki Linux
kernelga qo’shish buyrug’idan foydalanib, keyingi bosqichga o’tamiz. $ tar xvf linux-
4.20.tar 3-Bosqich.
Linux kernelni imkoniyatlari va drayverlarini sozlash.
Kernelni kompilatsiya qilishni boshlashdan avval, uning xususiyatlari sozlanadi.
Tizimga xos bo’lgan kernel drayverlari aniqlanadi. Vazifa yangi foydalanuvchi uchun
qiyinchilik tug’dirishi mumkin. CP command buyrug’i orqali sozlanuvchi fayl nusxaga
olinishi tavsiya etiladi.
$ cd linux-4.20
$ cp -v /boot/config-$(uname -r) .config
Namunaviy qiymatlar
'/boot/config-4.15.0-30-generic' -> '.config' 4-Bosqich.
Kompilatorlar va boshqa uskunalarni o’rnatish.
GCC kompilatorlari va Linux kernel kompilatoriga o’rnatilgan uskunalarni
rivojlantirish lozim.
Qanday qilib GCCni o’rnatish va Debian/Ubuntu Linux uskunalarni rivojlantirish Apt
command yoki apt –get command bir xil vazifani bajaradi.
$ sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev
“Ubuntu Linux install Gnu GCC compiler and development environment” da ko’plab
ma’lumotlarni ko’rishingiz mumkin.
CentOS/RHEL/Oracle/Scientific Linuxga qay tarzda GCC ni o’rnatish va uskunalarni
rivojlantirish.
Yum command ni o’rnatish
$ sudo yum group install "Development Tools" yoki
$ sudo yum groupinstall "Development Tools"
$ sudo yum install ncurses-devel bison flex elfutils-libelf-devel openssl-devel
Dfn buyrug’ini ishga tushirish
$ sudo dnf group install "Development Tools"
$ sudo dnf ncurses-devel bison flex elfutils-libelf-devel openssl-devel