LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel, selinux , yum question (http://www.linuxquestions.org/questions/linux-newbie-8/kernel-selinux-yum-question-863496/)

mposwal 02-18-2011 04:24 AM

kernel, selinux , yum question
 
1.
which should be command i used to install a kernal either 'rpm -ivh' or 'rpm -Uvh'. means in which case chances of old kernel failure are more.
2.
what sould be name given in the [ ] brackets in this repository using yum.
if this is path 'ftp://server1.example.com/pub/Server'
should i write Server word in [ ] brackets or any word.
3.
when i enforcing selinux using lokkit command, should i put security level enable or disable.
plz help.

NM04 02-18-2011 06:17 AM

mposwal,

can you specify a little bit what exactly you want to do ? are u building a new kernel and planning to replace it with the existing one, or, are you planning to install kernel using yum ?

Regards,
NM04

anuja shridhar 02-18-2011 11:32 AM

for installing kernal without effecting old
#rpm -ivh kernal.....
new will become default you can change that in /etc/grub.conf

FOR YUM
[server](you can write anything here)
name=server
baseurl=ftp://server1.example.com/pub/Server

i dont know about lokkit but for enforcing selinux its
#setenforce 1


All times are GMT -5. The time now is 12:59 PM.