Category Archives: Linux (Ubuntu)

PHP-fpm Too Many Open Files 24 Error (set open file descriptor limit)

PHP-fpm Too Many Open Files 24 Error (set open file descriptor limit)

I am getting the following error in my /var/log/php7.0-fpm.log file:
        “ERROR: failed to prepare the stderr pipe: Too many open files (24)
How do I fix this problem?
Halal Vitamins

Powered by WPeMatico

Docker: Installation and Basic usage on Ubuntu 16.04

Zabihah Halal Vitamins
Docker: Installation and Basic usage on Ubuntu 16.04
Docker is an open-source project that provides an open platform for developers and sysadmins to build, package, and run applications anywhere as a lightweight container. This tutorial shows the installation of Docker on Ubuntu 16.04 and the first steps to get started with Docker container management.

Powered by WPeMatico

How to install nginx as a Reverse Proxy for Apache on Ubuntu 16.04

Zabihah Halal Vitamins
How to install nginx as a Reverse Proxy for Apache on Ubuntu 16.04
This tutorial shows how you can set up nginx as a reverse proxy in front of an Apache 2.4 web server on Ubuntu 16.04. nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.

Powered by WPeMatico

Using PHP-FPM with Apache on Ubuntu 16.04

Zabihah Halal Vitamins
Using PHP-FPM with Apache on Ubuntu 16.04
This tutorial shows how to install an Apache webserver on an Ubuntu 16.04 server with PHP 7 (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

Powered by WPeMatico

How to use GeoIP with Nginx on Ubuntu 16.04

Zabihah Halal Vitamins
How to use GeoIP with Nginx on Ubuntu 16.04
This tutorial explains how to use the GeoIP module with nginx on Ubuntu 16.04 to find out where your visitors come from. The GeoIP module sets multiple variables like $geoip_country_name, $geoip_country_code, $geoip_city, etc. that you can use in your PHP scripts or directly in your nginx configuration, for example to serve content in different languages based on the user’s country.

Powered by WPeMatico

How to donate CPU/GPU resources to science with Boinc

Zabihah Halal Vitamins
How to donate CPU/GPU resources to science with Boinc
Altruism is one thing that I’d like to believe characterizes all Linux users out there. This trait can be manifested in a lot of different ways, but when we’re talking about computers, the most characteristic and practical way is donating computational resources for a good cause. Here’s is a quick guide on how to do exactly that.

Powered by WPeMatico

How to send sound through Bluetooth on Linux

Zabihah Halal Vitamins
How to send sound through Bluetooth on Linux
Bluetooth headsets and speakers are now more popular than ever before, but getting them to work under Linux isn’t always very clear. With all that is going on in the Linux sound systems world, it is easy to get lost and even give up. Most of the time, the problem with these devices is that your system can see them, but for some reason it can’t establish a connection. Here is a quick and simple guide on how to get through this problem. I have tested the following on Arch, but it should work on every other distribution as well.

Powered by WPeMatico