mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Improve installation URL wording
This commit is contained in:
parent
e0591ed286
commit
0941a17d22
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user