Change the Arduino compiler output folder to /dev/shm.

  1. Close the Arduino IDE. (Otherwise your edits will be overwritten)
  2. Open preferences.txt. (Found in the folder ~/.arduino15 on Linux Mint)
  3. Add a new value build.path that points to your preferred folder:
  4. Save preferences.txt.
  5. Restart the IDE. Compiler output is now saved in the folder you just added.
    Remember that dev/shm is gone after a reboot!

Add password to Apache2 directory.

Put something like this in your sitename.conf:

<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot "/mnt/music"

<Directory "/mnt/music">
  Allow from all
  AuthUserFile /var/www/
  AuthType Basic
  AuthName "muziek"
  Require valid-user

CustomLog "|/usr/bin/rotatelogs /var/www/ 86400" vhost_combined env=!dontlog
ErrorLog "|/usr/bin/rotatelogs /var/www/ 86400"



Use htpasswd -c /var/www/ $USERNAME to create the .wachtwoord file.