Hey, just quick note to whoever has a chance to look at this (could be me, but I might not get to it right away). We had someone on #deltacloud who had some issues with installation, and requested we clarify some things on the site.
One we already planned to change, and that was to add the older alternate method to get the 'next' branch for aggregator: 'git checkout -t -b next origin/next' This seems to only work in very recent versions of git, which everyone does not yet have. He pasted his output here: http://pastebin.com/5ZShM365 Just in case that disappears, I will paste it below as well. Another source of confusion was that the download page only references a very old rpm (I know, we will be updating it soon), so it might be good to at the least have a link to contribute from there, saying 'for now, this is the best way to get the code'. I noticed that many of the issue mentioned were related to dependencies, so perhaps at least pointing people at the spec file if they are not on an rpm-based system and directions on how to use rails' 'rake gems:install' would make this easier. Open to other suggestions, perhaps even splitting out the db config or some such if that page starts to get too unwieldy. Anyway, as always, patches welcome. Here is the content of the paste above: #!/bin/bash LOG=/tmp/install.log echo "********** installing deltacloud `date` **********" >> $LOG 2>&1 echo "********** /etc/profile help `date` **********" >> $LOG 2>&1 echo "export EC2_URL=${EC2_URL}" >> /etc/profile echo "export ACCESS_KEY_ID=${ACCESS_KEY_ID}" >> /etc/profile echo "export SECRET_ACCESS_KEY=${SECRET_ACCESS_KEY}" >> /etc/profile echo "export PATH=$PATH:/var/lib/gems/1.8/bin" >> /etc/profile . /etc/profile echo "********** installing packages `date` **********" >> $LOG 2>&1 apt-get install --force-yes -y ruby rubygems1.9 gitk rails libdaemons-ruby libintl-gettext-ruby libdataobjects-postgres-ruby1.8 postgresql-8.3 libroot-ruby-dev make libfcgi-dev libgemplugin-ruby1.8 irb postgresql-8.3-plruby libdbd-pg-ruby libgettext-ruby1.9 libgettext-ruby-data libgettext-ruby-util libxml2 libxml2-dev libxslt1-dev gnuplot echo "********** installing rake 0.8.7 `date` **********" >> $LOG 2>&1 wget http://rubyforge.org/frs/download.php/56872/rake-0.8.7.tgz tar -xzvf rake-0.8.7.tgz cd rake-0.8.7 ruby install.rb echo "********** installing a couple gems `date` **********" >> $LOG 2>&1 gem install amazon-ec2 authlogic compass echo "********** getting deltacloud source `date` **********" >> $LOG 2>&1 cd /root mkdir deltacloud ; cd deltacloud git clone http://git.fedorahosted.org/git/deltacloud/core.git/ git clone http://git.fedorahosted.org/git/deltacloud/aggregator.git/ git clone http://git.fedorahosted.org/git/deltacloud/docs.git/ cd /root/deltacloud/aggregator git checkout -t -b next origin/next echo "********** installing deltacloud-client `date` **********" >> $LOG 2>&1 cd /root/deltacloud/core/client gem build deltacloud-client.gemspec gem install deltacloud-client-0.0.3.gem echo "********** some postgres config `date` **********" >> $LOG 2>&1 su - postgres -c "psql -c \"CREATE USER dcloud WITH PASSWORD 'v23zj59an' CREATEDB\"" echo "local all all trust" > /etc/postgresql/8.3/main/pg_hba.conf echo "host all all 127.0.0.1 255.255.255.255 trust" >> /etc/postgresql/8.3/main/pg_hba.conf echo "host all all ::1/128 trust" >> /etc/postgresql/8.3/main/pg_hba.conf /etc/init.d/postgresql-8.3 restart echo "********** installing deltacloud-core `date` **********" >> $LOG 2>&1 cd /root/deltacloud/core/server rake package gem install pkg/deltacloud-core-0.0.1.gem echo "********** installing a couple more gems `date` **********" >> $LOG 2>&1 gem install -v=2.3.2 rails gem install bacon erubis fcgi gettext gettext_activerecord gettext_rails gnuplot hoe less maruku memcache-client mongrel rack-test scruffy shotgun will_paginate yard echo "********** starting deltacloudd `date` **********" >> $LOG 2>&1 cd /root/deltacloud/core/server/bin ./deltacloudd -i ec2 -r 0.0.0.0 & echo "********** rake the db `date` **********" >> $LOG 2>&1 cd /root/deltacloud/aggregator/src cp config/database.pg config/database.yml rake gems:install rake db:create:all rake db:migrate rake db:test:prepare echo "********** starting the server `date` **********" >> $LOG 2>&1 rake gems:install ./script/server & echo "********** finishing deltacloud install `date` **********" >> $LOG 2>&1 _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
