« Gentoo sur Frozenkiwi » : différence entre les versions

De FrozenWiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
Ligne 12 : Ligne 12 :


Apache should now start in seconds.
Apache should now start in seconds.
== Installer RavenCore ==
* Télécharger le package RPM sur [http://sourceforge.net/project/showfiles.php?group_id=115121&package_id=124716&release_id=380743 SourceForge.net]
* Make sure your Gentoo installation has the '''rpm2targz''' package
<pre>
# emerge -vp rpm2targz
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild  R  ] app-arch/rpm2targz-9.0-r3  0 kB
Total size of downloads: 0 kB
</pre>
* replace uw-imap by dovecot (TBD...)
* replace proftpf by vsftpd (TBD...)

Version du 4 janvier 2006 à 07:58

Apache 2 slow (re)start

On my Gentoo virtual server, apache was taking up to 3 minutes to startup. The problem is caused by the system having too little entropy to generate random numbers needed for the PID. You can check the value on your machine using

cat /proc/sys/kernel/random/entropy_avail

A value below 20 is quite low. Emerging rng-tools can increase entropy and allow apache to start up more quickly.

emerge rng-tools /etc/init.d/rngd start /etc/init.d/apache2 start

Apache should now start in seconds.

Installer RavenCore

  • Télécharger le package RPM sur SourceForge.net
  • Make sure your Gentoo installation has the rpm2targz package
# emerge -vp rpm2targz

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-arch/rpm2targz-9.0-r3  0 kB

Total size of downloads: 0 kB
  • replace uw-imap by dovecot (TBD...)
  • replace proftpf by vsftpd (TBD...)