MAAS installation (deb/2.7/cli)
You can install a 2.7 stable version of MAAS via the PPA listed on the MAAS launchpad, specifically:
To add the 2.7 PPA, type:
sudo apt-add-repository -yu ppa:maas/2.7
The recommended way to set up an initial MAAS environment is to put everything on one machine:
sudo apt install maas
Executing this command leads you to a list of dependent packages to be installed, and a summary prompt that lets you choose whether to continue with the install:
Choosing “Y” proceeds with a standard
apt package install.
For a more distributed environment, you can place the region controller on one machine:
sudo apt install maas-region-controller
and the rack controller (see Rack controller for details) on another:
sudo apt install maas-rack-controller sudo maas-rack register
These two steps will lead you through two similar
apt install sequences.
Finally, you will need to create a MAAS administrator user to access the web UI:
sudo maas createadmin --username=$PROFILE --email=$EMAIL_ADDRESS
For example, the process might go like this:
The username can be anything. You will also be prompted to supply a password for the user. The command option
--password=$PASSWORD can be used to specify one but, depending on your environment, this may pose a security risk.
At this time, MAAS does not make use of the email address. However, it may do so in the future.
createadmin option asks for an SSH key:
If you have an SSH key associated with your launchpad or github accounts, you can enter the username here to include the key. For launchpad, just enter
lp:username, and for github, enter
gp:username at the prompt. In both cases, the actual username has to be supplied after the
If you don't have a key associated with either of these services, you will have an opportunity to paste your public key into the MAAS SSH key list, after you've started MAAS for the first time as part of the welcome screens.
Once you have installed your MAAS environment (region + rack controller) and any possible extra rack controllers(s), you are ready to begin your Configuration journey.