[Raspberry PI] Server

DoyleChris
Member
 
Posts: 252
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

[Raspberry PI] Server

by DoyleChris » Fri Jan 04, 2019 02:14

My son wanted to start playing Minetest, so i created a server on my laptop. But I was not able to run it all the time. But I did have a Raspberry PI 3B and i knew you could run Minetest on it. So I set out to get a server running, but it was a little harder then I thought.

Then I hopped onto the Minetest IRC channel, and NathanS was nice enough to help me. And he was able to compile a Stable 4.17.1 version and a 5.0 Dev version.

So requirements that you need (what I am running):
Raspberry PI 3B
Raspbian (command line if possible)
libhiredis-dev package (sudo apt-get install libhiredis-dev)
Able to share the game folder to install worlds and mods

Download corresponding build you want. Extract it. And run /EXTRACTEDFOLDER/bin/./minetestserver (i had to run sudo ./minetestserver)

Stable http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
Dev http://www.nathansalapat.com/downloads/5.0.tar.gz

Thank you to NathanS for the help and building the program.
 

User avatar
Nathan.S
Member
 
Posts: 913
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Raspberry PI] Server

by Nathan.S » Sat Jan 05, 2019 16:33

It shouldn't be necessary to run minetestserver with sudo. I never needed to in any of my testing, and I was able to connect to the server from other computers on the home network.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
BBmine
Member
 
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Raspberry PI] Server

by BBmine » Mon Jan 07, 2019 03:14

Nathan.S wrote:It shouldn't be necessary to run minetestserver with sudo. I never needed to in any of my testing, and I was able to connect to the server from other computers on the home network.

I believe he had to use sudo because it was throwing an error about not have permission. Run the following command to fix it:
Code: Select all
sudo chmod a+w /var/log/minetest
 

User avatar
Miniontoby
Member
 
Posts: 200
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Raspberry PI] Server

by Miniontoby » Mon Jun 03, 2019 13:58

You can use the "snap" version of minetest (only server) you can download it from the console sudo apt-get install dsnap, then sudo snap install minetest and then snap run minetest --server --worldname <worldname> --console replace <worldname> to your worldname (first run it without the worldname and then you can copy your world to "/home/pi/snap/minetest/820/worlds" and add the worldname)
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

PizzaIstGeil1
New member
 
Posts: 6
Joined: Sun Jul 21, 2019 03:22
In-game: PizzaIstGeil1

Re: [Raspberry PI] Server

by PizzaIstGeil1 » Sun Jul 21, 2019 04:01

DoyleChris wrote:My son wanted to start playing Minetest, so i created a server on my laptop. But I was not able to run it all the time. But I did have a Raspberry PI 3B and i knew you could run Minetest on it. So I set out to get a server running, but it was a little harder then I thought.

Then I hopped onto the Minetest IRC channel, and NathanS was nice enough to help me. And he was able to compile a Stable 4.17.1 version and a 5.0 Dev version.

So requirements that you need (what I am running):
Raspberry PI 3B
Raspbian (command line if possible)
libhiredis-dev package (sudo apt-get install libhiredis-dev)
Able to share the game folder to install worlds and mods

Download corresponding build you want. Extract it. And run /EXTRACTEDFOLDER/bin/./minetestserver (i had to run sudo ./minetestserver)

Stable http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
Dev http://www.nathansalapat.com/downloads/5.0.tar.gz

Thank you to NathanS for the help and building the program.

Thanks
 


Return to Builds



Who is online

Users browsing this forum: No registered users and 1 guest