Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Fedora Cores

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install Fedora Cores, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

How to install Dazuko on Fedora Cores

1) make sure that the Fedora Cores you installed is *.

Make sure you have the relevant files for making the new kernel RPM package: rpm-build redhat-rpm-config gcc. You can view it by running the yum command, such as:

# yum update # yum install rpm-build redhat-rpm-config gcc needs to be installed in Fedora Core: cpp glibc-devel glibc-headers glibc-kernheaders.

2) upgrade from * * upgrade server to * to get the RPM package

(e.g. Http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/kernel-2.6.11-1.14_FC3.src.rpm):

# wget http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/kernel-2.6.11-1.14_FC3.src.rpm

Install to / usr/src/redhat # rpm-ihv kernel-2.6.11-1.14_FC3.src.rpm

3) Edit in the / usr/src/redhat/SOURCES/ folder, which contains your computer hardware configuration information

(for example. "kernel-2.6.11-i686.config" for a machine with a single 686-class processor. Set up the security configuration with the following command.

For example, change CONFIG_SECURITY_CAPABILITIES=y to: CONFIG_SECURITY_CAPABILITIES=m

4) moreover, you try to avoid selecting both uniprocessor and smp at compile time to save space and shorten compilation time

Edit / usr/src/redhat/SPECS/kernel-2.6. Change "buildsmp" or "buildup" to "0" (choose only one). To turn off debugging, you must add the following command to the appropriate location of the file:% define debug_package% {nil}% define _ unpackaged_files_terminate_build 0 if you need to modify the package name of the RPM package, such as on Fedora Core 3, the modification method is as follows: change the file name rhbsys

% if% {FC3}% define release% (R = "$Revision: 1.14 $"; RR= "${Revision:}"; echo ${RR%%?}) _ FC3% {rhbsys}% endif

This becomes dazuko:%if% {FC3}% define release% (R = "$Revision: 1.14 $"; RR= "${RR%%?:}"; echo ${RR%%?}) _ FC3_dazuko%endif

5) use the rupbuild command to package your processor to generate a new core (such as i686 processor) as follows:

# rpmbuild-bb-- target=i686 / usr/src/redhat/SPECS/kernel-2.6.spec

This command will generate a new kernel RPM file, located in / usr/src/redhat/RPMS/i686.

6) install the new kernel from / usr/src/redhat/RPMS/ and use the command "rpm-ihv" to inject the new kernel into the / boot folder and / lib/modules folder # rpm-ihv / usr/src/redhat/RPMS/i686/kernel-2.6.11-1.14_FC3_dazuko.i686.rpm. If you do not follow the four steps above, the name of the RPM package may be different. If so, the newly compiled kernel can also be added to the directory list of the system boot manager using the "rpm-ihv" command. If you are using custom startup management, Fedora Cores please refer to the system help documentation for instructions on booting with the new kernel.

7) restart the computer, compile, and install dazuko. The compilation can proceed smoothly. If you have any problems, please refer to Dazuko's help documentation for more information.

Note:

It is strongly recommended that you put dazuko.ko in the "/ lib/modules/2.6.11-1.14_FC3_dazuko/kernel/security/" folder, copy it to this folder, and run the command "depmod-a", and make sure that the capability module is not loaded before "dazuko" is loaded. If you need to create a dazuko device, use the command "mknod": # mknod-m 600 / dev/dazuko c `grep dazuko / proc/devices | sed "s /. * / /" `0

8) install ESET NOD32 Linux File Server version 1) download the installation package installation file from http://www.nod32cn.com/download/download.php is a .bin binary file, such as nod32lfs-2.06-1.i386.rpm.bin, you need to change it to executable as follows: chmod 755 nod32lfs-2.xx-x.i386.rpm.bin agrees to the user agreement and then gets the RPM file. / nod32lfs-2.xx-x.i386.rpm.bin

9) install Fedora Cores to extract the file, then install scan: edit the file / etc/nod32/nod32.cfg, find the line ctl_incl, and add the directory to be scanned to the real-time scan

Start ESET NOD32 to run the command service nod32fac start

Fedora Cores once you restart your computer, the dazuko module may not be loaded, go to / etc/init.d/nod32fac, comment / sbin/modprobe-Q dazuko line, and change the location of the dazuko module if necessary

Update: user name and password run the command / usr/sbin/nod32_update at / etc/nod32/nod32.auth. If you want to check for automatic updates every hour, add it to / etc/cron.hourly.

Thank you for reading this article carefully. I hope the article "how to install Fedora Cores" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report