Tag: CentOS 7

CentOS7 dockerError while creating filesystem xfs on device docker exit status 1

When you try to start docker it exits with exit status 1.

In /var/log/messages you can find the following:

Continue reading

CentOS / RHEL 7 : How to install kernel from rescue mode

A situation where the system has no kernel to boot from maybe because all the kernel are removed from the system or due to a corruption, Kernel installation from rescue mode is required. You can still install a new kernel from rescue mode and make the system up and be running again.

Continue reading

Selenium error: Chrome failed to start: exited abnormally

selenium-and-chrome

When I launched Selenium tests In Jenkins with Maven on CentOS 7 I got: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn’t exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Full error: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to …

Continue reading

Asterisk Freepbx Install Guide

This guide covers Asterisk installation from source on CentOS 7. Freepbx 13 with Asterisk 13 will be installed on CentOS 7. You have to do the installation as root user or with sudo.

Continue reading

Asterisk packages installation on CentOS 7

Officially now Asterisk packages repository is gone. Asterisk installation manual gone as well. If you use Asterisk on CentOS or RHEL, you want to be using RPM packages, not messing around with building source tarballs on each of the machines you maintain. I use Asterisk on CentOS, both on CentOS 6 and more recently on …

Continue reading

How to Install PHP 7 in CentOS 7

The CentOS 7 official software repositories have PHP 5.4 that is reached end of life and no longer actively maintained by the developers. Thus you need a newer PHP 7 on your CentOS server. The commands below will help you install PHP 7 on CentOS. All of them are executed as root account or with …

Continue reading

Enable Apache event MPM with php-fpm

Choose-Apache-MPM-Module

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

Deprecated Linux networking commands and their replacements

Specifically, the deprecated Linux networking commands in question are: arp, ifconfig, iptunnel, iwconfig, nameif, netstat, and route. These programs (except iwconfig) are included in the net-tools package that has been unmaintained for years and since CentOS 7 it’s deprecated and not installed in a system by default. The functionality provided by several of these utilities has …

Continue reading