mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
3077c399e3
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21972 af4574ff-66df-0310-9fd7-8a98e5e911e0
181 lines
5.1 KiB
XML
181 lines
5.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY haveged-download-http "&sourceforge-dl;/haveged/haveged-&haveged-version;.tar.gz">
|
|
<!ENTITY haveged-download-ftp " ">
|
|
<!ENTITY haveged-md5sum "fb1d8b3dcbb9d06b30eccd8aa500fd31">
|
|
<!ENTITY haveged-size "484 KB">
|
|
<!ENTITY haveged-buildsize "20 MB (with tests)">
|
|
<!ENTITY haveged-time "0.1 SBU (with tests)">
|
|
]>
|
|
|
|
<sect1 id="haveged" xreflabel="Haveged-&haveged-version;">
|
|
<?dbhtml filename="haveged.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Haveged-&haveged-version;</title>
|
|
|
|
<indexterm zone="haveged">
|
|
<primary sortas="a-Haveged">Haveged</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Haveged</title>
|
|
|
|
<para>
|
|
The <application>Haveged</application> package contains a daemon
|
|
that generates an unpredictable stream of random numbers
|
|
and feeds the /dev/random device.
|
|
</para>
|
|
|
|
&lfs90_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&haveged-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&haveged-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &haveged-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &haveged-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &haveged-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &haveged-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/haveged"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Haveged</title>
|
|
|
|
<para>Install <application>Haveged</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>make check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
mkdir -pv /usr/share/doc/haveged-&haveged-version; &&
|
|
cp -v README /usr/share/doc/haveged-&haveged-version;</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring haveged</title>
|
|
|
|
<sect3 id="haveged-init">
|
|
<title><phrase revision="sysv">Boot Script</phrase>
|
|
<phrase revision="systemd">Systemd Unit</phrase></title>
|
|
|
|
<para revision="sysv">
|
|
If you want the <application>Haveged</application> daemon to
|
|
start automatically when the system is booted, install the
|
|
<filename>/etc/rc.d/init.d/haveged</filename> init script included
|
|
in the <xref linkend="bootscripts"/> package (as the
|
|
<systemitem class="username">root</systemitem> user):
|
|
</para>
|
|
|
|
<para revision="systemd">
|
|
If you want the <application>Haveged</application> daemon to
|
|
start automatically when the system is booted, install the
|
|
<filename>haveged.service</filename> unit included in the
|
|
<xref linkend="systemd-units"/> package (as the
|
|
<systemitem class="username">root</systemitem> user):
|
|
</para>
|
|
|
|
<indexterm zone="haveged haveged-init">
|
|
<primary sortas="f-haveged">haveged</primary>
|
|
</indexterm>
|
|
|
|
<screen role="root"><userinput>make install-haveged</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
haveged
|
|
</seg>
|
|
<seg>
|
|
libhavege.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/haveged
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="haveged-prog">
|
|
<term><command>haveged</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a daemon that generates an unpredictable stream of random
|
|
numbers harvested from the indirect effects of hardware events
|
|
based on hidden processor states (caches, branch predictors, memory
|
|
translation tables, etc).
|
|
</para>
|
|
<indexterm zone="haveged haveged-prog">
|
|
<primary sortas="b-haveged-prog">haveged</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|