Fork me on GitHub

сряда, 23 ноември 2016 г.

Compile and install kernel on CentOs 6.8

How to
 1. yum groupinstall "Development Tools"  
   yum install ncurses-devel  
 2. Download kernel 4.1.1 to /usr/src/  
 3. cd /usr/src/  
 4. tar -Jxvf linux-4.1.1.tar.xz  
 5. cd /usr/src/linux-4.1.1....  
 6. make help       - RECOMMENDED: if you want to see what you can you do!  
 7. make mrproper     - Cleaning and check dependencies  
 8. make menuconfig    - WARNING: This is for advanced users! Make your own setup if you want, and follow the menu to save and exit!  
 9. make bzImage      - compile the bzImage kernel  
 10. make modules     - compile the modules  
 11. make modules_install - install of already compiled modules  
 12. make install     - install of all dependencies to already compiled kernel   
NOTE: You have to modify your grub conf if you use dual boot, and then you can use your new kernel!

Няма коментари:

Публикуване на коментар