Community Edition Repo
sudo su
wget -q -O- https://downloads.opennebula.io/repo/repo.key | apt-key add –
1 |
<span class="prompt1"><span class="nb">echo</span> <span class="s2">"deb https://downloads.opennebula.io/repo/5.12/Ubuntu/20.04 stable opennebula"</span> > /etc/apt/sources.list.d/opennebula.list</span> |
nest step
apt update
1 |
<span class="prompt2">apt install opennebula opennebula-sunstone opennebula-gate opennebula-flow</span> |
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/