Minecraft server setup
- Create a bootable USB stick (windows tutorial)
- Insert the USB stick into the old machine
- Turn the windows machine you want to convert to linux on, then hold Escape, F2, F10, or F12 (i.e. follow these instructions)
- Follow the instructions to install ubuntu once booted, just doing a regular install
- Install curl,
sudo apt install curl -y
- Add your key to the
~/.ssh/authorized_keys
e.g.curl https://github.com/mckornfield.keys >> ~/.ssh/authorized_keys
- Install ssh-server and screen, e.g.
sudo apt install openssh-server screen -y
- Clone this repository to
/opt/mc-server
, e.g.git clone https://github.com/mckornfield/mc-server.git /opt/mc-server
- Run the setup, e.g.
sudo /opt/mc-server/setup.sh
- Install screen
sudo apt install screen
- Start the server, e.g.
/opt/mc-live-server/run_server.sh