Disable system beep (by blacklisting pcspkr module)

Create a nobeep.conf file in /etc/modprobe.d/ and add the following line (one per module):

blacklist pcspkr