You are on page 1of 2

grep -E 'svm|vmx' /proc/cpuinfo

wget -q -O- http://downloads.opennebula.org/repo/Ubuntu/repo.key | apt-key add -

echo "deb http://downloads.opennebula.org/repo/5.4/Ubuntu/17.04 stable opennebula"
> /etc/apt/sources.list.d/opennebula.list

apt-get update

apt-get install opennebula opennebula-sunstone opennebula-gate opennebula-flow nfs-
kernel-server

su - oneadmin

cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

cat << EOT > ~/.ssh/config

Host *

StrictHostKeyChecking no

UserKnownHostsFile /dev/null

EOT

$ chmod 600 ~/.ssh/config

# wget -q -O- http://downloads.opennebula.org/repo/Ubuntu/repo.key | apt-key add -

# echo "deb http://downloads.opennebula.org/repo/5.4/Ubuntu/17.04 stable
opennebula" > /etc/apt/sources.list.d/opennebula.list

# apt-get update

# apt-get install opennebula-node nfs-common bridge-utils

nano /etc/network/interfaces
--------------------------

auto lo
iface
lo inet loopback

auto br0

iface br0
inet dhcp

bridge_ports eth0

bridge_fd 9

bridge_hello 2

bridge_maxage 12

bridge_stp off
--------------------------

# /etc/init.d/networking restart

# cat << EOT > /etc/libvirt/qemu.conf

user = "oneadmin"

group = "oneadmin"

dynamic_ownership = 0

EOT

# service libvirt-bin restart

# cat /var/lib/one/.one/one_auth

$ echo "oneadmin:mypassword" > /var/lib/one/.one/one_auth

# service opennebula start

// to see status of service // # service opennebula status
# service opennebula-sunstone start

// to see status of service // # service opennebula-sunstone status

===========GUI:
http://localhost:9869

US: oneadmin

PWD: mypassword

===========CUI:
su - oneadmin