Category Archives: Linux (Ubuntu)

How to Block Email from certain TLDs (Top Level Domains) in ISPConfig

Zabihah Halal Vitamins
How to Block Email from certain TLDs (Top Level Domains) in ISPConfig
Spam is an annoyance and there’s a multitude of ways to counteract it. However spammers also get smarter and try to bypass filters and stuff. In addition, ICANN has lately approved a great mean gTLDs (generic Top Level Domains), like .biz, .info etc. Some of those gTLDs are, in my opinion, exclusive used by spammers. Lately, I have gotten a lot of spam from the .xyz gTLD. So the question was, how to block email coming from such domains using that gTLD.

Powered by WPeMatico

How to Install PostgreSQL 9.5 on Ubuntu (12.04 – 15.10)

Zabihah Halal Vitamins
How to Install PostgreSQL 9.5 on Ubuntu (12.04 – 15.10)
This tutorial shows the installation of the latest PostgreSQL 9.5 version on Ubuntu. We will use the official repository from postgresql.org, so you can update your server easily in future and get direct updates and patches from the database vendor. The steps have been tested with Ubuntu versions from 12.04 until 15.10.

Powered by WPeMatico

Linux: How to share files on a local network with woof

Zabihah Halal Vitamins
Linux: How to share files on a local network with woof
We’ve all been in this situation were we want to exchange files with other users connected to the same network as we are, and while there are tons of ways to do this, almost none of them is easy, quick, or simple enough. Thankfully, though, Linux users can utilize a small tool called “woof” that simplifies the process and makes the exchanging of files a walk in the park. What I am about to present in this short tutorial is suitable for home networks where convenience is the primary concern, and security isn’t an issue.

Powered by WPeMatico

Check Internet Speed with speedtest-cli on Ubuntu

Zabihah Halal Vitamins
Check Internet Speed with speedtest-cli on Ubuntu
Internet connection speed is something that we always check at our homes and offices. The most common method that we use is by visiting a speed test website like speedtest.net. On that site, a javascript application is loaded in the web browser which selects the best (nearby) server based on the ping time and then the speed test results for that server are shown. Speedtest.net also uses a flash player to produce the result graphically.

The problem using these web based speed tests is that it does not allow you to schedule the speed test at regular intervals, e.g. as a cronjob and you can’t use them on headless servers. One application that can solve this problem is “speedtest-cli”. This application allows you to check your internet speed using the command line.

Powered by WPeMatico

Docker: How to use it in a practical way

Zabihah Halal Vitamins
Docker: How to use it in a practical way
In the first part, I presented the fundamental ideas behind Docker containers and how exactly they work. In this second part, we will proceed with the installation of Docker and its management as a service in our system. We will prepare our system so that in the next part we can create a personal notepad using the WordPress content management system (CMS) or the Dokuwiki which is a wiki software that doesn’t require a database.

Powered by WPeMatico

An introduction to Linux activity/event trackers

Zabihah Halal Vitamins
An introduction to Linux activity/event trackers
Most modern GNU/Linux distributions use some kind of a software service that tracks the user activities and events. These events can be anything, from the opening of a document file, to the chat conversation. This isn’t happening for the purpose to monitor the user and sell this usage data information to 3rd parties, but to help users enjoy a more user-friendly and unified experience across their applications. For example, if you want to quickly locate that document that you opened last weekend, chances are that you will easily and promptly find it after opening your file manager and going to the “Recent” folder.

Powered by WPeMatico

How to setup virtual containers with LXC and quota support on Debian 8

Zabihah Halal Vitamins
How to setup virtual containers with LXC and quota support on Debian 8
Quota support is an often requested feature in lxc. Linux filesystem quota is required when you want to give multiple users access to a container and want to control that one user is not using all the disk space. Quota is also required for web hosting servers, e.g. with ISPConfig 3, for the same reason: one website shall not be able to fill up the whole disk. This howto shows you, how you can use lxc with hard disk quota using qemu nbd with a qcow image file on Debian 8.

Powered by WPeMatico

How to run a command or script after running apt-get command on a Debian or Ubuntu Linux

How to run a command or script after running apt-get command on a Debian or Ubuntu Linux

How do I run custom command after ‘apt-get upgrade‘ or ‘apt-get dist-upgrade‘ on a Debian or Ubuntu Linux based system? How do I hook a script to apt-get command on my Ubuntu Linux server?
Halal Vitamins

Powered by WPeMatico

How To Patch and Protect Linux Glibc Getaddrinfo Stack-based Buffer Overflow Zero Day Vulnerability CVE-2015-7547 and CVE-2015-5229 [ 16/Feb/2016 ]

How To Patch and Protect Linux Glibc Getaddrinfo Stack-based Buffer Overflow Zero Day Vulnerability CVE-2015-7547 and CVE-2015-5229 [ 16/Feb/2016 ]

A stack-based critical buffer overflow was found in the way the libresolv library (glibc) performed dual A/AAAA DNS queries. A remote attacker could crash or, potentially, execute code running the library on Linux. How do I patch and protect my server or workstation against the glibc getaddrinfo on Linux operating system?
Halal Vitamins

Powered by WPeMatico