mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #413 from renderorange/gh-pages_add-missing-manual-installation-instructions
Update ownership command for msm dir
This commit is contained in:
commit
024d8833bb
@ -1,8 +1,8 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
var milestonesUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/milestones?callback=?",
|
var milestonesUrl = "https://api.github.com/repos/msmhq/msm/milestones?callback=?",
|
||||||
tagsUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/tags?callback=?"
|
tagsUrl = "https://api.github.com/repos/msmhq/msm/tags?callback=?"
|
||||||
stargazersUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/stargazers?per_page=100&callback=?",
|
stargazersUrl = "https://api.github.com/repos/msmhq/msm/stargazers?per_page=100&callback=?",
|
||||||
contributorsUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/contributors?per_page=100&callback=?";
|
contributorsUrl = "https://api.github.com/repos/msmhq/msm/contributors?per_page=100&callback=?";
|
||||||
|
|
||||||
var maintainers = [
|
var maintainers = [
|
||||||
"marcuswhybrow",
|
"marcuswhybrow",
|
||||||
@ -113,7 +113,7 @@ $(function() {
|
|||||||
|
|
||||||
var $div = $("<div>").addClass("milestone");
|
var $div = $("<div>").addClass("milestone");
|
||||||
var $link = $("<a>")
|
var $link = $("<a>")
|
||||||
.attr("href", "https://github.com/marcuswhybrow/minecraft-server-manager/issues?state=open&milestone=" + milestone.number)
|
.attr("href", "https://github.com/msmhq/msm/issues?state=open&milestone=" + milestone.number)
|
||||||
.addClass("ga-track")
|
.addClass("ga-track")
|
||||||
.appendTo($div);
|
.appendTo($div);
|
||||||
$("<h2>").text(milestone.title).appendTo($link);
|
$("<h2>").text(milestone.title).appendTo($link);
|
||||||
@ -167,9 +167,4 @@ $(function() {
|
|||||||
$('.donator').tooltip({
|
$('.donator').tooltip({
|
||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
});
|
});
|
||||||
|
|
||||||
$('a.ga-track').live('click', function() {
|
|
||||||
var $this = $(this);
|
|
||||||
_gaq.push(['_trackEvent', 'External Link', $this.text(), $this.attr('href')]);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
@ -84,4 +84,4 @@ You can always get a quick list of commands by typing `msm help`, which outputs
|
|||||||
[survival]: https://www.minecraftwiki.net/wiki/Survival
|
[survival]: https://www.minecraftwiki.net/wiki/Survival
|
||||||
[creative]: https://www.minecraftwiki.net/wiki/Creative
|
[creative]: https://www.minecraftwiki.net/wiki/Creative
|
||||||
[we-snapshots]: https://wiki.sk89q.com/wiki/WorldEdit/Snapshots
|
[we-snapshots]: https://wiki.sk89q.com/wiki/WorldEdit/Snapshots
|
||||||
[active-vs-inactive]: https://github.com/marcuswhybrow/minecraft-server-manager/wiki/Active-vs-Inactive-Servers
|
[active-vs-inactive]: {{ site.baseurl }}/docs/concepts/active-vs-inactive.html
|
||||||
|
@ -14,4 +14,4 @@ From wikipedia:
|
|||||||
|
|
||||||
MSM uses cron to run periodical backups, syncronise worlds that are in RAM back to disk every half hour to prevent data loss in the event of a crash and roll Minecraft log files to prevent them getting too large each night.
|
MSM uses cron to run periodical backups, syncronise worlds that are in RAM back to disk every half hour to prevent data loss in the event of a crash and roll Minecraft log files to prevent them getting too large each night.
|
||||||
|
|
||||||
See the <a href="https://github.com/marcuswhybrow/minecraft-server-manager/blob/latest/cron/msm">MSM cron file</a> in the repository for a detailed example.
|
See the <a href="https://github.com/msmhq/msm/blob/latest/cron/msm">MSM cron file</a> in the repository for a detailed example.
|
||||||
|
@ -24,7 +24,7 @@ Default Values
|
|||||||
|
|
||||||
MSM has default values for all possible settings. This means that `/etc/msm.conf` could be left blank and MSM would still work with sensible defaults.
|
MSM has default values for all possible settings. This means that `/etc/msm.conf` could be left blank and MSM would still work with sensible defaults.
|
||||||
|
|
||||||
It is however advised that each value be explicitly defined nonetheless, allowing admins to be sure of what MSM is doing. The <a href="{{ site.baseurl }}/docs/installation.html">installation documentation</a> encourages this approach by downloading the <a href="https://github.com/marcuswhybrow/minecraft-server-manager/blob/latest/msm.conf">msm.conf file</a> ready with default values.
|
It is however advised that each value be explicitly defined nonetheless, allowing admins to be sure of what MSM is doing. The <a href="{{ site.baseurl }}/docs/installation.html">installation documentation</a> encourages this approach by downloading the <a href="https://github.com/msmhq/msm/blob/latest/msm.conf">msm.conf file</a> ready with default values.
|
||||||
|
|
||||||
Server Defaults
|
Server Defaults
|
||||||
---------------
|
---------------
|
||||||
@ -38,4 +38,4 @@ Path values can be absolute (starts with a forward slash) or relative (does not
|
|||||||
|
|
||||||
All other path settings must be absolute, these include the general MSM settings such as where to store all servers, backups and logs.
|
All other path settings must be absolute, these include the general MSM settings such as where to store all servers, backups and logs.
|
||||||
|
|
||||||
Paths must **never** have a trailing slash. In other words `/opt/msm/servers` is OK but `/opt/msm/servers/` is not.
|
Paths must **never** have a trailing slash. In other words `/opt/msm/servers` is OK but `/opt/msm/servers/` is not.
|
||||||
|
@ -50,7 +50,7 @@ MSM selects, using this code, the most appropiate included versioning file, so t
|
|||||||
|
|
||||||
If you are running a unique server type, maybe Tekkit for instance, pick the closest available version. Or let me know, by [creating an issue][issues], that you think MSM should accomodate it.
|
If you are running a unique server type, maybe Tekkit for instance, pick the closest available version. Or let me know, by [creating an issue][issues], that you think MSM should accomodate it.
|
||||||
|
|
||||||
[issues]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/
|
[issues]: https://github.com/msmhq/msm/issues/
|
||||||
|
|
||||||
## Delays
|
## Delays
|
||||||
|
|
||||||
@ -72,4 +72,4 @@ When interruptions to the normal experience occur, it's nice to give players som
|
|||||||
msm-message-complete-backup-started= # The message shown to players when starting to backup the entire server
|
msm-message-complete-backup-started= # The message shown to players when starting to backup the entire server
|
||||||
msm-message-complete-backup-finished= # The message shown to players when finished backing up the entire server
|
msm-message-complete-backup-finished= # The message shown to players when finished backing up the entire server
|
||||||
|
|
||||||
[global-config]: {{ site.baseurl }}/docs/configuration/msm.html
|
[global-config]: {{ site.baseurl }}/docs/configuration/msm.html
|
||||||
|
@ -7,7 +7,7 @@ docsitem: home
|
|||||||
|
|
||||||
<div class="hero-unit">
|
<div class="hero-unit">
|
||||||
<h1>Getting Started</h1>
|
<h1>Getting Started</h1>
|
||||||
<p>If you're looking to get going see the <a href="{{ site.baseurl }}/docs/installation.html">Install guide</a>, then peruse <a href="{{ site.baseurl }}/docs/commands/">the commands</a>. After that maybe watch the project for updates on <a href="https://github.com/marcuswhybrow/minecraft-server-manager/">GitHub</a> and join the MSM community.</p>
|
<p>If you're looking to get going see the <a href="{{ site.baseurl }}/docs/installation.html">Install guide</a>, then peruse <a href="{{ site.baseurl }}/docs/commands/">the commands</a>. After that maybe watch the project for updates on <a href="https://github.com/msmhq/msm/">GitHub</a> and join the MSM community.</p>
|
||||||
<p>
|
<p>
|
||||||
<a
|
<a
|
||||||
class="btn btn-primary btn-large"
|
class="btn btn-primary btn-large"
|
||||||
@ -19,6 +19,6 @@ docsitem: home
|
|||||||
|
|
||||||
<h2>Contributing to this Documentation</h2>
|
<h2>Contributing to this Documentation</h2>
|
||||||
|
|
||||||
<p>If there is something in this documentation which you thinks needs changing, now you can change it by <a href="https://github.com/marcuswhybrow/minecraft-server-manager/tree/gh-pages">forking gh-pages</a> and sending a pull request.</p>
|
<p>If there is something in this documentation which you thinks needs changing, now you can change it by <a href="https://github.com/msmhq/msm/tree/gh-pages">forking gh-pages</a> and sending a pull request.</p>
|
||||||
|
|
||||||
<p>Equally if there is something which you do not understand <a href="https://github.com/marcuswhybrow/minecraft-server-manager/issues">post an issue</a> and I will help you out and update the documentation to better prevent confusion in the future.</p>
|
<p>Equally if there is something which you do not understand <a href="https://github.com/msmhq/msm/issues">post an issue</a> and I will help you out and update the documentation to better prevent confusion in the future.</p>
|
||||||
|
@ -38,18 +38,18 @@ Manual Installation
|
|||||||
|
|
||||||
First create the folder where MSM will store server, jars, and other files:
|
First create the folder where MSM will store server, jars, and other files:
|
||||||
|
|
||||||
sudo mkdir /opt/msm
|
sudo mkdir -p /opt/msm
|
||||||
|
|
||||||
Second, add the user and set permissions
|
Second, add the user and set permissions
|
||||||
|
|
||||||
sudo useradd minecraft --home /opt/msm
|
sudo useradd minecraft --home /opt/msm
|
||||||
sudo chown minecraft /opt/msm
|
sudo chown -R minecraft:minecraft /opt/msm
|
||||||
sudo chmod -R 775 /opt/msm
|
sudo chmod -R 775 /opt/msm
|
||||||
|
|
||||||
If you want to store your world folders in RAM for a performance boost, create this directory in ramdisk (`/dev/shm` is the default in Ubuntu):
|
If you want to store your world folders in RAM for a performance boost, create this directory in ramdisk (`/dev/shm` is the default in Ubuntu):
|
||||||
|
|
||||||
sudo mkdir /dev/shm/msm
|
sudo mkdir /dev/shm/msm
|
||||||
sudo chown minecraft /dev/shm/msm
|
sudo chown -R minecraft:minecraft /dev/shm/msm
|
||||||
sudo chmod -R 775 /dev/shm/msm
|
sudo chmod -R 775 /dev/shm/msm
|
||||||
|
|
||||||
4. Download the MSM script and place it in `/etc/init.d`:
|
4. Download the MSM script and place it in `/etc/init.d`:
|
||||||
@ -124,7 +124,7 @@ If stuck, you can always type `msm help` for a quick list of all commands, or if
|
|||||||
[config]: {{ site.baseurl }}/docs/configuration/
|
[config]: {{ site.baseurl }}/docs/configuration/
|
||||||
[cron]: {{ site.baseurl }}/docs/concepts/cron.html
|
[cron]: {{ site.baseurl }}/docs/concepts/cron.html
|
||||||
[commands]: {{ site.baseurl }}/docs/commands/
|
[commands]: {{ site.baseurl }}/docs/commands/
|
||||||
[#26]: https://github.com/marcuswhybrow/minecraft-server-manager/issues/26
|
[#26]: https://github.com/msmhq/msm/issues/26
|
||||||
[versions]: https://github.com/marcuswhybrow/minecraft-server-manager/blob/latest/versioning/versions.txt
|
[versions]: https://github.com/msmhq/msm/blob/latest/versioning/versions.txt
|
||||||
[layout]: {{ site.baseurl }}/docs/concepts/layout.html
|
[layout]: {{ site.baseurl }}/docs/concepts/layout.html
|
||||||
[issues]: https://github.com/marcuswhybrow/minecraft-server-manager/issues
|
[issues]: https://github.com/msmhq/msm/issues
|
||||||
|
@ -18,7 +18,7 @@ Updating From Pre 0.8.0
|
|||||||
|
|
||||||
If you are upgrading from a version of MSM that does not have the update command, you will have to do one thing by hand. Download and replace your MSM script file with the latest version:
|
If you are upgrading from a version of MSM that does not have the update command, you will have to do one thing by hand. Download and replace your MSM script file with the latest version:
|
||||||
|
|
||||||
sudo wget https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/init/msm -O /etc/init.d/msm
|
sudo wget https://raw.github.com/msmhq/msm/latest/init/msm -O /etc/init.d/msm
|
||||||
|
|
||||||
Then just call the `sudo msm update` command to get all the other files automatically.
|
Then just call the `sudo msm update` command to get all the other files automatically.
|
||||||
|
|
||||||
@ -28,4 +28,4 @@ Check Your Version
|
|||||||
|
|
||||||
sudo msm version
|
sudo msm version
|
||||||
|
|
||||||
The version command will return the current MSM version you have installed, useful for checking the upgrade was successful.
|
The version command will return the current MSM version you have installed, useful for checking the upgrade was successful.
|
||||||
|
Loading…
Reference in New Issue
Block a user