Entropy on linux

Introduction
How to check entropy level:

[codesyntax lang="bash"]

watch -n1 cat /proc/sys/kernel/random/entropy_avail

[/codesyntax]

If the value is to low (around 100) install haveged daemon

How to install haveged on Linux

Debian
[codesyntax lang="bash"]

 apt-get install haveged

[/codesyntax]

CentOS
haveged daemon is available for CentOS via EPEL repository.
First, we download and import the GPG keys for EPEL software packages:

[codesyntax lang="bash"]

wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
rpm --import RPM-GPG-KEY-EPEL-6
rm -f RPM-GPG-KEY-EPEL-6

[/codesyntax]

Download EPEL repository for 32-bit CentOS
[codesyntax lang="bash"]

 wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

[/codesyntax]
Install EPEL repository on 32-bit CentOS
[codesyntax lang="bash"]

 rpm -ivh epel-release-6-7.noarch.rpm

[/codesyntax]
You can start install and use EPEL the repository to install the software packages, input yum command like follows:
[codesyntax lang="bash"]

 yum --enablerepo=epel install haveged

[/codesyntax]

Scrie si tu o vorbulita


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.