Skip to main content
Update: I have updated this tutorial to a latest release of Varnish, read here.

By default, Varnish does not work and it will never work with HTTPS requests it only understands plain HTTP. This means, that on mixed content websites, sites serving HTTPS and HTTP pages, the secure pages won't be or cannot be cached on Varnish reducing the load time compared to the non-secure version of the page for example.
There are many sites that offer lots of static content through HTTPS that can definitely be cached using Varnish and in order to do so we need to implement an extra layer before any…
Read more
Friday, March 27, 2015
Another good option to run Drupal sites nowadays is Nginx. Nginx is a Proxy/Web Server not as complex as Apache and is well known for is security, responsiveness and speed when handling PHP apps together with PHP-FMP. On this this post I will introduce you on how to manually install and run Nginx and PHP-FPM so you can host any Drupal site with SSL support.

Recommended posts:

The suggested installation instructions by drupal.org: https://www.drupal.org/node/2310819
Perusio Nginx suggested Drupal Configuration https://github.com/perusio/drupal-with-nginx/tree/D7#installation

Read more
Thursday, February 26, 2015
Angular JS is one of the most popular and robust Frameworks available today to build SPA, Single Page Apps.

Here's a quick tutorial on how to quick install it on Ubuntu 14.04.

Get the latest nodejs and npm packages:


$sudo add-apt-repository ppa:chris-lea/node.js
$sudo apt-get update

Install node.js and its package manager npm:


$sudo apt-get install nodejs

Now, let's install Yeoman angular generator, which is a nice angular project generator, it will handle you project packages, as well as create the initial project structure, folders etc.
Visit the project page for…
Read more
Sunday, February 22, 2015
On this tutorial I will show you how to configure Varnish as a proxy server so you can re route you requests to any Apache or Nginx Server. 
Configuring Varnish on Ubuntu on distributed Servers is not a complex task, we just need to download some packages and then we will have to copy/paste the configurations below in order to start. Feel free to modify the provided configurations according to your needs. This post assumes there is another server Apache/Nginx listening on port 80 and running a Drupal site. 
Ok, Let's begin.

Install Varnish 3.0.5 from Ubuntu 14.04…
Read more
Tuesday, January 20, 2015
On this post I'll show you some quick steps to install and configure Memcache on Ubuntu 14.04 so you can enable Memcache on your Drupal installation.

First, you need to get some necessary packages from the Ubuntu repository, on a terminal window type:

# sudo apt-get install memcached php5-memcache

This will install the Memcache Server deamon and the PHP Memcache Extension.

Then, on your settings.php file you will need to add this lines in order to activate the Memcache Drupal module, see the module's documentation for more information about extend your memcache functionality.



Read more
Saturday, November 1, 2014
Update: I have update this tutorial with a latest release of Apache Solr for Drupal 7 and 8. Read here.

On this quick tutorial, I’ll show you the steps to have a quick default Apache Solr installation using Jetty on an Ubuntu Server 14.04 LTS, which is the latest Ubuntu release. These are the steps you need to set up an Apache Solr multicore on Ubuntu

Get default Java and Jetty, on a terminal window type: 

#apt-get install default-jdk jetty libjetty-extra libjetty-extra-java

dowload Apache Solr from archives: https://archive.apache.org/dist/lucene/solr/3.6.2/

#wget https:/…
Read more
Sunday, October 12, 2014
The idea of this blog post is to show how to install and configure a secure FTP access to your server and provide support for your users.

I'm configuring it so all you users can have their /home/{username} directory available as their FTP folder(s) which I think is one of the most secure ways of configuring an FTP service. After following this tutorial you can create a "ftp" user in your system without ssh access (you can google that ;) ) and use it as you generic ftp user. First of all we need to download the FTP server, in this case I'm going to be using VSFTPD, in order to download it,…
Read more
Thursday, September 19, 2013
Zend Server 6 is the latest Application Server for PHP development supported and distributed by Zend, it's an awesome piece of software the lets you deploy and manage your PHP apps in no time.
There are tons of new features on this version compared to what we had previously on ZS 5. Totally recommended!

Below i'm describing how to install it on Ubuntu Server 13.04:

login on your server as root:

1) edit the /etc/apt/sources.list file and add the following entry:
    deb http://repos.zend.com/zend-server/6.1/deb_ssl1.0 server non-free
    *Note: this repo will…
Read more
Thursday, August 15, 2013
Installation of Zend Server on Ubuntu 12.04 has a new repo that fixes known issues with Ubuntu 12.04.

The new source:

deb http://repos.zend.com/zend-server/5.6.0_ubuntu1204/deb server non-free

add it to you sources.list file

more info about the issue:

http://forums.zend.com/viewtopic.php?f=78&t=65618

Read more
Thursday, January 17, 2013
VLC version that comes with a fresh Lucid install won't play *.mkv files extensions (blu-ray)

add this ppa to your system in order to keep your VLC updated:

#sudo add-apt-repository ppa:n-muench/vlc2

ppa page: https://launchpad.net/~n-muench/+archive/vlc2

Read more
Thursday, March 15, 2012