Application Templates

From Luna Node
Jump to: navigation, search

Application templates allow you to quickly spin up a ubuntu virtual machine with preinstalled software.

We have templates for:

  • LAMP stack - Apache, MySQL, PHP
  • LEMP stack - nginx, MySQL, PHP
  • GitLab - web management of git repositories
  • OwnCloud - file synchronization and sharing platform
  • WordPress - blog software
  • Dokku - single-server git-push-to-deploy PaaS

All templates use Ubuntu 14.04 64-bit.

After the VM is provisioned, you will receive an e-mail with details on how to proceed. In general, any login information will be written to /home/ubuntu/application.txt.

LAMP and LEMP

These templates come with basic webserver and database installed. For PHP, mod_php is used for Apache and php5-fpm for nginx.

The web root directory and MySQL root password can be found in /home/ubuntu/application.txt.

We include a script /opt/ssl.py that will set up your webserver to support SSL, and to automatically obtain and renew SSL certificates via Let's Encrypt. To use it, pass the domains that will be served to the script, e.g. /opt/ssl.py example.com www.example.com.

GitLab

GitLab is a git repository management tool that includes features such as pull requests, issue tracking, and wikis.

After the VM is provisioned, go to http://[VM external IP]/ and enter a password. You will then be prompted to login; the username is "root", and the password is what you just entered.

OwnCloud

After the VM is provisioned, go to http://[VM external IP]/ and enter the initial account information.

The MySQL login details for both the root database user and the OwnCloud database can be found in /home/ubuntu/application.txt. OwnCloud will be configured to automatically detect the MySQL database, so you do not ordinarily need to use this.

We include a script /opt/ssl.py that will set up your webserver to support SSL, and to automatically obtain and renew SSL certificates via Let's Encrypt. To use it, pass the domains that will be served to the script, e.g. /opt/ssl.py example.com www.example.com.

WordPress

After the VM is provisioned, go to http://[VM external IP]/ and enter the initial account information and other configuration details.

The MySQL login details for both the root database user and the WordPress database can be found in /home/ubuntu/application.txt. WordPress will be configured to automatically detect the MySQL database, so you do not ordinarily need to use this.

We include a script /opt/ssl.py that will set up your webserver to support SSL, and to automatically obtain and renew SSL certificates via Let's Encrypt. To use it, pass the domains that will be served to the script, e.g. /opt/ssl.py example.com www.example.com.

Dokku

If you selected an SSH key when provisioning the VM, then Dokku will already be set up with the key. Otherwise, go to http://[VM external IP]/ to configure Dokku.

You can modify the hostname used by Dokku later by editing /home/dokku/HOSTNAME.