Installing Aegir on Fedora 8

These are more like notes for myself, but I am happy to share if someone else would be interested. No warranties though, if you can’t get Aegir running with these notes :)

Get the packages:

yum install httpd php php-mysql php-gd mysql-server postfix sudo rsync git-core unzip alpine screen

Set the PHP.ini memory limits, 192M works ok

Fix your DNS and how your host resolves:

edit /etc/hosts

x.x.x.x FQDN hostname

hostname FQDN

Install MTA (I run Postfix, so just copypaste from other server)

upload posfix configuration to /etc/postfix

Edit the /etc/postfix/canonical

This will rewrite the name which Drupal uses to send emails to what you need

create canonical db

postmap /etc/postfix/canonical
service postfix start

Create a group for the Aegir user and which Apache uses as well:

groupadd www-data

edit /etc/httpd/conf/httpd.conf to run as www-data

The Aegir user home folder needs to have 755 as the permissions (at least this works)

adduser -r –groups www-data –home-dir /var/home/aegiruser aegiruser

Edit the httpd.conf to have the Aegir confs included

Include /var/home/providus/config/apache.conf

Edit sudoers file

aegiruser ALL=NOPASSWD: /usr/sbin/apachectl

start mysqld

/usr/bin/mysqladmin -u root password ‘password’

wget -O /tmp/install.sh ‘http://git.aegirproject.org/?p=provision.git;a=blob_plain;f=install.sh.txt;hb=provision-0.4-beta2′

su -s /bin/sh aegiruser -c “sh /tmp/install.sh”

./drush/drush.php dl drupal

2 comments

  1. Love this post, Not understanding this part though
    edit /etc/hosts
    x.x.x.x FQDN hostname
    hostname FQDN

    Ive been able to successfully install aegir on my system which is running fedora 8. Everything seemed fine until I tried to add a site, (one that I had used before and was going to start fresh). The domain is registered and the dns with the registrar are set to my servers ip. xxx.xxx.xx.xx but the server not found error pops up when the url is entered in browser. I also noticed that the sites node lists the ip addresses as 127.0.0.1 which is the localhost. Shouldn’t that show the actual server public ip address. THanks for the help

  2. Hi Kevin!

    Thanks for your comment!

    That hosts editing was from the Aegir INSTALL.txt, though I haven’t got enough experience to say what happens if the hostname resolves to something else than the public ip… perhaps this is something to do with your case? I am using the public AWS elastic ip there and not the real private ip or localhost address. You are correct about the site node. I do have the public ip listed there.

    Br,

    Pauli

Leave a comment