From 542f4dd430a03d33781b312b80548ef139db77b1 Mon Sep 17 00:00:00 2001 From: Edgars Beigarts Date: Fri, 23 Sep 2016 22:44:58 +0300 Subject: [PATCH] Add RPM installation docs --- CONTRIBUTING.md | 2 +- docs/development/release-process.md | 2 +- docs/getting-started/install/rpm.md | 16 ++++++++++++++++ docs/getting-started/installation.md | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 docs/getting-started/install/rpm.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1599d2c3d..4e8a25fde 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ doesn't already include that problem or suggestion before submitting an issue. If you find a match, add a quick "+1" or "I have this problem too." Doing this helps prioritize the most common problems and requests. -When reporting issues, please include your host OS (Ubuntu 14.04, Fedora 19, +When reporting issues, please include your host OS (Ubuntu 14.04, CentOS 7, etc). Please include: * The output of `uname -a`. diff --git a/docs/development/release-process.md b/docs/development/release-process.md index 940e047bd..c8efc1347 100644 --- a/docs/development/release-process.md +++ b/docs/development/release-process.md @@ -39,7 +39,7 @@ At the moment, tags need not be signed, though that may change in the future. ## Debian and RPM packages -The `build` target in the Dokku `Vagrantfile` creates debian packages for Dokku at a point in time. The version will be based upon the latest local tag - you may create your own, internal tags/releases if that is so desired. +The `build` target in the Dokku `Vagrantfile` creates debian and rpm packages for Dokku at a point in time. The version will be based upon the latest local tag - you may create your own, internal tags/releases if that is so desired. Debian package information is held in the `debian` directory of the Dokku project. diff --git a/docs/getting-started/install/rpm.md b/docs/getting-started/install/rpm.md new file mode 100644 index 000000000..9da831394 --- /dev/null +++ b/docs/getting-started/install/rpm.md @@ -0,0 +1,16 @@ +# RPM Package Installation Notes + +Dokku defaults to being installed via RPM package. While certain hosts may require extra work to get running, you may optionally wish to automate the installation of Dokku without the use of our `bootstrap.sh` bash script. The following are the steps run by said script: + +```shell +# install docker +curl -fsSL https://get.docker.com/ | sh + +# install epel for nginx packages to be available +sudo yum install -y epel-release + +# install dokku +curl -s https://packagecloud.io/install/repositories/dokku/dokku/script.rpm.sh | sudo bash +sudo yum install -y herokuish dokku +sudo dokku plugin:install-dependencies --core +``` diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index c4dfd0a90..20d896aa9 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -48,6 +48,7 @@ For various reasons, certain hosting providers may have other steps that should 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](/dokku/getting-started/install/debian/) +- [RPM Package Installation Notes](/dokku/getting-started/install/rpm/) - [Vagrant Installation Notes](/dokku/getting-started/install/vagrant/) - [Advanced Install Customization](/dokku/getting-started/advanced-installation/)