From 0941a17d2291dad34e82891dda9f65a4566b7c97 Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Wed, 8 Aug 2012 14:39:10 +0100 Subject: [PATCH] Improve installation URL wording --- docs/installation.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 06fd213..35435f6 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -12,18 +12,21 @@ This script uses the following tools: **screen**, **rsync**, **zip** *There may be a script to do this in the future, but its quite easy to do yourself, and I prefer to place things manually whenever possible so I know what's going on myself.* -## Create a shell variable to the MSM download URL: -1: Create the variable msm_url: - export msm_url="https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/" +## Let's Make This Easy -2: Verify the varible: - echo $msm_url +1. Create a tempory variable in your terminal to store the root download URL: + + export MSM_URL="https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/" + +2. Verify the variable now contains that URL by printing it: + + echo $MSM_URL ## Install The Configuration File and Create Directories 1. Download the configuration file and place it in the `/etc` directory: - sudo wget ${msm_url}msm.conf -O /etc/msm.conf + sudo wget ${MSM_URL}msm.conf -O /etc/msm.conf 2. Edit `/etc/msm.conf`, have a read through and make any adjustments, the comments will help you out. @@ -45,7 +48,7 @@ This script uses the following tools: **screen**, **rsync**, **zip** 1. Download the Minecraft Server Manager script (called msm) placing it in the `/etc/init.d` directory: - sudo wget ${msm_url}init/msm -O /etc/init.d/msm + sudo wget ${MSM_URL}init/msm -O /etc/init.d/msm 2. Give the script the required permissions: @@ -61,7 +64,7 @@ This script uses the following tools: **screen**, **rsync**, **zip** 1. Download the cron file and place it in `/etc/cron.d` with the name `msm`: - sudo wget ${msm_url}cron/msm -O /etc/cron.d/msm + sudo wget ${MSM_URL}cron/msm -O /etc/cron.d/msm 2. If you changed `SERVER_USER` in `/etc/msm.conf` to something other than "minecraft", edit `/etc/cron.d/msm` and change the occurrences of the username "minecraft" on each line, to the username you chose. @@ -72,7 +75,7 @@ This script uses the following tools: **screen**, **rsync**, **zip** 1. Download the bash_completion file and place it in `/etc/bash_completion.d` with the name `msm`: - sudo wget ${msm_url}bash_completion/msm -O /etc/bash_completion.d/msm + sudo wget ${MSM_URL}bash_completion/msm -O /etc/bash_completion.d/msm 2. Ensure the following lines are uncommented in your `~/.bashrc` file or if you don't have that, find it in `/etc/bash.bashrc` instead: