Before Start Your LA Installation - AtlasOfLivingAustralia/documentation Wiki

Domain or subdomains to use

You have to choose which domain and/or subdomain will use your LA platform, like, etc, and how will look like your URLs. This depends on if you want to use subdomains:

or /paths like:

To take into account when configuring each module.

We have some test domain ( to testing, demos, etc. If you need to use it for your demo, just ask. The idea is to use a small subdomain for each national portal demo (,

See our FAQ for more information and current issues.


Configure your DNS for your domain and subdomains and your new servers IPS or:

Fake DNS calls

If for some reason, you are not yet using your definitive domain, or the DNS it's not configured well, or you have internal IP address (and the public IP addresses are under a proxy or firewall) or you want to use some real production DNS but in a test machine, you can configure your Host file instead. For instance, add entries in /etc/hosts on your computer for your servers:

You should add this entries also in your/etc/hosts of your virtual servers so they can see each other, demo resolves spatial and vice-versa.

You can use this host ansible role for this task.

Access to your Servers


Some command line skills are required if you want to deploy and admin a LA node succesfully.

You can have a look to the first lessons of this Google course (free)

about how to use a terminal console and basic file/directories command, and also this lesson about ssh

and the next ssh lessons of this course.

Do you have problems using ssh, scp or sftp, give a try to this graphical ssh/sftp client.

Default user (ubuntu)

You need some user that ansible will use to access to your server, by default ubuntu. It's recommended to use some passwordless ssh strategy (ssh keys without passwords or better using ssh-agent).


This user 'ubuntu' should have sudo passwordless permissions in your servers. Something like:

# cat /etc/sudoers.d/90-ubuntu
# User rules for ubuntu


You can check your access from your launch server with something like:

ssh [email protected] sudo ls /etc


You can configure ~/.ssh/config to easy access to your server and subdomains. An example from some "" domain:

Host images.l-a.sitei
IdentityFile ~/.ssh/some_key
user ubuntu

IdentityFile ~/.ssh/some_key
user ubuntu

hosts & hostsnames

Test servers connectivity and local names resolution.

If you using real DNS domains and/or subdomains check that your VMs has correct hostnames, and can are reachable between them.

If not, you will have to configure your /etc/hosts in your local machine, and in your test VMs with the test hostname and address, like:

Note: this is only a sample, adjust this for your site, services and urls.

Request SSL certificate/s.

If you want to use SSL in your site (recommended) request or generate via letsencrypt your certificates before deploying your services so they start correctly.

Solr limits

Edit your future solr server and set in /etc/security/limits.conf some correct limits like:

solr hard nofile 65535
solr soft nofile 65535
solr hard nproc 65535
solr soft nproc 65535

More info in Taking Solr to Production.

Cassandra optimizations

Also if you are deploying a production site, take into account these other limits and production tips for cassandra.

Cassandra deb package configure this via /etc/security/limits.d/cassandra.conf.

NGINX configuration

The NGINX webserver configuration is implemented by compiling fragments together on the server and then combining them into a single configuration file for each DNS hostname.

The nginx_vhost_fragments_to_clear ansible variable is a list that should contain all of the hostnames that need their nginx configurations refreshed when ansible is run each time.

For example:


If you are not able to set it because you are deploying multiple apps to the same nginx vhost, you will need to specify the override variable to use the ansible scripts in ala-install:


If you override the warning you will also understand that you are likely going to need to clear the /etc/nginx/vhost_fragments directory manually if and when you see errors in the nginx configuration that are caused by old fragments.