Tag: CentOS

Enable Apache event MPM with php-fpm


Starting from version 2.4 Apache offers 3 MPM (Multi-processing Module) we can choose from, depending on your needs. The prefork MPM uses multiple child processes without threading. Each process handles one connection at a time without creating separate threads for each. Without going into too much detail, we can say that you will want to …

Continue reading

How To Configure Firewall on CentOS 7

FireSince CentOS 7 Firewalld is available by default on servers as a complete firewall solution. This guide will cover the basics of configuration and management using firewall-cmd administrative tool (if you’d rather use iptables with CentOS, follow this guide).

Continue reading

How To Migrate from FirewallD to Iptables on CentOS 7

Like most other Linux distributions, CentOS 7 uses the netfilter framework inside the Linux kernel in order to access packets that flow through the network stack. This provides the necessary interface to inspect and manipulate packets in order to implement a firewall system. Most distributions use the iptables firewall, which uses the netfilter hooks to …

Continue reading

Configure logrotate for Asterisk logfiles on CentOS

logrotate is an utility specially designed for ease rotation of large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large. Normally, logrotate is run as a daily cron job. By default it lacks the …

Continue reading

Cloned Hyper-V CentOS6 Server error “device eth0 does not seem to be present, delaying initialization”

In order to have 3 identical nodes for my MariaDB Galera cluster, I cloned a hyper-v install of CentOS6 and after firing up the clone and trying to start networking received the error: “device eth0 does not seem to be present, delaying initialization” We need to get the list of current eth devices:

Continue reading

Colorize log files on CentOS and Ubuntu using ccze tool

ccze is a wonderful tool that brings real joy to the arduous task of reading or searching thru log files. It uses a modular approach to support custom colour formatting for popular applications such as Apache, Postfix, Exim, etc.

Continue reading

Asterisk installation on CentOS with YUM

Officially now Asterisk packages repository is gone (but packages are still on place). Asterisk installation manual gone as well. This post is some handy memo on Asterisk install from packages using YUM.

Continue reading

Load more