This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
"""A python script to manage minecraft servers | |
Designed for use with MineOS: http://minecraft.codeemo.com | |
Will start servers based on the [onreboot][start] value in server.config | |
""" | |
__author__ = "William Dizon" | |
__license__ = "GNU GPL v3.0" | |
__version__ = "0.6.0" | |
__email__ = "wdchromium@gmail.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# download the necessary prerequisite components for mineos | |
pacman -S --noconfirm screen wget git rsync rdiff-backup python2-pip jre7-openjdk | |
pip2 install cherrypy==3.2.3 | |
# download the most recent mineos web-ui files from github | |
mkdir -p /usr/games | |
cd /usr/games | |
git clone git://github.com/hexparrot/mineos minecraft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# download the necessary prerequisite components for mineos | |
yum -y install screen git wget java-1.7.0-openjdk.x86_64 openssl openssl-devel | |
yum -y groupinstall "Development tools" | |
# download rdiff-backup rpm | |
mkdir -p ~/mineos-setup | |
cd ~/mineos-setup | |
wget http://pkgs.repoforge.org/rdiff-backup/rdiff-backup-1.2.8-4.el6.rf.x86_64.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# update repositories | |
apt-get update | |
# download the necessary prerequisite components for mineos | |
apt-get -y install screen python-pip rdiff-backup git openjdk-7-jre-headless | |
pip2 install cherrypy==3.2.3 | |
# download the most recent mineos web-ui files from github |
NewerOlder