You’ll need a fairly recent operating system distro (CentOS is too conservative and failed for me, but Ubuntu 16.04 LTS worked fine) and a couple of programs and packages.
By default Apache displays information about itself in the server signature included with reply headers and sometimes auto-generated pages. This information can give away important clues, like the exact version number of a module or Apache itself.
While obscurity never increases security since exploits can be attempted on the service regardless, knowing exact version information and running modules certainly provides a potential hacker with useful clues and eases the task.
I had to look for an alternate VPN system to use when I need to dial back to my home network while on the move to access my media library or when I require a trusted connection or a whitelisted IP.
The next best thing (and least complicated to set up going from PPTP) is IPSec/L2TP, which has built-in support in most current operating systems (including Windows, Linux and Android). Due to its double-encapsulation nature (L2TP performs the tunnelling of data and IPSec provides the encrypted channel), L2TP/IPSec has a more complex setup and configuration procedure, both for the server and the client.
In lack of better or more specialized tools, a disk’s read and write speed can be quickly and roughly tested using Linux’s built-in dd tool.
CentOS is a conservative server operating system, choosing stability over features. Because of this the major versions of PHP it usually includes are several numbers behind the current release.
However, there are plenty of good third party repository out there that provide newer releases for these packages.
There are times when typing the same password over and over again gets cumbersome, or odd instances where typing a password isn’t even possible.
These are the cases where password-less login – also known as public-key authentication – is the solution.
I make the assumption that you’re running PHP 5.3 (the currently newest PHP version officially available in CentOS 6) or perhaps PHP 5.4.
The switch can, theoretically, be done on live system – just prepare yourself for a bit of hiccups here and there (or perhaps even serious downtime).
There are plenty of TVs to chose from and nowadays they all know DVB-C so why go through all the trouble of building a TV player with a Raspberry PI?
Well… because it’s fun and because of the freedom of being able to watch your favourite TV channel on any of your devices – even when away.
Ubuntu (and its derivatives – Xubuntu, Lubuntu, Kubuntu) normally come with hibernation disabled by default, mostly due to possible hardware compatibility issues.
Re-enabling it is not a simple thing to do, despite logic dictating the opposite. Start by testing out whether or not your system is capable of hibernation…
Running out of memory sometimes happens on swap-less VPSes, and it seems Webmin (together with its twin, Virtualmin) are among the first processes to die in out-of-memory cases.
Setting up a little script to check for and restart Webmin if it is no longer running is a pretty simple (workaround) solution – but should never replace the proper procedure of adjusting the settings or upgrading the VPS to avoid running out of memory in the future.
Everything appears normal in the FTP server’s log:
fr01-srv proftpd: 192.168.0.1 – USER testuser: Login successful.
However, in Filezilla things are different:
Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing
This is a very short helping tutorial explaining how to get gammu working with an USB 3G modem (in my case a Huawei K3565) in CentOS to later use in sending out alert messages for critical events.