Now I will show how to private cloud setup step by step using open source could computing Apache Cloud Stack. Apache Cloud Stack is a strong cloud computing at this time. This has various environments like small private cloud and large cloud system using Cloud Stack.
In this guide, full private cloud system using Apache Cloud Stack. Minimum requirements one management server, one host for kvm. This management server using mysql, and nfs server is separate server. Another option If you want to use management server as nfs server.
Installation process:
👉🏻 Apache Cloud Stack management server install.
👉🏻 Storage server install (NFS).
👉🏻 KVM server install.
👉🏻 NFS connection and systemvm download with create basic zone.
👉🏻 Firewall setup for all servers.
👉🏻 NTP install for all servers.
👉🏻 Apache Cloud Stack Upload iso.
👉🏻 Create Instance on Apache Cloud Stack.
Just showing all config details using cat command. So you can edit your server details like my server. First connect Cloud Stack server via ssh root access using putty or MobaxTreem.
Must be your server update and upgrade using below command.
apt update && apt upgrade -y
Then add all host name into hosts file.
cat /etc/hosts
Insert all below lines into hosts file.
127.0.0.1 localhost 10.66.10.17 cloud.technologyrss.local cloud 10.66.10.18 kvm.technologyrss.local kvm 10.66.10.19 nas.technologyrss.local nas
Check hostname file using cat command.
cat /etc/hostname
Output as like below
cloud
cat /etc/netplan/00-installer-config.yaml
See as like below
network:
ethernets:
enp0s3:
addresses:
- 10.66.10.17/16
dhcp4: false
routes:
- to: default
via: 10.66.10.1
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
search:
- workgroup
version: 2
Then run netplan command for check if any error.
netplan apply
Also add google public dns server ip address on resolv.conf file.
cat /etc/resolv.conf
output as like below:
nameserver 8.8.8.8
hostname --fqdn ping cloudstack.apache.org apt-get install -y openntpd openssh-server sudo vim htop tar intel-microcode bridge-utils mysql-server echo deb http://download.cloudstack.org/ubuntu jammy 4.17 > /etc/apt/sources.list.d/cloudstack.list sudo wget -O - http://download.cloudstack.org/release.asc|apt-key add - apt-get update -y apt-get install -y cloudstack-management cloudstack-usage
Config mysql settings.
vi /etc/mysql/mysql.conf.d/mysqld.cnf
Insert below all lines into mysqld.cnf file.
server_id = 1 sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION" innodb_rollback_on_timeout=1 innodb_lock_wait_timeout=600 max_connections=1000 log-bin=mysql-bin binlog-format = 'ROW'
Then save it using press Esc type :wq then press Enter.
Also open another cloudstack.cnf file.
vi /etc/mysql/mysql.conf.d/cloudstack.cnf
Restart mysql service using below command.
systemctl restart mysql
Login mysql terminal using default password is blank.
mysql -u root -p
Then press Enter.
SELECT user,authentication_string,plugin,host FROM mysql.user; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'passw0rd@123'; use mysql; UPDATE user SET plugin="mysql_native_password" WHERE User='root'; flush privileges; q
Now Setup Cloud using below command.
cloudstack-setup-databases cloud:passw0rd@123@localhost --deploy-as=root:passw0rd@123
Check cloud setup status using below command.
cloudstack-setup-management
Check cloudstack management server log file using below command for see any error.
tail -f /var/log/cloudstack/management/management-server.log
Wait at least few minutes….
Login default cloud management system using ip address.
http://10.66.10.17:8080/client/
Default admin login.
Default login User : admin Password : password
Note: Next tutorial how to download systemvm template on nfs storage.
The post How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 appeared first on TechnologyRSS.
In July 2025, git received CVE-2025-48384, a high vulnerability allowing arbitrary code execution when cloning…
Last year, we collaborated with two design student teams from Loughborough University in the UK.…
January 15, 2026 – Canonical, the publisher of Ubuntu and provider of open source security,…
How to install GitLab on Ubuntu 24.04 will be explained in this blog post with…
Do you know what was always there but has increased multiple times in the last…
The Digital Operational Resilience Act (DORA) came into force across the EU on January 17,…