SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...              http://www.howtoforge.com/kernel_compilation_suse_p2




                                    Howtos      Forums      News      Search   Contribute   Subscription     FAQForge



         Options For This Howto
           Free Support
           Paid Support




         Navigation
            Howtos
             Linux
               CentOS
               Debian
               Fedora
               Kernel
               Mandriva
               PCLinuxOS
               SuSE
               Ubuntu
              Apache
              Backup
              Control Panels
              DNS
              Desktop
              Email
                Anti-Spam/Virus
                Postfix
                Procmail
                Sendmail
              FTP
              High-Availability
              Lighttpd
              Monitoring
              MySQL
              Programming
                C/C++
                PHP
              Samba
              Security
                Anti-Spam/Virus
              Virtualization
              Other
              FreeBSD
              Commercial
            Mini-Howtos
            Forums
            Contribute
            Subscription
            Login
            Site Map/RSS Feeds



         User login
         Username:

         Password:




1 de 9                                                                                                              02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...          http://www.howtoforge.com/kernel_compilation_suse_p2




            Remember Me?



         Create a new account
         Request new password


         Ads by Google
          Linux Setup
          Linux Tutorial
          Mosix Kernel
          Openmosix 2.6



         Who's online
         There are currently 19 users and 2765 guests online.



         HowtoForge Forums
         How to setup
         getmail to
         download just some
         ...
         Troubleshoot
         network problems
         VLC player -For
         all format media
         file.
         Cronjob problem
         Downloadable
         Vmware Images
         ERROR: Connection
         dropped by IMAP
         server
         Roundcube emails
         In
         Centos-installing
         Courier-IMAP-Authl
         ib,And ...
         GlusterFS write
         issue
         Internet
         acceleration and
         cashing



         News
         DE: Open source professorship at University of Erlangen-Nuremberg
         Firefox most used browser in Germany
         Don't need groupware? Organize your life with Osmo
         SugarCRM Gets a True Open Source Visionary in Larry Augustin
         What Kind Of Bird Are You Booting?
         HD-ready smartphone supports Linux and Android
         Nokia Releases Qt 4.6
         Howto setup Wireless on Chrome OS
         Security in Linux and how to optimise it
         The Phoronix Kernel Test Farm Is Alive

                                                                                                                 more




2 de 9                                                                                                          02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...                                  http://www.howtoforge.com/kernel_compilation_suse_p2




          Recent comments
          100% useful.
          1 hour 7 min ago
          you should also mention that
          1 hour 30 min ago
          Re: Re: Re: Re: Error moving the bind folders/files
          3 hours 27 min ago
          Trouble Intsalling the Kernel.
          6 hours 11 min ago
          Perfect Desktop that is?
          9 hours 7 min ago
          linux desktop
          9 hours 8 min ago
          Please, do not use the word
          9 hours 32 min ago
          I have followed the
          12 hours 51 min ago
          Thanks
          14 hours 23 min ago
          Re: How will I know if a virus is found? and ...
          16 hours 31 min ago



          Newsletter
          Subscribe to
          HowtoForge
          Newsletter
          and stay informed
          about our latest
          HOWTOs and
          projects.




          (To unsubscribe from
          our newsletter, visit
          this link.)




          Syndicate




                                                           HowtoForge Feed for Facebook®
                                           "Facebook" is a registered trademark of Facebook, Inc. All rights reserved.

                                                                                        English |         Deutsch | Site Map/RSS Feeds | Advertise




         gmx.es                                                                                                                         Ads by Google

         You are here:   Home » How To Compile A Kernel - The SuSE Way » How To Compile A Kernel - The SuSE Way - Page 2

         How To Compile A Kernel - The SuSE Way - Page 2



3 de 9                                                                                                                                    02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...                       http://www.howtoforge.com/kernel_compilation_suse_p2




           Do you like HowtoForge? Please consider supporting us by becoming a
           subscriber.
                                                                 Submitted by falko (Contact Author) (Forums) on Sun, 2006-11-19 18:24.
                                                                 ::

                                                                    0       5 Configure The Kernel
                                                                  tweets
                                                                            It's a good idea to use the configuration of your
                                                                   tweet
                                                                            current working kernel as a basis for your new
                                                                 kernel. Therefore we copy the existing configuration to
                                                                 /usr/src/linux:


                                                                 make mrproper
                                                                 cp /boot/config-`uname -r` ./.config


                                                                 Then we run

          atmail.com/mail-server-appliance/      Ads by Google   make menuconfig


           which brings up the kernel configuration menu. Go to Load an Alternate Configuration File and choose
           .config (which contains the configuration of your current working kernel) as the configuration file:




4 de 9                                                                                                                             02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...                  http://www.howtoforge.com/kernel_compilation_suse_p2




           Then browse through the kernel configuration menu and make your choices. Make sure you specify a kernel
           version identification string under General Setup ---> (-default) Local version - append to kernel
           release. The standard string is -default so our kernel rpm package will be named kernel-
           2.6.18.2default-1.i386.rpm. You can leave the string as it is or specify a different one which helps you
           identify the kernel (e.g. -custom or whatever you like).

           I will use the string -default in this tutorial.

           Please note: After you have installed kernel-2.6.18.2default-1.i386.rpm and decide to compile another
           2.6.18.2 kernel, it is important to use a different version string, e.g. -default1, -default2, etc., because
           otherwise you can't install your new kernel because rpm complains that kernel-2.6.18.2default-
           1.i386.rpm is already installed!




5 de 9                                                                                                                    02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...            http://www.howtoforge.com/kernel_compilation_suse_p2




           When you are finished and select Exit, answer the following question (Do you wish to save your new
           kernel configuration?) with Yes:




6 de 9                                                                                                            02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...               http://www.howtoforge.com/kernel_compilation_suse_p2




           6 Build The Kernel
           To build the kernel, simply execute this command:


             make rpm


           Now be patient, the kernel compilation can take some hours, depending on your kernel configuration and your
           processor speed.




           7 Install The New Kernel
           After the successful kernel build, a src.rpm and an rpm package have been created. The src.rpm package can
           be found in the /usr/src/packages/SRPMS/ directory, you can find out about its name by running


             ls -l /usr/src/packages/SRPMS/


           On my system it was called kernel-2.6.18.2default-1.src.rpm.

           The rpm package can be found in /usr/src/packages/RPMS/i386/, /usr/src/packages/RPMS/i586/,
           /usr/src/packages/RPMS/i686/, /usr/src/packages/RPMS/x86_64/, etc., depending on your architecture.
           On my system it was located in /usr/src/packages/RPMS/i386/, and by running


             ls -l /usr/src/packages/RPMS/i386/


           I found out that its name was kernel-2.6.18.2default-1.i386.rpm.

           Now we can install our kernel rpm package like this:


             cd /usr/src/packages/RPMS/i386/
             rpm -ivh kernel-2.6.18.2default-1.i386.rpm


           (You can now even transfer the kernel rpm package to other SuSE systems and install it there exactly the same
           way, which means you don't have to compile the kernel there again.)

           Next we create a ramdisk for our new kernel, because otherwise the system will most likely not boot our new
           kernel:




7 de 9                                                                                                                   02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...                        http://www.howtoforge.com/kernel_compilation_suse_p2



             mkinitrd


           (Actually this command will create new ramdisks for all installed kernels which is fine.)


           previous                                                  up                                                     next
           How To Compile A Kernel - The SuSE Way                              How To Compile A Kernel - The SuSE Way - Page
                                                                                                                                3



                                                     Copyright © 2006 Falko Timme
                                                           All Rights Reserved.

                                            add comment |         view as pdf |      print: this | all page(s) |


          Related Tutorials
            How To Compile A Kernel - The Fedora Way
            How To Compile A Kernel - The Ubuntu Way
            Compile Kernel 2.6 under Debian Sarge
            Debian-Kernel-Compile-Howto (Kernel 2.6)
            Debian-Kernel-Compile-Howto (Kernel 2.4)



                Please do not use the comment function to ask for help! If you need help, please use our forum.
                Comments will be published after administrator approval.




                           Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
                                                         Join the discussion.
                                                      www.seamlessenterprise.com

                                                             IP Convergence
                                               Integrate your wireless and wireline networks.
                                                   Learn how from the experts at Sprint.
                                                       www.seamlessenterprise.com

                                                    Wireless & Wireline Integration
                                           Thoughts, strategies and solutions: join the discussion
                                                       www.seamlessenterprise.com

                                                      Unified Communications 2009
                                                         Join the Discussion. Now.
                                                       www.seamlessenterprise.com

                                      Red Hat Virtual Experience - a free virtual event. Dec. 9th

                                      Trial: IBM Cognos Express Reporting, Analysis & Planning


                                              Free White Papers
                                               The Agile Heartbeat
                                               In this whitepaper I argue that the person most
                                               affected by the introduction ...
                                               Enterprise Authentication: Increasing Security
                                               Without Breaking The Bank
                                               Experts agree that username/password
                                               authentication does not provide enough p...
                                               Partitioning with Oracle Database 11g Release
                                               2
                                               Database partitioning can greatly enhance the
                                               manageability, performance, and...




8 de 9                                                                                                                        02/12/2009 11:45
How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L...                        http://www.howtoforge.com/kernel_compilation_suse_p2


                                                                          More White Papers




                                     Howtos | Mini-Howtos | Forums | News | Search | Contribute | Subscription
                                          Site Map/RSS Feeds | Advertise | Contact | Disclaimer | Imprint

                              Copyright © 2009 HowtoForge - Linux Howtos and Tutorials
                                                All Rights Reserved.




9 de 9                                                                                                                        02/12/2009 11:45

Mais conteúdo relacionado

Mais procurados

Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longer
Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longerBuild moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longer
Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longerLifeng (Aaron) Han
 
FUSE Developing Fillesystems in userspace
FUSE Developing Fillesystems in userspaceFUSE Developing Fillesystems in userspace
FUSE Developing Fillesystems in userspaceelliando dias
 
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronBuild Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronLifeng (Aaron) Han
 
FUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolarisFUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolariselliando dias
 
Getting started with LinuxBoot Firmware on AArch64 Server
Getting started with LinuxBoot Firmware on AArch64 Server Getting started with LinuxBoot Firmware on AArch64 Server
Getting started with LinuxBoot Firmware on AArch64 Server Naohiro Tamura
 
Troubleshooting vm's presen
Troubleshooting vm's presenTroubleshooting vm's presen
Troubleshooting vm's presenkiwimjg
 
Installing and Configuring Domino 10 on CentOS 7
Installing and Configuring Domino 10 on CentOS 7Installing and Configuring Domino 10 on CentOS 7
Installing and Configuring Domino 10 on CentOS 7Devin Olson
 
Domino9on centos6
Domino9on centos6Domino9on centos6
Domino9on centos6a8us
 
Andresen 8 21 02
Andresen 8 21 02Andresen 8 21 02
Andresen 8 21 02FNian
 
Lpreservereurobsd2014
Lpreservereurobsd2014Lpreservereurobsd2014
Lpreservereurobsd2014krispcbsd
 
First fare 2010 website 101 for frc teams
First fare 2010 website 101 for frc teamsFirst fare 2010 website 101 for frc teams
First fare 2010 website 101 for frc teamsOregon FIRST Robotics
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmagDru Lavigne
 
Planning for the Horizontal: Scaling Node.js Applications
Planning for the Horizontal: Scaling Node.js ApplicationsPlanning for the Horizontal: Scaling Node.js Applications
Planning for the Horizontal: Scaling Node.js ApplicationsModulus
 
Writing flexible filesystems in FUSE-Python
Writing flexible filesystems in FUSE-PythonWriting flexible filesystems in FUSE-Python
Writing flexible filesystems in FUSE-PythonAnurag Patel
 

Mais procurados (20)

Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longer
Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longerBuild moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longer
Build moses on ubuntu (64 bit) system in virtubox recorded by aaron _v2longer
 
FUSE Developing Fillesystems in userspace
FUSE Developing Fillesystems in userspaceFUSE Developing Fillesystems in userspace
FUSE Developing Fillesystems in userspace
 
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronBuild Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
 
FUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolarisFUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolaris
 
Getting started with LinuxBoot Firmware on AArch64 Server
Getting started with LinuxBoot Firmware on AArch64 Server Getting started with LinuxBoot Firmware on AArch64 Server
Getting started with LinuxBoot Firmware on AArch64 Server
 
Troubleshooting vm's presen
Troubleshooting vm's presenTroubleshooting vm's presen
Troubleshooting vm's presen
 
Installing and Configuring Domino 10 on CentOS 7
Installing and Configuring Domino 10 on CentOS 7Installing and Configuring Domino 10 on CentOS 7
Installing and Configuring Domino 10 on CentOS 7
 
Domino9on centos6
Domino9on centos6Domino9on centos6
Domino9on centos6
 
ubunturef
ubunturefubunturef
ubunturef
 
Andresen 8 21 02
Andresen 8 21 02Andresen 8 21 02
Andresen 8 21 02
 
Lpreservereurobsd2014
Lpreservereurobsd2014Lpreservereurobsd2014
Lpreservereurobsd2014
 
First fare 2010 website 101 for frc teams
First fare 2010 website 101 for frc teamsFirst fare 2010 website 101 for frc teams
First fare 2010 website 101 for frc teams
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
Lavigne sept11 bsdmag
Lavigne sept11 bsdmagLavigne sept11 bsdmag
Lavigne sept11 bsdmag
 
Introduction to Ubantu
Introduction to UbantuIntroduction to Ubantu
Introduction to Ubantu
 
Ilf2013
Ilf2013Ilf2013
Ilf2013
 
Planning for the Horizontal: Scaling Node.js Applications
Planning for the Horizontal: Scaling Node.js ApplicationsPlanning for the Horizontal: Scaling Node.js Applications
Planning for the Horizontal: Scaling Node.js Applications
 
Writing flexible filesystems in FUSE-Python
Writing flexible filesystems in FUSE-PythonWriting flexible filesystems in FUSE-Python
Writing flexible filesystems in FUSE-Python
 
PythonFuse (PyCon4)
PythonFuse (PyCon4)PythonFuse (PyCon4)
PythonFuse (PyCon4)
 
Compiling and using u boot for beagle bone
Compiling and using u boot for beagle boneCompiling and using u boot for beagle bone
Compiling and using u boot for beagle bone
 

Destaque

Tibet culture
Tibet cultureTibet culture
Tibet cultureasummers6
 
Btec level 3 ass 3 u4 5 and 62
Btec level 3 ass 3 u4 5 and 62Btec level 3 ass 3 u4 5 and 62
Btec level 3 ass 3 u4 5 and 62Crashin
 
Our Chess Theacher Edward Egorov
Our Chess Theacher Edward EgorovOur Chess Theacher Edward Egorov
Our Chess Theacher Edward Egorovprosvsports
 
Who moved-my-cheese ----- An Amazing Way to Deal With Change In Your Work &...
Who moved-my-cheese  -----  An Amazing Way to Deal With Change In Your Work &...Who moved-my-cheese  -----  An Amazing Way to Deal With Change In Your Work &...
Who moved-my-cheese ----- An Amazing Way to Deal With Change In Your Work &...Prakash Chavali
 
大江大海1949
大江大海1949大江大海1949
大江大海1949Yan Chen
 
Magazine Photoshoot
Magazine PhotoshootMagazine Photoshoot
Magazine Photoshoot08payali
 
Evaluation final
Evaluation finalEvaluation final
Evaluation finalwillsutton8
 
Edit decision list
Edit decision list Edit decision list
Edit decision list amberbush
 
Evaluation tasks as media studies 2015
Evaluation tasks as media studies 2015Evaluation tasks as media studies 2015
Evaluation tasks as media studies 2015joshwarburton800
 
Sametime Unified Telephony Powered By Sprint
Sametime Unified Telephony Powered By SprintSametime Unified Telephony Powered By Sprint
Sametime Unified Telephony Powered By SprintIBM
 
Fire Brochure 2015 FESTIVAL -project
Fire Brochure 2015 FESTIVAL -projectFire Brochure 2015 FESTIVAL -project
Fire Brochure 2015 FESTIVAL -projectDiMPro Consulting
 
Certus Mobile Presentation
Certus Mobile PresentationCertus Mobile Presentation
Certus Mobile PresentationCertus_Solutions
 

Destaque (15)

Tibet culture
Tibet cultureTibet culture
Tibet culture
 
Btec level 3 ass 3 u4 5 and 62
Btec level 3 ass 3 u4 5 and 62Btec level 3 ass 3 u4 5 and 62
Btec level 3 ass 3 u4 5 and 62
 
Our Chess Theacher Edward Egorov
Our Chess Theacher Edward EgorovOur Chess Theacher Edward Egorov
Our Chess Theacher Edward Egorov
 
Who moved-my-cheese ----- An Amazing Way to Deal With Change In Your Work &...
Who moved-my-cheese  -----  An Amazing Way to Deal With Change In Your Work &...Who moved-my-cheese  -----  An Amazing Way to Deal With Change In Your Work &...
Who moved-my-cheese ----- An Amazing Way to Deal With Change In Your Work &...
 
大江大海1949
大江大海1949大江大海1949
大江大海1949
 
Estrategias del marketin 2013
Estrategias del marketin 2013Estrategias del marketin 2013
Estrategias del marketin 2013
 
Magazine Photoshoot
Magazine PhotoshootMagazine Photoshoot
Magazine Photoshoot
 
Evaluation final
Evaluation finalEvaluation final
Evaluation final
 
Edit decision list
Edit decision list Edit decision list
Edit decision list
 
Evaluation tasks as media studies 2015
Evaluation tasks as media studies 2015Evaluation tasks as media studies 2015
Evaluation tasks as media studies 2015
 
Sametime Unified Telephony Powered By Sprint
Sametime Unified Telephony Powered By SprintSametime Unified Telephony Powered By Sprint
Sametime Unified Telephony Powered By Sprint
 
ladi CV
ladi CVladi CV
ladi CV
 
Fire Brochure 2015 FESTIVAL -project
Fire Brochure 2015 FESTIVAL -projectFire Brochure 2015 FESTIVAL -project
Fire Brochure 2015 FESTIVAL -project
 
Digitalmarketing
DigitalmarketingDigitalmarketing
Digitalmarketing
 
Certus Mobile Presentation
Certus Mobile PresentationCertus Mobile Presentation
Certus Mobile Presentation
 

Semelhante a How to compile a kernel suse 2

Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Carlos Eduardo
 
All about linux gaining root remote exploitation
All about linux  gaining root   remote exploitationAll about linux  gaining root   remote exploitation
All about linux gaining root remote exploitationn0rz
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Ata Rehman
 
Project-Builder.org presentation
Project-Builder.org presentationProject-Builder.org presentation
Project-Builder.org presentationBruno Cornec
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório UbuntuCarlos Eduardo
 
BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS
 
Intro To Linux
Intro To LinuxIntro To Linux
Intro To Linuxtechlug
 
Security Walls in Linux Environment: Practice, Experience, and Results
Security Walls in Linux Environment: Practice, Experience, and ResultsSecurity Walls in Linux Environment: Practice, Experience, and Results
Security Walls in Linux Environment: Practice, Experience, and ResultsIgor Beliaiev
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Carlos Eduardo
 
Kernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootKernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootAnne Nicolas
 
Deployment with capifony
Deployment with capifonyDeployment with capifony
Deployment with capifonyJan De Coster
 
Linux Beginner Guide 2014
Linux Beginner Guide 2014Linux Beginner Guide 2014
Linux Beginner Guide 2014Anthony Le Goff
 
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...linuxlab_conf
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Vincent Batts
 
Ubento with own cloud
Ubento with own cloud Ubento with own cloud
Ubento with own cloud schaplinski
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To LinuxZeeshan Rizvi
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Eunice Lin
 

Semelhante a How to compile a kernel suse 2 (20)

Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5Instalando Cacti no CentOS 5
Instalando Cacti no CentOS 5
 
All about linux gaining root remote exploitation
All about linux  gaining root   remote exploitationAll about linux  gaining root   remote exploitation
All about linux gaining root remote exploitation
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
 
Project-Builder.org presentation
Project-Builder.org presentationProject-Builder.org presentation
Project-Builder.org presentation
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório Ubuntu
 
BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installation
 
Intro To Linux
Intro To LinuxIntro To Linux
Intro To Linux
 
Security Walls in Linux Environment: Practice, Experience, and Results
Security Walls in Linux Environment: Practice, Experience, and ResultsSecurity Walls in Linux Environment: Practice, Experience, and Results
Security Walls in Linux Environment: Practice, Experience, and Results
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6
 
Kernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using BuildrootKernel Recipes 2013 - Easy rootfs using Buildroot
Kernel Recipes 2013 - Easy rootfs using Buildroot
 
QEMU in Cross building
QEMU in Cross buildingQEMU in Cross building
QEMU in Cross building
 
Deployment with capifony
Deployment with capifonyDeployment with capifony
Deployment with capifony
 
Linux Beginner Guide 2014
Linux Beginner Guide 2014Linux Beginner Guide 2014
Linux Beginner Guide 2014
 
.ppt
.ppt.ppt
.ppt
 
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]
 
Ubento with own cloud
Ubento with own cloud Ubento with own cloud
Ubento with own cloud
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
Ubuntu初體驗:脫離邪惡微軟帝國吧!_150606
 

Mais de JOSE MANUEL SANCHEZ REQUENA (12)

X creacion de lun
X creacion de lunX creacion de lun
X creacion de lun
 
Error en el tsm debido a falta de espacio en la base de datos
Error en el tsm debido a falta de espacio en la base de datosError en el tsm debido a falta de espacio en la base de datos
Error en el tsm debido a falta de espacio en la base de datos
 
Creacion de lun
Creacion de lunCreacion de lun
Creacion de lun
 
Creacion de maquinas virtuales
Creacion de maquinas virtualesCreacion de maquinas virtuales
Creacion de maquinas virtuales
 
Creacion de lun
Creacion de lunCreacion de lun
Creacion de lun
 
Actualizacion cabinas ds4700
Actualizacion cabinas ds4700Actualizacion cabinas ds4700
Actualizacion cabinas ds4700
 
1.subida de nivel del aix 6
1.subida de nivel del aix 61.subida de nivel del aix 6
1.subida de nivel del aix 6
 
Romper mirro rs y crearlos
Romper mirro rs y crearlosRomper mirro rs y crearlos
Romper mirro rs y crearlos
 
Cluster administration rh
Cluster administration rhCluster administration rh
Cluster administration rh
 
Cluster suse bueno
Cluster suse  buenoCluster suse  bueno
Cluster suse bueno
 
Cganen1 6 c luster
Cganen1 6 c lusterCganen1 6 c luster
Cganen1 6 c luster
 
Curso linux operación
Curso linux operaciónCurso linux operación
Curso linux operación
 

How to compile a kernel suse 2

  • 1. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 Howtos Forums News Search Contribute Subscription FAQForge Options For This Howto Free Support Paid Support Navigation Howtos Linux CentOS Debian Fedora Kernel Mandriva PCLinuxOS SuSE Ubuntu Apache Backup Control Panels DNS Desktop Email Anti-Spam/Virus Postfix Procmail Sendmail FTP High-Availability Lighttpd Monitoring MySQL Programming C/C++ PHP Samba Security Anti-Spam/Virus Virtualization Other FreeBSD Commercial Mini-Howtos Forums Contribute Subscription Login Site Map/RSS Feeds User login Username: Password: 1 de 9 02/12/2009 11:45
  • 2. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 Remember Me? Create a new account Request new password Ads by Google Linux Setup Linux Tutorial Mosix Kernel Openmosix 2.6 Who's online There are currently 19 users and 2765 guests online. HowtoForge Forums How to setup getmail to download just some ... Troubleshoot network problems VLC player -For all format media file. Cronjob problem Downloadable Vmware Images ERROR: Connection dropped by IMAP server Roundcube emails In Centos-installing Courier-IMAP-Authl ib,And ... GlusterFS write issue Internet acceleration and cashing News DE: Open source professorship at University of Erlangen-Nuremberg Firefox most used browser in Germany Don't need groupware? Organize your life with Osmo SugarCRM Gets a True Open Source Visionary in Larry Augustin What Kind Of Bird Are You Booting? HD-ready smartphone supports Linux and Android Nokia Releases Qt 4.6 Howto setup Wireless on Chrome OS Security in Linux and how to optimise it The Phoronix Kernel Test Farm Is Alive more 2 de 9 02/12/2009 11:45
  • 3. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 Recent comments 100% useful. 1 hour 7 min ago you should also mention that 1 hour 30 min ago Re: Re: Re: Re: Error moving the bind folders/files 3 hours 27 min ago Trouble Intsalling the Kernel. 6 hours 11 min ago Perfect Desktop that is? 9 hours 7 min ago linux desktop 9 hours 8 min ago Please, do not use the word 9 hours 32 min ago I have followed the 12 hours 51 min ago Thanks 14 hours 23 min ago Re: How will I know if a virus is found? and ... 16 hours 31 min ago Newsletter Subscribe to HowtoForge Newsletter and stay informed about our latest HOWTOs and projects. (To unsubscribe from our newsletter, visit this link.) Syndicate HowtoForge Feed for Facebook® "Facebook" is a registered trademark of Facebook, Inc. All rights reserved. English | Deutsch | Site Map/RSS Feeds | Advertise gmx.es Ads by Google You are here: Home » How To Compile A Kernel - The SuSE Way » How To Compile A Kernel - The SuSE Way - Page 2 How To Compile A Kernel - The SuSE Way - Page 2 3 de 9 02/12/2009 11:45
  • 4. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 Do you like HowtoForge? Please consider supporting us by becoming a subscriber. Submitted by falko (Contact Author) (Forums) on Sun, 2006-11-19 18:24. :: 0 5 Configure The Kernel tweets It's a good idea to use the configuration of your tweet current working kernel as a basis for your new kernel. Therefore we copy the existing configuration to /usr/src/linux: make mrproper cp /boot/config-`uname -r` ./.config Then we run atmail.com/mail-server-appliance/ Ads by Google make menuconfig which brings up the kernel configuration menu. Go to Load an Alternate Configuration File and choose .config (which contains the configuration of your current working kernel) as the configuration file: 4 de 9 02/12/2009 11:45
  • 5. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 Then browse through the kernel configuration menu and make your choices. Make sure you specify a kernel version identification string under General Setup ---> (-default) Local version - append to kernel release. The standard string is -default so our kernel rpm package will be named kernel- 2.6.18.2default-1.i386.rpm. You can leave the string as it is or specify a different one which helps you identify the kernel (e.g. -custom or whatever you like). I will use the string -default in this tutorial. Please note: After you have installed kernel-2.6.18.2default-1.i386.rpm and decide to compile another 2.6.18.2 kernel, it is important to use a different version string, e.g. -default1, -default2, etc., because otherwise you can't install your new kernel because rpm complains that kernel-2.6.18.2default- 1.i386.rpm is already installed! 5 de 9 02/12/2009 11:45
  • 6. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 When you are finished and select Exit, answer the following question (Do you wish to save your new kernel configuration?) with Yes: 6 de 9 02/12/2009 11:45
  • 7. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 6 Build The Kernel To build the kernel, simply execute this command: make rpm Now be patient, the kernel compilation can take some hours, depending on your kernel configuration and your processor speed. 7 Install The New Kernel After the successful kernel build, a src.rpm and an rpm package have been created. The src.rpm package can be found in the /usr/src/packages/SRPMS/ directory, you can find out about its name by running ls -l /usr/src/packages/SRPMS/ On my system it was called kernel-2.6.18.2default-1.src.rpm. The rpm package can be found in /usr/src/packages/RPMS/i386/, /usr/src/packages/RPMS/i586/, /usr/src/packages/RPMS/i686/, /usr/src/packages/RPMS/x86_64/, etc., depending on your architecture. On my system it was located in /usr/src/packages/RPMS/i386/, and by running ls -l /usr/src/packages/RPMS/i386/ I found out that its name was kernel-2.6.18.2default-1.i386.rpm. Now we can install our kernel rpm package like this: cd /usr/src/packages/RPMS/i386/ rpm -ivh kernel-2.6.18.2default-1.i386.rpm (You can now even transfer the kernel rpm package to other SuSE systems and install it there exactly the same way, which means you don't have to compile the kernel there again.) Next we create a ramdisk for our new kernel, because otherwise the system will most likely not boot our new kernel: 7 de 9 02/12/2009 11:45
  • 8. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 mkinitrd (Actually this command will create new ramdisks for all installed kernels which is fine.) previous up next How To Compile A Kernel - The SuSE Way How To Compile A Kernel - The SuSE Way - Page 3 Copyright © 2006 Falko Timme All Rights Reserved. add comment | view as pdf | print: this | all page(s) | Related Tutorials How To Compile A Kernel - The Fedora Way How To Compile A Kernel - The Ubuntu Way Compile Kernel 2.6 under Debian Sarge Debian-Kernel-Compile-Howto (Kernel 2.6) Debian-Kernel-Compile-Howto (Kernel 2.4) Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval. Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions Join the discussion. www.seamlessenterprise.com IP Convergence Integrate your wireless and wireline networks. Learn how from the experts at Sprint. www.seamlessenterprise.com Wireless & Wireline Integration Thoughts, strategies and solutions: join the discussion www.seamlessenterprise.com Unified Communications 2009 Join the Discussion. Now. www.seamlessenterprise.com Red Hat Virtual Experience - a free virtual event. Dec. 9th Trial: IBM Cognos Express Reporting, Analysis & Planning Free White Papers The Agile Heartbeat In this whitepaper I argue that the person most affected by the introduction ... Enterprise Authentication: Increasing Security Without Breaking The Bank Experts agree that username/password authentication does not provide enough p... Partitioning with Oracle Database 11g Release 2 Database partitioning can greatly enhance the manageability, performance, and... 8 de 9 02/12/2009 11:45
  • 9. How To Compile A Kernel - The SuSE Way - Page 2 | HowtoForge - L... http://www.howtoforge.com/kernel_compilation_suse_p2 More White Papers Howtos | Mini-Howtos | Forums | News | Search | Contribute | Subscription Site Map/RSS Feeds | Advertise | Contact | Disclaimer | Imprint Copyright © 2009 HowtoForge - Linux Howtos and Tutorials All Rights Reserved. 9 de 9 02/12/2009 11:45