sudo echo 'deb http://cloudstack.apt-get.eu/ubuntu trusty 4.4' > /etc/apt/sources.list.d/cloudstack.list
sudo apt-get update && apt-get install mysql-server openntpd cloudstack-management selinux-utils
Добавляем в файл nano /etc/mysql/my.cnf в раздел mysqld строчки:
innodb_rollback_on_timeout=1 innodb_lock_wait_timeout=600 max_connections=350 log-bin=mysql-bin binlog-format = 'ROW'
echo 'SELINUX=permissive' > /etc/selinux/config setenforce permissive
sudo cloudstack-setup-databases cloud:_cloud_user_password_@localhost --deploy-as=root:_mysql_root_pasword_
sudo cloudstack-setup-management