<div dir="ltr"><div><div><div><div><div>Dear All,<br><br></div>I am thinking of installing multiple Sunstone Server by referring to this page [1] and [2]:<br><br></div>My installation for OpenNebula 4.0 is self-contained mode in /var/lib/one folder.<br>
<br></div>This is the step that I have taken by following the page with my self-contained mode:<br><br>1. sudo gem install passenger<br>2. sudo passenger-install-apache2-module <br><div dir="ltr">3. chgrp www-data /var/lib/one/etc/sunstone-server.conf<br>
4. sudo chgrp www-data /var/lib/one/etc/sunstone-server.conf<br>
5. sudo chgrp www-data sunstone-plugins.yaml <br>6. sudo chgrp www-data ../var/.one/sunstone_auth<br>
7. sudo chmod a+x /var/lib/one/<br>8. sudo chmod a+x /var/lib/one/var/.one/<br>9. sudo chgrp www-data /var/lib/one/var/<br>10. sudo chgrp www-data var/sunstone*<br>
11. chmod g+w var/sunstone*<br>12. sudo chmod g+w var/sunstone*<br></div><br>Then, I configured the apache configuration file:<br></div><br>LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-4.0.14/buildout/apache2/mod_passenger.so<br>
PassengerRoot /var/lib/gems/1.8/gems/passenger-4.0.14<br>PassengerDefaultRuby /usr/bin/ruby1.8<br>PassengerMaxInstancesPerApp 1<br><br>and also for the virtual host:<br><br>ServerName sunstone-server<br># !!! Be sure to point DocumentRoot to 'public'!<br>
DocumentRoot /var/lib/one/lib/sunstone/public<br><Directory /var/lib/one/lib/sunstone/public><br> # This relaxes Apache security settings.<br> AllowOverride all<br> # MultiViews must be turned off.<br>
Options -MultiViews<br></Directory><br><br></div><div>I accessed my browser with sunstone IP; <a href="http://192.168.113.2">http://192.168.113.2</a> and can see the Sunstone front page. <br></div><div>I try to login, it bounce back to the login page; <a href="http://192.168.113.2/login">http://192.168.113.2/login</a><br>
<br></div><div>Please help me.<br><br></div><div>Thank you.<br><br></div><div>Regards,<br></div><div>Fazli<br></div><div><br><br>[1] <a href="http://opennebula.org/documentation:archives:rel4.0:suns_advance#deploying_sunstone_in_a_different_machine">http://opennebula.org/documentation:archives:rel4.0:suns_advance#deploying_sunstone_in_a_different_machine</a><br>
[2] <a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2012-July/019694.html">http://lists.opennebula.org/pipermail/users-opennebula.org/2012-July/019694.html</a><br><br><br></div></div>