Page 1 of 1

Run Your Own Minetest Server In 4 easy Steps (Leave A Comment)

PostPosted: Sat Jun 30, 2012 09:04
by madchicken13
Do you what to run your own minetest server? Well follow these
4 steps
and ..... your dream comes true

1 ) Download this ZIP file and extract it : https://sites.google.com/site/customclientdownload/download/MinetestServer.zip?attredirects=0&d=1

2 ) Put the World you want for your server in the worlds folder
in the Server 0.4 folder
Path : <Path to the server 0.4 folder>server 0.4/worlds

3 ) Forward a PORT to Port 30000 For your minetest server
(Theres Programs to do that)

4 ) Run the .bat file in the bin folder and your server is up

Note : Your Address (IP) is Your IP at whatsmyip.us


Have fun with your Minetest server

PS : If you Know how to run a server with the bat file download it here : https://sites.google.com/site/customclientdownload/download/runserver.zip?attredirects=0&d=1

PostPosted: Sat Jun 30, 2012 12:39
by sdzen
wow wouldnt it have just been easier to just post a download for the bat file? after all the whole zip was corrupted from what i saw

PostPosted: Sat Jun 30, 2012 14:16
by Calinou
-_-
We have a wiki, please read (and contribute) to it instead.
http://wiki.minetest.com/Setting_up_a_server

PostPosted: Sat Jun 30, 2012 19:56
by madchicken13
I made this for people to download and run so people dont need to make the bat file themselves.

PostPosted: Sat Jun 30, 2012 19:57
by madchicken13
ill make a download link for the bat file

PostPosted: Sun Dec 23, 2012 17:13
by Issac
wait wut do it slowly and easy

PostPosted: Mon Dec 24, 2012 18:35
by 2232
Issac wrote:wait wut do it slowly and easy

just go to the wiki. Its easier that way :)

PostPosted: Thu Dec 27, 2012 20:23
by tux_peng
I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &

Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#!/bin/sh
####################################

# What to backup.
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files


6.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
chmod 755 /etc/cron.daily/backup

PostPosted: Fri Jan 04, 2013 03:59
by spooks
madchicken13 wrote:Do you what to run your own minetest server? Well follow these
4 steps
and ..... your dream comes true

1 ) Download this ZIP file and extract it : https://sites.google.com/site/customclientdownload/download/MinetestServer.zip?attredirects=0&d=1

2 ) Put the World you want for your server in the worlds folder
in the Server 0.4 folder
Path : <Path to the server 0.4 folder>server 0.4/worlds

3 ) Forward a PORT to Port 30000 For your minetest server
(Theres Programs to do that)

4 ) Run the .bat file in the bin folder and your server is up

Note : Your Address (IP) is Your IP at whatsmyip.us


Have fun with your Minetest server

PS : If you Know how to run a server with the bat file download it here : https://sites.google.com/site/customclientdownload/download/runserver.zip?attredirects=0&d=1

The files in the /builtin folder won't extract, even with rwxrwxrwx permissions.

PostPosted: Fri Jan 04, 2013 18:31
by tux_peng
His directions are obviously for windows, they extract fine for me though. If you rum linux, use my instructions or compile your own

http://wiki.minetest.com/wiki/Setting_up_a_server-_Ububtu

PostPosted: Sat Jan 05, 2013 05:50
by spooks
tux_peng wrote:His directions are obviously for windows, they extract fine for me though. If you rum linux, use my instructions or compile your own

http://wiki.minetest.com/wiki/Setting_up_a_server-_Ububtu

I'm using OpenSUSE (12.1).

PostPosted: Sat Jan 05, 2013 18:54
by tux_peng
Linux is linux, it's mostly the same. The only difference is how you install. I think OpenSUSE has a package for minetest http://software.opensuse.org/download.html?project=games&package=minetest

If that is not current you can easily compile your own...


I just wrote up
http://wiki.minetest.com/wiki/Setting_up_a_server-OpenSUSE

PostPosted: Mon Jan 07, 2013 00:24
by spooks
tux_peng wrote:Linux is linux, it's mostly the same. The only difference is how you install. I think OpenSUSE has a package for minetest http://software.opensuse.org/download.html?project=games&package=minetest

If that is not current you can easily compile your own...


I just wrote up
http://wiki.minetest.com/wiki/Setting_up_a_server-OpenSUSE

OpenSUSE doesn't have a repo for the --server install. It uses Irrilicht Engine, but I don't know if it can be used on a dedicated Server (Which is OpenSUSE 12.2), on which I want the Minetest Server.

PostPosted: Mon May 13, 2013 22:28
by 12Me22
How would you restore from one of these backups?

i tried extracting the backup .tar.xz to the worlds folder (overwritting the existing files) and now I get this error after the game starts:

Cannot open chunk metadata
In thread 7fd0aa623700:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fd0a9e22700:
#0 virtual void* EmergeThread::Thread()
#1 MapBlock* ServerMap::loadBlock(v3s16)
#2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool)
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7fd0aa623700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
DEBUG STACK FOR THREAD 7fd0b0aa2740:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
(Leftover data: #3 void Server::step(float))
Aborted





tux_peng wrote:I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &

Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#!/bin/sh
####################################

# What to backup.
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files


6.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
chmod 755 /etc/cron.daily/backup

PostPosted: Mon May 13, 2013 23:27
by 12Me22
Server is back up - it was a permissions issue on the restored files.

PostPosted: Fri May 17, 2013 09:35
by keyxmakerx
tux_peng wrote:I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &

Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#!/bin/sh
####################################

# What to backup.
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files


6.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
chmod 755 /etc/cron.daily/backup


J/s I prefer pear os server. Prebuilt with webmin.

Re: Run Your Own Minetest Server In 4 easy Steps (Leave A Co

PostPosted: Sat Nov 19, 2016 12:09
by QueenVasma
I run this:
apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &

and I get this back:
nohup: failed to run command 'minetest': No such file or directory

HELP PLEASE!!

I have Ubuntu 16.10