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.
Using basic network commands comes very hand when one needs to debug a networking issue, to fix a problem or to simply try out a couple of things.
This post is in no way an exhaustive list of Linux network-related commands, but tries to include a couple of the most basic ones and explain what they do.
You sometimes need to password protect a folder or an entire account/website from direct access. That’s easily done with the appropriate .htaccess file in the protected folder plus the mandatory .htpasswd file with the correct user and password combination(s).
But what do you do when you want to enable direct access to a subfolder of the protected folder?
The weirdest errors are those occurring on a freshly installed system where you’d expect for everything to simply work (with the default configs). But such new installs rarely work.
Roudcube successfully connects and sends emails through localhost. At the same time, external clients are unable to send emails through SMTP. The issues is…