mdadm is the utility to check and report failures on RAID disks. The usual way this Linux application send its message is a plain old e-mail. In this howto you’ll find the instruction to use an external mail server with mdadm. First, replace sendmail with an external email account. After you’ve configured and tested msmtp you’re ready to configure mdadm. Configure mdadm with the new SMTP Change /etc/mdadm/mdadm.conf to Where: email@example.com is your FROM e-mail, […]
With the General Data Protection Regulation (GDPR) enforced by European Union logs have to be cleaned regularly to delete IP addresses and other information about visitors. This can be interpreted as a way to protect an emerging and discussed right, the right to be forgotten. This new regulation is impacting every automated log system out of there. Since Sentry is a good open source error monitoring software* and it’s widely used, this guide will show […]
To successfully remove Amazon icon appearing on Ubuntu 17, open the Terminal and type the following: Type the root password and Amazon icon will disappear.
I was looking for an easy and good alternative for Windows 7 on a laptop used as a media station to watch Netflix and Crunchyroll and I choose Elementary OS. This GNU/Linux distribution is based on Ubuntu and it’s relatively easy to install. Anyway, it needs some steps to work great as media station. Here we go: Make AppCenter Work Click on Applications on the top left corner of the screen Click on Terminal On […]
Here how you can get free SSL cerificates using Let’s Encrypt. Forget about the expire of certificates using the auto-renewal script. A complete reference to install a Let’s Encrypt certificate is this Digital Ocean’s howto. Here there’s a quick guide based on it, plus some additional suggestions. Here we go! The following code download the script and make it executable. (1) Logout and login again to make the certbot-auto script available as a command without […]
Here you can find some useful application to look for big files on disk for Windows and Linux. These disk tools are all free software, and very useful to find big files on disk and free disk space. On Windows: WinDirStat Download and install WinDirStat Run WinDirStat on your disks (it will take time) You’ll see a coloured map of file occupation by file type On Linux command line: ncdu On Ubuntu / Debian apt-get […]
I got a Raspberry Pi Model B. It’s cheap and I want to do some experiments for fun. Experiment #1: I have a 1T external HDD (FAT) and I want to turn Raspberry into a very basic NAS. I used: 1 External USB HDD (with external power supply) 1 ethernet cable CAT. 5 (10/100) or better 1 HDMI cable and monitor / tv 1 smartphone microusb battery charger 1 SDHC (for the OS) Raspbian “wheezy” […]
Download Chrome for Linux (64 bit .deb package) Install the package On shell type: $ sudo bash If you don’t have wget installed: # apt-get install wget # cd /opt/google/chrome/ # mkdir plugins Get the latest experimental Flash Player “Square” on http://labs.adobe.com/technologies/flashplayer10/square/ and then put it on Chrome plugins folder e.g. Close and restart Chrome: now Flash 10 is working. See also: Comment on Getting flash to Work …
Solving the wrong socket problem with MySQL MySQLi on Drupal.