Blogs

Development and put on production of Drupal 8 sites is moving really fast, and demanding sites are always going to require strong search engines to quickly process thousands  of search requests to their sites. On this tutorial I'm going to show you how to install an Apache Solr server to index any Drupal 8 data for fast search queries and results. Drupal 7 sites will also benefit of this since we are taking advantage of the Search API and Search API Solr modules integration.

Drupal 8 requires a minimum version of Solr 4.x so for this tutorial we'll be using 4.5.1, we'll be also configuring our installation using Jetty 9 (a servlet…

Read more...
Thursday, February 9, 2017

On this post I'll show you how to run Drupal 8 or any PHP application using Apache HTTP Server with mod_event enabled and PHP 7-FPM

First we need to get the required PHP and Apache packages from the Ubuntu repository:

$sudo apt-get install php7.0-fpm apache2 libapache2-mod-fastcgi

then we need to disable the worker that's enabled by default and switch to mpm_event:

$sudo a2dismod mpm_worker
$sudo a2enmod mpm_event

Now that we have enabled the event module, let's activate some required extra apache modules needed to run our apps like Drupal:

$sudo a2enmod alias rewrite fastcgi expires headers remoteip ssl actions

We need to create a config file for PHP-FPM so apache is aware of how to treat it:

$sudo nano /etc/apache2/conf-available/php-fpm.conf
Read more...
Tuesday, January 3, 2017

Quick install Composer library manager on Ubuntu 16.04 to handle Drupal 8 libraries.

First, get Composer:

$cd ~
$sudo apt-get install curl
$sudo curl -s https://getcomposer.org/installer | php

make Composer available globally:

$sudo mv composer.phar /usr/local/bin/composer

and you are done! You should get a similar output as in the next screenshot:

composer installed
Thursday, December 15, 2016

On this tutorial I will show you how to configure your Pound proxy server so it can take advantage of the awesome SSL service provided by Let's Encrypt.

Let's Encrypt is an open-source certificate authority that issues SSL certificates for free making use of the ACME protocol, making possible to obtain trusted certificates for your websites and operate under HTTPS:// with no browser warnings and securing your content of course.

The services also provides a command line tool called Certbot, that can be easily installed on any Linux OS and it will help creating the necessary steps in order to create the certificates for an specific domain/website.

In order to install Certbot on your server, follow the next steps: (make sure you have "git" installed on…

Read more...
Tuesday, October 11, 2016

This is a super quick guide to add certificate files to a Pound proxy, very useful when using it in environments with Varnish servers. This configuration was tested on Ubuntu 14.04 and Ubuntu 16.04

Follow the next steps that I took as sample from this site to configure Pound with a self-signed certificate, make sure to run all commands as root:

$ sudo su

Pound HTTPS Configuration

The following steps will guide you through the generation of a self-signed certificate for your test project server.

During the process you will create:
- server.key: This is a 1024 bit random string ("private key") that uniquely identifies your server.
- server.csr: This is a "Certificate Signing Request" file. You can…

Read more...
Friday, June 17, 2016