This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Revision of Experimental: Aegir 2 on Ubuntu 12.04 with apache, php-fpm from Fri, 09/27/2013 - 09:58

Help

Experimental: Aegir 2 on Ubuntu 12.04 with apache, php-fpm

These notes describes a possible way of installing Apache with fastcgi using php-fpm. This is just the first step to get it a try, the configuration is experimental.

On a Ubuntu 12.04 box: enable multiverse repo in /etc/apt/sources.list

add the Aegir package "Software Source" repository

echo "deb http://debian.aegirproject.org stable main" | sudo tee -a /etc/apt/sources.list.d/aegir-stable.list
wget -q http://debian.aegirproject.org/key.asc -O- | sudo apt-key add -

sudo apt-get update
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo apt-get install aegir2 
sudo apt-get install php5-fpm libapache2-mod-fastcgi
sudo apt-get --purge remove libapache2-mod-php5

Modify /etc/php5/fpm/pool.d/www.conf Make it listen on socket, instead of IP:

;listen = 127.0.0.1:9000
listen = /var/run/php-fpm.sock

create /etc/apache2/conf.d/php-fpm.conf

  ScriptAlias /php5.fastcgi /srv/www/fastcgi
  FastCGIExternalServer /srv/www/fastcgi -socket /run/php-fpm.sock
  AddHandler php-fastcgi .php
  Action php-fastcgi /php5.fastcgi virtual

  Options FollowSymLinks ExecCGI

  <Directory /srv/www/fastcgi>
    Options ExecCGI FollowSymLinks
    SetHandler fastcgi-script
    Order allow,deny
    Allow from all
  </Directory>

Need help?

Documentation

The notebook section provides a way for you to store and share information with your group members. With the book feature you can:

  • Add book pages and organize them hierarchically into different books.
  • Attach files to pages to share them with others.
  • Track changes that others have made and revert changes as necessary.
  • Archive books that are no longer of interest to the group. Archived books can be reactivated later if needed.

The revisions let you track differences between multiple versions of a post.