MineOS is a complete server system that can help Minecraft players and users successfully host Minecraft on Linux or BSD platforms. Thanks to this platform, you can automatically manage your backups,archives, performance statistics and other functions. Below is a guide on how to set up a Minecraft server on MineOS
Setup, Install the required dependencies
In order to install the required dependencies, you need to enter the following:
apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-7-jre-headless
Create a directory and download MineOS. To do this, please use the following command:
mkdir -p /usr/games
cd /usr/games git clone git://github.com/hexparrot/mineos minecraft cd minecraft git config core.filemode false chmod +x server.py mineos_console.py generate-sslcert.sh
ln -s /usr/games/minecraft/mineos_console.py /usr/local/bin/mineos
Copy files and adjust permissions by following command:
cp /usr/games/minecraft/init/mineos /etc/init.d/
chmod 744 /etc/init.d/mineos
update-rc.d mineos defaults
cp /usr/games/minecraft/init/minecraft /etc/init.d/
chmod 744 /etc/init.d/minecraft
update-rc.d minecraft defaults
cp /usr/games/minecraft/mineos.conf /etc/
Create a self-signed certificate for HTTPS
cd /usr/games/minecraft ./generate-sslcert.sh
Then you need to start MineOS
service mineos start
Create a user
Then, log into the web interface. Go to https://yourip:8888 Then your browser will ask if you want to connect because of the self-signed certificate. Confirm the connection. Log in using your root credentials.
- In the left pane, click Manage Profiles and create at least one server profile.
- Click update profile.
- Log out as root.
Create a server.
- Log in as the user you created earlier.
- Click Create New Server in the left pane.
- Fill in the settings of your Minecraft server.
- Click “Control Panel” in the left pane.
- Select your server.
- Click Start.
If all steps were followed correctly, then your server will start. Then you will have the following – “-1” for “Players Online”. This will become 0. After that, Connect to your server with its IP or domain name (if you created one) and port from the settings server. The default port is 25565.