Tag Archives: howto

Using mod_spdy with Apache 2.4 on Ubuntu 14.04

How to start using mod_spdy with Apache 2.4 on Ubuntu 14.04. This previous post explains how to build mod_spdy.

Getting mod_spdy

mod_spdy is not available for Apache 2.4.7 on Ubuntu 14.04. You can compile it yourself using this post. Or you can download the compiled files here.

Stopping apache2

Before we start moving files and reconfiguring apache2, we stop it.

 $ sudo service apache2 restart 

Moving files

Continue reading

Build mod_spdy with Apache 2.4 on Ubuntu 14.04

This howto explains what you should do to build mod_spdy with Apache 2.4 on Ubuntu 14.04 ( Trusty Tahr ). You can also download mod_spdy for Ubuntu 14.04 on this page.

Preparing the build environment

rivy@buildhost:~/mod-spdy$ sudo apt-get -y install git g++ apache2 libapr1-dev libaprutil1-dev patch binutils make devscripts

Cloning the 2.4.7 branch

It’s important that we specify the correct branch. In the master branch you can find all code that works for apache 2.4.10. Since Ubuntu 14.04 is still using Apache 2.4.7, make sure to specify that branch.

rivy@buildhost:~/mod-spdy$ git clone -b apache-2.4.7 https://github.com/eousphoros/mod-spdy.git

Once you downloaded the branch, you should be able to change directory to it.

rivy@buildhost:~/mod-spdy$ cd mod-spdy/src
rivy@buildhost:~/mod-spdy/mod-spdy/src$

Building mod_spdy

Continue reading

Migrating from file to lvm storage

Steps to take for migrating from file to lvm storage. This tutorial will make use of virsh from libvirt. Tested on Ubuntu 14.04 (Trusty Tahr).

Before we begin

I assume you already have an LVM storage pool created and active. You can list your storage pools with this command.

root@flipflop /home/data # virsh pool-list
 Name                 State      Autostart 
-------------------------------------------
 mylvmpool            active     yes 

On my system, only 1 storage book is started. It’s called ‘mylvmpool’. Click here for steps how to create an LVM storage pool. Use this command to display more detailed information about the storage pool.

root@flipflop /home/data # virsh pool-info mylvmpool
Name:           mylvmpool
UUID:           cf2438fa-eeb7-457d-ae48-7c05f3cc8dc8
State:          running
Persistent:     yes
Autostart:      yes
Capacity:       2.73 TiB
Allocation:     569.81 GiB
Available:      2.17 TiB

Migrating from file to lvm storage

Continue reading