Page 1 of 1

[REQUEST] PHP method of starting server

PostPosted: Sun Dec 23, 2012 00:49
by tux_peng
I have full root access to a VPS that I am setting my server up on, I use SSH, SFTP & SCP

I currently start my server, by running
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
ohup node minetestserver > /dev/null 2>&1 &

as root

I was just wondering if there is a PHP GUI to start my server from, nothin fancy- just something similar to BukkitWebby?


I unfortunately stink at PHP programing, or I might take a crack at it...

PostPosted: Mon Dec 24, 2012 21:55
by mrtux
This would work:
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
<?php
exec("ohup node minetestserver > /dev/null 2>&1 &");
?>

PostPosted: Wed Dec 26, 2012 11:14
by Ragnar
isnt SFTP and SSH the same thing?

PostPosted: Wed Dec 26, 2012 14:39
by RabbiBob
Ragnar wrote:isnt SFTP and SSH the same thing?


SFTP runs its functions on top of SSH (or other secure channel protocols).

PostPosted: Wed Dec 26, 2012 14:58
by Ragnar
what?

PostPosted: Wed Dec 26, 2012 17:40
by Zeg9
Ragnar wrote:what?


SFTP is FTP over SSH:
It means encrypted, securised ftp (none can read the ftp packets) using SSH

PostPosted: Wed Dec 26, 2012 19:29
by Ragnar
thanks for the explanation... btw, how can a kid your age, not releaving it, know so much?

PostPosted: Wed Dec 26, 2012 20:51
by rarkenin
Ragnar wrote:thanks for the explanation... btw, how can a kid your age, not releaving it, know so much?


I'm 16 and I know that much. It just takes curiousity.


tux_peng wrote:I have full root access to a VPS that I am setting my server up on, I use SSH, SFTP & SCP

I currently start my server, by running
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
ohup node minetestserver > /dev/null 2>&1 &

as root

I was just wondering if there is a PHP GUI to start my server from, nothin fancy- just something similar to BukkitWebby?


I unfortunately stink at PHP programing, or I might take a crack at it...


You mean:

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
nohup node minetestserver > /dev/null 2>&1 &


, right?

I don't think ohup is a command.

PostPosted: Thu Dec 27, 2012 08:03
by Ragnar
well zeg is younger -.-

PostPosted: Wed Jan 02, 2013 05:49
by mrtux
I could write a PHP server administration page for Minetest if you'd like. I could have it include a mod manager as well.

PostPosted: Wed Jan 02, 2013 18:04
by tux_peng
I've been managing through SSH, as I said; but a PHP server admin might make minetest more popular, even get some specialized mintest-ready host...

Yes, earlier I meant
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
nohup minetest --server &