Minecraft Server Installation
fr:Installation Serveur Minecraft es:Instalación del servidor de Minecraft en:Minecraft Server Installation it:Installazione Server Minecraft
Introduction Minecraft server
Minecraft is a sandbox construction game created by Mojang AB founder Markus "Notch" Persson, inspired by Infiniminer, Dungeon Keeper and previous Notch, Legend of the Chambered and RubyDung games. The gameplay involves players interacting with the game world by placing and breaking different types of blocks in a three-dimensional environment. In this environment, players can create creative structures, creations, and artwork on multiplayer servers and solo worlds in multiple game modes.
We will show you here how to install your Minecraft server rental .
== Prerequisites for your Minecraft server ==
At least :
- Ubuntu 12.04 LTS
- Debian 7
- Fedora 17
- CentOS 6
The others have not yet been tested, any distribution with tmux 1.6 and a JRE 1.7.0 should be compatible with the Minecraft server.
Installing dependencies
Ubuntu
- 64-bit
sudo dpkg --add-architecture i386 sudo apt update sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux default-jre
- 32-bit
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux default-jre
Debian
- 64-bit
sudo dpkg --add-architecture i386 sudo apt update sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux default-jre
- 32-bit
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux default-jre
Fedora
- 64-bit & 32-bit
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux java-1.8.0-openjdk
CentOS
- 64-bit & 32-bit
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux java-1.8.0-openjdk
Installation
Creation of the user and his login
adduser mcserver
Note : do not put mcserver in password. Use a password strong!
passwd mcserver
su - mcserver
=
Downloading the installation script ===
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh mcserver
Run the installer and follow the instructions
./mcserver install
Use
All control
A complete list of control can be found by executant :
./mcserver
start :
./mcserver start
stop
./mcserver stop
restart
./mcserver restart
Update Check if updates are available and apply them. The server will be updated and restart if necessary.
./mcserver update
Backup Backs up the entire server under a bzip2 archive.
./mcserver backup