This one had me scratching my head for a while – using php7.0-fpm and the latest nginx on Debian 8 Jessie I was seeing our PHP contact form working correctly but returning a Gateway 504 error upon submission, which was resulting in a great deal of resubmitted forms and error notifications from users. This…
So, after a few failed attempts at installing the Aegir 3 Drupal control system we hit upon this “recipe” as what works for us currently on a fresh install of Debian 8 Jessie or Ubuntu 14.04. This assumes you are logged in as root. First, update and upgrade your system. apt-get update && apt-get upgrade…
Shellshock is quite a serious security hole found a couple of days ago in Bash; to check whether your Debian server is vulnerable run the following in a terminal: env VAR='() { :;}; echo Shellshock vulnerable!‘ bash -c “echo Bash Testing” If your system is vulnerable, you will see: Shellshock vulnerable! Bash testing If it…
Forgotten what it was you last updated, or want to check what someone else has been updating? There’s a log file for that, and it’s located at: /var/log/apt/history.log To view it, run: less /var/log/apt/history.log Looking for an older logfile? They’re kept, too. To see the other log files available, view the…
If you have a lot of virtual (or real) machines running Debian or Ubuntu and a limited internet connection, it can make a lot of sense to use apt-cacher-ng to create a local cache of the packages you use so that they are only downloaded once. The current version of apt-cacher-ng can also help…
If you’re looking to add something to the /etc/sudoers file in a Debian Wheezy install, you may find that the file isn’t there! To create the file while logged in as the root user you need to install the sudo package: apt-get install sudo Once that install completes the file will appear:…
If you have installed samba/cifs-utils/etc. and are trying to set your users up on a Debian 7 system, you might be surprised to find that the smbpasswd command seems to be missing. It’s actually part of the samba-common-bin package, which you can install via: sudo apt-get install samba-common-bin …and you should have…
This one is straight-forward – if you’re used to Debian and are in a CentOS system looking for /var/log/auth.log you’ll find it in: /var/log/secure Short and sweet!
One thing that’s come up occasionally with our testing of the Pi so far has been that some distributions pick up on odd keyboard maps by default, particularly with Apple keyboards – to fix this on one of the Debian distros and get back your missing pipe (|) or backslash (\) characters run: # dpkg-reconfigure…