CentOS 5 Install Notes

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

[These notes assume that you are using the user aegir for both your system username and your mysql username]

Note that I had to run some extra MySQL commands to make sure everything worked on CentOS 5.

 GRANT ALL PRIVILEGES ON *.* TO 'aegir'@'localhost' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;

AND

 GRANT ALL PRIVILEGES ON *.* TO 'aegir'@'127.0.0.1' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;

If I didn't do this, or if I just did the first command, then Aegir could not create new databases for some reason.

Other tips of mine are to make sure that, before you even get started:

  1. create the aegir user as instructed
  2. change the working directory to the root of your main Drupal install
  3. chown -R aegir.aegir *
  4. find ./ -name ".*" -exec chown aegir.aegir {} \; # to make sure all of the . files are also owned by aegir

Also, in the instructions about visudo it tells you to put a certain line in:

aegir ALL = NOPASSWD: /usr/sbin/apachectl

However, if that's all you do, you will still have trouble with tasks, getting errors like
"Web server could not be restarted. Changes might not be available until this has been done."

You need to also comment out the line

Defaults requiretty

so it looks like

# Defaults requiretty

Also, note that I don't recommend checking the 'Cron managment' option you are offered when you are installing hostmaster. One of my attempts failed with a stuck cron queue and maybe this was to blame, YMMV.

Other Issues

  • Apache still doesn't restart after sudoers changes, getting
    Oct 29 17:35:23 aegir-macbook sudo: pam_unix(sudo:auth): conversation failed
    Oct 29 17:35:23 aegir-macbook sudo: pam_unix(sudo:auth): auth could not identify password for [aegir]

    errors in /var/log/secure

    ... Still working on this one ...

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: