I'm running Debian Lenny via VMware Fusion. Completely fresh VM with only the standard and desktop environments enabled. I've followed the excellent screencast at mig5.net to get the base server configured correctly.
I then run /tmp/install.sh.txt as the aegir user and everything is reported as [ok]. Here is the top part of the install.sh.txt file:
# basic variables, change before release
AEGIR_DOMAIN=aegir.local
AEGIR_VERSION=0.4-alpha5
AEGIR_HOME=$HOME
WEB_GROUP=www-data
DRUSH_VERSION=6.x-3.0-alpha1
DRUSH_MAKE_VERSION=6.x-2.0-beta6I'm then instructed to go to http://aegir.local/install.php but it doesn't run.
I tried to follow the instructions regarding DNS settings here and here, but still no luck.
Here are the contents of my /etc/hosts/ file:
127.0.0.1 localhost
127.0.1.1 debian.debianvm debian $AEGIR_DOMAIN aegir.local
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhostsWhen I visit the domains http://debian.local, http://debian.debianvm, http://aegir.local, and http://localhost I get this...
It works! testing and it works. ...which is the /var/www/index.html file that I modified.
I feel like I'm so close, but not sure what I haven't configured correctly that http://aegir.local/install.php isn't accessible.
Comments
Is this all in the VM?
Are you trying to browse to the aegir site from within the VM and is the /etc/hosts file the one on the VM? If so then you should put the local ip address in place of $AEGIR_DOMAIN so the last line before the ipv6 stuff reads as follows:
127.0.0.1 aegir.localAlternatively you could add aegir.local to the localhost line as follows:
127.0.0.1 localhost aegir.localIf the /etc/hosts you are referring to is on the host OS then you would need to determine the ip address of the vm machine as setup by VMware and use that in place of the local ip.
Hope this helps,
JamieT
stuff to check
1) Jamiet's question: Is the /etc/hosts that you edited on the host machine or the guest machine?
2) Are you running a web browser on the host machine and trying to browse the site residing on the guest machine.
3) In 0.4 I think you symlink to apache.conf somewhere under ~aegir. Make sure that is done and that you did an apache reload or restart after adding that.
4) On the machine which hosts the site, look at ~aegir/config/vhost.d and make sure that there is a file called aegir.local. Make sure that the paths in that file point to the correct web root directory.
Hi jamiet and briwood, I
Hi jamiet and briwood,
I finally got around to fixing this issue and here are the replies to your questions:
Thank you very much for your help.
The good thing about my VM workflow is that I learned (finally) to keep a backup image in case the installation doesn't go as planned. My Debian VM, with VMware Tools correctly installed, is my base system. Snapshots don't seem that stable for me.
So I nuked the first image, started over and went through the screencast + install file and everything on the new domain aegirhost.local seems to be working fine. This is my /etc/hosts file now:
127.0.0.1 localhost aegirhost.local127.0.1.1 debian.debianvm debian
127.0.0.1 localhost aegirhost.local openatrium.local zendev.local ubercart.local coffeeshop.local127.0.1.1 debian.debianvm debian
ifconfig, I think this is the IP of my VM: 192.168.192.129.Your proposed changes to
Your proposed changes to /etc/hosts for additional domains is correct and should work.
With regard to accessing VM guest from host I believe it depends on how the VM has been setup with VMware but believe the default would make it network accessible. The fact you have a local ip in the 192.168.x.x range is promising. Does you host machine have a network IP address in the same range (192.168.192.x) - try to ping this ip from your host machine and see if it is able to connect. If it can then update your /etc/hosts file in the host machine to include:
192.168.192.129 aegirhost.localYou should now be able to navigate to that domain in the browser.
HTH,
JamieT