How to install MineOS Node on Ubuntu Server 14.04.2 clean install
I am running a VM with 2GB RAM and 2 CPU cores.
This may work on other versions of Ubuntu but I have not tested your mileage may vary (YMMV).
I did a clean install of the Ubuntu server. I will assume you only have console access (just in case some of you start that way for some reason).
Log into your console with your username and password.
elpres@ubuntu:~$
from here you want to make sure you have sudo available, you can just type sudo and press enter and it should either say command not found or itâll spit out how to use sudo.
If you donât have sudo youâll have to know the root password and log in using root. You can use su from your account to get to a root login or just logout and login.
Commands to run
PART 1) Get ssh access -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-server
After this you can ssh into your server â get the ip by typing
ifconfig | grep âinet addrâ
hopefully you only have two listed and it will be the address that is not 127.0.0.1
You should be able to ssh into your server now, which is what I am going to do.
So, now we are SSHâd into the server you can proceed to part 2.
PART 2) install mineos-node -
sudo apt-get install -y nodejs nodejs-legacy npm git rdiff-backup screen openjdk-7-jre-headless
sudo mkdir âp /usr/games
cd /usr/games
sudo git clone https://github.com/hexparrot/mineos-node.git minecraft
cd minecraft
sudo chmod +x generate-sslcert.sh
sudo ./generate-sslcert.sh
sudo npm install --all
PART 3) start mineos automatically on startup -
While you can do this, it is recommended to start the webui manually for testing and bug reporting purposes
MANUAL START COMMANDS-
cd /usr/games/minecraft
sudo node webui.js
AUTOMATIC/ START ON BOOT COMMANDS-
sudo cp /usr/games/minecraft/init/upstart_conf /etc/init/mineos.conf
sudo start mineos
CONGRATULATIONS â mineos node is now installed and should be working on your Ubuntu 14.04.2 system, access your web ui at https://youriphere:8443
e.g.
https://192.168.196.131:8443/