Use this to easily install Java and a Minecraft server on a Linux server.
wget https://github.com/silvertriclops/MCSLI/archive/master.zip
unzip master.zip
su
chmod +x install.sh
chmod +x start.sh
exit
./install.sh # tells the computer where Java is so it knows how to start Minecraft
./start.sh # starts the Minecraft server. You may want to run this command inside screen.
Currently this only works on Debian/Ubuntu. If you want to use it on Fedora/SUSE, you'll need to make some changes to install.sh
.
- Fedora/SUSE support
- Option to install Java to /opt/oracle/java/jre (or a specified directory)
- Option to install the Minecraft server to /opt/mcserver (or a specified directory)
- Option to download the latest version of Java and the Minecraft server before installation
- Change a few permissions
- Make it a bit (okay, a lot) more user friendly