diff --git a/install.sh b/install.sh index 9b50420b66397032dba2e7feefa15112a41f66df..f176148f2cc392bed2bb0a753fc5769bf2856216 100644 --- a/install.sh +++ b/install.sh @@ -100,3 +100,11 @@ firewall-cmd --reload # Set the system timezone to UTC timedatectl set-timezone UTC + +# Install haveged to stop crypto stuff from hanging so much +# when it depletes /dev/random..! (The bcrypt library on PHP +# has a tendency to do this, which causes the occasional +# gateway timeout when registering / changing user passwords +# on the website. +yum install haveged +systemctl enable haveged