Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Downloads, installs and configures components required for the MineOS Web User Interface on pacman based systems using systemd.
# download the necessary prerequisite components for mineos
pacman -S --noconfirm git rsync rdiff-backup screen jre8-openjdk-headless nodejs npm base-devel
# download the most recent mineos web-ui files from github
mkdir -p /usr/games
cd /usr/games
git clone minecraft
cd minecraft
git config core.filemode false
chmod +x service.js mineos_console.js webui.js
npm install --all --unsafe-perm
ln -s /usr/games/minecraft/mineos_console.js /usr/local/bin/mineos
# distribute service related files
cp /usr/games/minecraft/init/systemd_conf /etc/systemd/system/mineos.service
systemctl enable mineos
# generate self-signed certificate
# start the background service
systemctl start mineos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.