/ Published in: Bash
Boot Minecraft on an Ubuntu 64-bit instance with 2GB of RAM
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash wget http://www.minecraft.net/download/minecraft_server.jar wget http://download.oracle.com/otn-pub/java/jdk/7u5-b06/jre-7u5-linux-x64.tar.gz tar zxvf jre-7u5-linux-x64.tar.gz mkdir -p -v /opt/java/64 mv jre1.7.0_05 /opt/java/64 chown -R root.root /opt/java/64/jre1.7.0_05 update-alternatives --install /usr/bin/java java /opt/java/64/jre1.7.0_05/bin/java 1 rm jre-7u5-linux-x64.tar.gz java -Xincgc -Xmx2G -jar minecraft_server.jar nogui