Category: Linux

  • Redirecting Apache HTTP to HTTPS

    Now that everyone can enjoy and use free SSL certificates from Let’s Encrypt, let’s all encrypt! To forward HTTP requests to secure HTTPS, there are multiple options. If you’re using some kind of panel to edit Apache configuration (like ISPConfig) that does not allow to edit the virtual host for HTTP separate from the virtual…

  • Restore trashed mails from dovecot maildir

    To remove the “T”rashed flag from mails in a maildir, the files need to be renamed. I have also created a script which can be executed in the Maildir, searching for files and renaming the files: https://gist.github.com/mattanja/1367bc04750dd105317f

  • automysqlbackup – Backup databases on server

    The easiest way that I have found for an advanced backup of all databases on a web hosting server was using the automysqlbackup tool. By default the tool creates backups with automatic daily, weekly and monthly rotation. The backup files are being compressed and will be placed into your configured backup folder. Email notifications and a…

  • Groupware options for small companies or organizations

    (tbd – work in progress… Advice welcome…) Over the last weeks and months I’ve had multiple people asking for advice about groupware software. For me that is still kind of an open issue and I’m not sure what the best answer would be. These are the options I know and would consider using at this…

  • Install rails >=1.9.3 on Ubuntu 12.04 (for Redmine) with RVM

    Quick reference on installing specific versions of rails on an “older” version of ubuntu without the need of having all packages in the ubuntu repositories. After doing so, you can continue to install redmine as described in http://www.redmine.org/projects/redmine/wiki/RedmineInstall This will fail if the environment is not set correctly – this helped me a lot: http://stackoverflow.com/questions/12127603/usr-bin-env-ruby-noexec-wrapper-fails-with-no-file-or-directory…

  • Kubuntu/Ubuntu 11.10 fix

    Just a quick note: After updating to Kubuntu 11.10 today, Firefox didn’t startup anymore and the console told me: mattanja@tiger:/opt$ /opt/firefox/firefox bash: /opt/firefox/firefox: No such file or directory Obviously it’s a bug: https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/852101?comments=all The workaround & fix is to reinstall libc6-i386: apt-get install –reinstall libc6-i386