Running Cuberite at startup on a Raspberry Pi
#7
If you use DietPi instead of the Raspbian image you will start out with an extremely minimal system.
http://dietpi.com/

Then go through the graphical menus and select Cuberite.
Click OK and you are done!
Cuberite is installed as a service and starts on boot!


I have my Pi Zero running headless on wifi so I had a couple of extra steps.
After flashing the initial image (and before the steps above) I opened the dietpi.txt and set wifi enabled and put in the wifi details and a static ip
Code:
Wifi_Enabled=1 #Enter your Wifi details below, if applicable (Case Sensitive). Wifi_SSID=MyWifiName Wifi_KEY=MyPassword #Enter your Static Network details below, if applicable. Use_Static=1 Static_IP=192.168.1.110 Static_Mask=255.255.255.0 Static_Gateway=192.168.1.2

That meant on first boot it auto-configured itself to connect to wifi and I was able to connect over ssh and do the install steps above.

Code:
ssh root@192.168.1.110 (password dietpi)
Reply
Thanks given by:


Messages In This Thread
RE: [Guide] - Running MCServer at startup on a Raspberry Pi - by opticyclic - 12-05-2016, 12:06 PM



Users browsing this thread: 1 Guest(s)