I have installed xampp for linux 1.7.1 on ubuntu Ubuntu 10.04 LTS.
I try to install Aegir using these instructions: http://git.aegirproject.org/?p=provision.git;a=blob;f=docs/INSTALL.txt;h...

I'm having a couple of problems
1) I dont know how to perform the lines (194-201) since I'm runnig lamp:

a2enmod rewrite
ln -s /var/aegir/config/apache.conf /etc/apache2/conf.d/aegir.conf

The aegir user needs to have sudo access. Add the relevant line to your sudoers file.
/etc/sudoers configuration::
aegir ALL=NOPASSWD: /usr/sbin/apache2ctl

2)

When I'm trying to run the install script

sudo -s /bin/sh aegir -c "sh install.sh.txt aegir.local"

I get /bin/sh: Can't open aegir

I'm pretty new with Linux. Can someone help me out?

Comments

Anonymous’s picture

Status: Active » Closed (fixed)

re 1)

there is no reason why you can't edit the sudoers file despite XAMPP, but you'll need to substitute the apache restart command with the appropriate command under XAMPP. I don't know what that is, but googling it seems to give the answer: http://www.apachefriends.org/en/xampp-linux.html#382

For enabling mod_rewrite, I did the task of googling it for you: http://www.anmsaiful.net/blog/php/enable-apache-rewrite-module.html

You have really made life hard for yourself installing something non-debian/ubuntu standard like XAMPP when we give you all the commands to copy and paste to get LAMP up and running already.. especially since I'll presume none of us developers will be able to help you with specific XAMPP issues. But that's just my opinion :)

re 2) Try su -s /bin/bash aegir -c "sh install.sh.txt aegir.local". You need to have created your aegir user first before you run this command.