« Gentoo sur Frozenkiwi » : différence entre les versions
Aller à la navigation
Aller à la recherche
Ligne 29 : | Ligne 29 : | ||
* replace uw-imap by dovecot (TBD...) | * replace uw-imap by dovecot (TBD...) | ||
* replace proftpf by vsftpd (TBD...) | * replace proftpf by vsftpd (TBD...) | ||
== Gestion des certificats serveur et clients == | |||
openssl req -new -x509 -nodes -out /tmp/public.pem -keyout /tmp/private.pem -days 3650 | |||
cp /tmp/public.pem /usr/share/ssl/certs/dovecot.pem | |||
cp /tmp/private.pem /usr/share/ssl/private/dovecot.pem |
Version du 4 janvier 2006 à 22:44
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...)
Gestion des certificats serveur et clients
openssl req -new -x509 -nodes -out /tmp/public.pem -keyout /tmp/private.pem -days 3650 cp /tmp/public.pem /usr/share/ssl/certs/dovecot.pem cp /tmp/private.pem /usr/share/ssl/private/dovecot.pem