EntropyWorks

Bad Ubuntu Horizon Folsom package in precise-trunk-testing

Jul 27th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. # This how I fixed the openstack folsom horizon ubuntu precise test package
  2. #
  3. # PPA from https://launchpad.net/~openstack-ubuntu-testing
  4. # deb http://ppa.launchpad.net/openstack-ubuntu-testing/precise-trunk-testing/ubuntu precise main
  5. #
  6. # PPA https://launchpad.net/~chris-lea/+archive/python-django
  7. # deb http://ppa.launchpad.net/chris-lea/python-django/ubuntu precise main
  8. #
  9. # This is mostly taken from my history so it may not actually work...
  10.  
  11. apt-get install nodejs python-django python-pip
  12.  
  13. pip install django_compressor
  14. pip install python-glanceclient
  15.  
  16. cd /tmp
  17. wget http://ppa.launchpad.net/openstack-ubuntu-testing/precise-trunk-testing/ubuntu/pool/main/h/horizon/horizon_2012.2+git201206251032~precise.orig.tar.gz
  18. tar zxvf horizon_2012.2+git201206251032~precise.orig.tar.gz
  19. cd horizon-2012.2-201206251032/
  20.  
  21. mkdir /usr/share/openstack-dashboard/static/dashboard/css
  22.  
  23. cp -r bin /usr/share/openstack-dashboard
  24. cp -r static /usr/share/openstack-dashboard
  25. cp -r horizon/static/horizon/js/* /usr/share/openstack-dashboard/static/dashboard/js/
  26.  
  27. ln -s /usr/share/openstack-dashboard/static/dashboard/css /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/
  28. ln -s /usr/share/openstack-dashboard/static/dashboard/js /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/
  29.  
  30. chown -R www-data.www-data /usr/share/openstack-dashboard/static
Advertisement
Add Comment
Please, Sign In to add comment