[one-users] Need Proper opennebula Installation steps with linux or centos platform
jan horacek
jahor.jhr.cz at gmail.com
Thu Mar 1 08:53:05 PST 2012
Hello,
opennebula documentation should be sufficient for installation steps
and details why to do the steps. Last couple of reinstalls i did with
a Makefile, doing the steps found during some manual installs.
what's not yet included in the makefile are the init scripts for
secondary daemons like sunstone and acctd. now on centos6.2 and latest
one 3.2, the installation is without real problems (in the centos5
days, this wasn't that easy :)
as adrian snyman wrote, in later post, here is another problem and
that's the desired shared storage configuration.
makefile:
REPOPREFIX=http://ftp.muni.cz/pub/linux/fedora/
REPOPREFIX_EPEL=http://ftp.muni.cz/pub/linux/fedora/
one-mgmt:
yum localinstall -y
http://dev.opennebula.org/packages/opennebula-3.2.1/CentOS-6.0/CentOS-6.0-opennebula-3.2.1-1.x86_64.rpm
yum install -y rubygems
yum localinstall -y
$(REPOPREFIX_EPEL)/epel/6/i386/epel-release-6-5.noarch.rpm
yum install -y gcc-c++
yum install -y ruby-devel
yum install -y sqlite-devel
yum install -y lighttpd
$(FORCE_HTTP_PROXY) gem install sequel
$(FORCE_HTTP_PROXY) gem install sqlite3
# this install depends: rack rack-protection tilt
$(FORCE_HTTP_PROXY) gem install sinatra
$(FORCE_HTTP_PROXY) gem install json
echo 'include "conf.d/opennebula.conf"' >> /etc/lighttpd/lighttpd.conf
yum install -y lighttpd
echo 'server.modules += ("mod_proxy")'
>
/etc/lighttpd/conf.d/opennebula.conf
echo '$$HTTP["url"] !~ "/cgi-bin/|/munin/" { proxy.server = (
"" => ( "" => ( "host" => "127.0.0.1", "port" => 9869 ) ) ) }' >>
/etc/lighttpd/conf.d/opennebula.conf
sed -i -e 's,^server.use-ipv6 =.*,server.use-ipv6 =
"disable",' /etc/lighttpd/lighttpd.conf
yum install -y munin-node
yum install -y munin
ln -s /var/www/html/munin/ /var/www/lighttpd/munin
chkconfig lighttpd on
chkconfig oned on
#chkconfig oneacctd on
#chkconfig onesunstone on
# zajisteni pristupu bez nutnosti duplicitne uvadet heslo
mkdir -p /var/lib/one/.one
ln -s /var/lib/one/auth /var/lib/one/.one/one_auth
@echo "======================================================================"
@echo "INSTALLATION DONE"
@echo "To use, set your environment..."
@echo " export ONE_AUTH=/var/lib/one/auth"
@echo "Init scripts are..."
@echo " /etc/initd/oned"
@echo " /etc/initd/oneacctd"
@echo " /etc/initd/onesunstone"
@echo "Administration available at"
@echo " http://$$(ip a s eth0 | awk '/inet .*/ { print $$2 }'
| cut -d / -f 1)/"
@echo DONE ($<)
Regards,
Jan Horacek
On Thu, Mar 1, 2012 at 3:22 PM, shakkeera liaquath ali khan
<shakkeera841 at gmail.com> wrote:
> Hi all,
>
> I need proper installation steps of openNebula with any linux or
> centos platform....i was too confused with installation of
> openNebula..anybody already have installed the environment please do the
> needful....send me the steps...and mention the versions also...
>
>
> --
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
More information about the Users
mailing list