# History ## 0.11.0 ### Bug Fixes - #2998: @josegonzalez Fix issues in release process - #2993: @josegonzalez Add config_all alias for plugin usage - #2972: @buckle2000 Correct typo in docker-options:remove error output - #2964: @znz Remove unused variable - #2967: @znz Fix indentation in test file - #2963: @znz Correct typos in config plugin and remove potential infinite recursion issue - #2951: @josegonzalez Handle case where the app directory is a symlink - #2939: @znz Remove unnecessary lines - #2945: @znz Fix network plugin version - #2937: @michaelshobbs Strip restart flag from app_user_pre_deploy_trigger - #2931: @josegonzalez Upgrade git package for CI - #2928: @silverfix Do not overwrite the VHOST file during installation if it exists - #2926: @vtavernier Remove leading forward slash from app name in git-upload-pack ### New Features - #2985: @bitmand Build a custom dhparam file once for nginx and include it as default - #2974: @josegonzalez Upgrade to herokuish 0.3.33 - #2973: @josegonzalez Allow usage of git 2.13.0+ by unsetting GIT_QUARANTINE_PATH during git worktree usage - #2971: @miraculixx Add support for older virtualbox versions in official Dokku Vagrantfile - #2966: @znz Simplify internal config functions to reduce duplication - #2751: @alexquick Move config plugin to golang - #2938: @michaelshobbs Upgrade to golang 1.9.1 - #2736: @josegonzalez Implement Network Plugin - #2929: @michaelshobbs Add codacy config and coverage targets ### Documentation - #2935: @jcrben Document how to make herokuish optional during the bootstrap installation - #2982: @agorf Correct typo in user management docs - #2981: @agorf Correct typos in process management docs - #2969: @znz Correct comments on network triggers - #2965: @znz Remove spaces from config subcommand help output to mirror help output of other subcommands - #2954: @mrname Add vernemq community datastore plugin to docs - #2944: @axilleas Fix syntax typo in debian installation docs - #2932: @znz Update code comment to match documentation - #2933: @znz Fix version number for network binding documentation
3.9 KiB
Getting Started with Dokku
What is Dokku?
Dokku is an extensible, open source Platform as a Service that runs on a single server of your choice.
To start using Dokku, you'll need a system that meets the following minimum requirements:
- A fresh installation of Ubuntu 16.04 x64, Ubuntu 14.04 x64, Debian 8.2 x64 or CentOS 7 x64 (experimental) with the FQDN set [1]
- At least
1GBof system memory [2]
You can optionally have a domain name pointed at the host's IP, though this is not necessary.
Dokku is designed for usage on a fresh VM installation, and should install all necessary dependencies if installing via the bootstrap method.
Installing the latest stable version
1. Install dokku
To install the latest stable version of dokku, you can run the following shell commands:
# for debian systems, installs Dokku via apt-get
wget https://raw.githubusercontent.com/dokku/dokku/v0.11.0/bootstrap.sh;
sudo DOKKU_TAG=v0.11.0 bash bootstrap.sh
The installation process takes about 5-10 minutes, depending upon internet connection speed.
If you're using Debian 8 or Ubuntu 14.04, make sure your package manager is configured to install a sufficiently recent version of nginx[3], otherwise, the installation may fail due to "unmet dependencies" relating nginx.
2. Setup SSH key and Virtualhost Settings
Once the installation is complete, you can open a browser to setup your SSH key and virtualhost settings. Open your browser of choice and navigate to the host's IP address - or the domain you assigned to that IP previously - and configure Dokku via the web admin.
Warning: If you don't complete setup via the web installer (even if you set up SSH keys and virtual hosts otherwise) your Dokku installation will remain vulnerable to anyone finding the setup page and inserting their key.
Warning: Web installer is not available on CentOS and Arch Linux. You will need to configure SSH keys and virtual hosts using dokku command line interface.
3. Deploy your first application
Once you save your settings, the web admin will self-terminate and you should be able to run or deploy to the Dokku installation.
Installing via other methods
For various reasons, certain hosting providers may have other steps that should be preferred to the above. If hosted on any of the following popular hosts, please follow the linked to instructions:
- Digital Ocean Installation Notes
- DreamHost Cloud Installation Notes
- Microsoft Azure Installation Notes
As well, you may wish to customize your installation in some other fashion. or experiment with vagrant. The guides below should get you started:
- Debian Package Installation Notes
- RPM Package Installation Notes
- Vagrant Installation Notes
- Advanced Install Customization
- [1]: To check whether your system has an fqdn set, run
sudo hostname -f - [2]: If your system has less than 1GB of memory, you can use this workaround.
- [3]: nginx >= 1.8.0 can be installed via the nginx repositories, or by adding this PPA if you're using Ubuntu. nginx >= 1.11.5 is necessary for HTTP/2 support