Skip to content

Instantly share code, notes, and snippets.

@hexparrot
Last active March 17, 2020 22:03

Revisions

  1. hexparrot revised this gist May 26, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install_mineos
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@
    apt-get update

    # download the necessary prerequisite components for mineos
    apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-7-jre-headless
    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
    mkdir -p /usr/games
  2. hexparrot revised this gist Jan 11, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install_mineos
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,7 @@ 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

    # distribute service related files
    cd /usr/games/minecraft
  3. hexparrot revised this gist Dec 16, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_mineos
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-7-jre-headle
    # download the most recent mineos web-ui files from github
    mkdir -p /usr/games
    cd /usr/games
    git clone https://github.com/hexparrot/mineos minecraft
    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
  4. hexparrot revised this gist Nov 1, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_mineos
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-7-jre-headle
    # download the most recent mineos web-ui files from github
    mkdir -p /usr/games
    cd /usr/games
    git clone --depth 1 https://github.com/hexparrot/mineos minecraft
    git clone https://github.com/hexparrot/mineos minecraft
    cd minecraft
    git config core.filemode false
    chmod +x server.py mineos_console.py generate-sslcert.sh
  5. hexparrot revised this gist Oct 10, 2013. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion install_mineos
    Original file line number Diff line number Diff line change
    @@ -25,4 +25,7 @@ update-rc.d minecraft defaults
    cp mineos.conf /etc/

    # generate self-signed certificate
    ./generate-sslcert.sh
    ./generate-sslcert.sh

    # start the background service
    service mineos start
  6. hexparrot created this gist Oct 10, 2013.
    28 changes: 28 additions & 0 deletions install_mineos
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    #!/bin/sh

    # update repositories
    apt-get update

    # download the necessary prerequisite components for mineos
    apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-7-jre-headless

    # download the most recent mineos web-ui files from github
    mkdir -p /usr/games
    cd /usr/games
    git clone --depth 1 https://github.com/hexparrot/mineos minecraft
    cd minecraft
    git config core.filemode false
    chmod +x server.py mineos_console.py generate-sslcert.sh

    # distribute service related files
    cd /usr/games/minecraft
    cp init/mineos /etc/init.d/
    chmod 744 /etc/init.d/mineos
    update-rc.d mineos defaults
    cp init/minecraft /etc/init.d/
    chmod 744 /etc/init.d/minecraft
    update-rc.d minecraft defaults
    cp mineos.conf /etc/

    # generate self-signed certificate
    ./generate-sslcert.sh