OpenNebula Installation auf Ubuntu 20.04

Community Edition Repo

sudo su

wget -q -O- https://downloads.opennebula.io/repo/repo.key | apt-key add –

nest step

apt update

waiting for install


Installin DB

apt install mariadb-server mariadb-client

diable root access

mysql_secure_installation

root@saiph:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 44
Server version: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MariaDB [(none)]> create database opennebula;
Query OK, 1 row affected (0.000 sec)

MariaDB [(none)]> create user ‘opennebulauser’@’localhost’ identified by ’69l915i?&9|l^nMc;y$J9M;Tc=hzTRq|’;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> grant all on opennebula.* to ‘opennebulauser’@’localhost’ with grant option;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]>

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> exit;
Bye

config Database

nano /etc/one/oned.conf

echo ‘oneadmin:some$random%password&” > /var/lib/one/.one/one_auth

systemctl start opennebula
systemctl start opennebula-sunstone

ip:9869

oneadmin/

Leave a Comment