Cloudstack 4.1 Management Server Installation

CloudStack is now at 4.1 and there have been many changes. This means that the installation process has also changed so I wanted to update the process I outlined from a previous post ( for CloudStack 4.1. I will outline some of those changes to help you easily install CloudStack on CentOS. This post will focus on the management server.

Management Server Installation

This process outlines the steps for installing the Cloudstack management server on CentOS 6.x. The Cloudstack management server is supported on other versions of linux but they will not be covered in this document.

  1. Install the linux OS. I start off with CentOS 6.3 x64 minimal.
  2. Upgrade the linux OS [# yum update -y]
  3. Edit the SELinux configuration file, set “SELINUX=Permissive” [# vi /etc/selinux/config]
  4. Reboot
  5. Configure the cloudstack repo [# vi /etc/yum.repos.d/cloudstack.repo]
  6. Add lines to cloudstack.repo and save the file: Note: The baseurl has changed from 4.0 to 4.1
  7. Install Network Time Protocol (NTP) [# yum install ntp -y]
  8. Install Cloudstack components [# yum install cloud-client -y]
  9. Install MySQL server [# yum install mysql-server -y]
  10. Start ntp service [# service ntpd start]
  11. Start database service [# service mysqld start]
  12. Configure NTP service to run at startup [# chkconfig ntpd on]
  13. Configure MySQL service to run at startup [# chkconfig mysqld on]
  14. Setup MySQL password [# mysql_secure_installation]
  15. Use the following options below:
    • enter
    • new password
    • retype password
    • y
    • y
    • y
    • y
  16. Configure the MySQL database for Cloudstack. [# cloudstack-setup-databases cloud:Y0urPa$$w0rd@localhost --deploy-as=root:Y0urPa$$w0rd] #Note: in 4.1 the command changed from cloud-setup-database to cloudstack-setup-database.
  17. Setup Cloudstack management [# cloudstack-setup-management] #Note: in 4.1 the command changed from cloud-setup-management to cloudstack-setup-management.
  18. Browse to http://servername:8080/client
  19. Login with user:admin, passwd:password

There are a few more post installation steps that I will outline in another post. Check it out here.

More details on the installation process can be found at the Apache CloudStack Documentation.