[REQUEST] PHP method of starting server

tux_peng
Member
 
Posts: 99
Joined: Thu Dec 06, 2012 18:21

[REQUEST] PHP method of starting server

by tux_peng » Sun Dec 23, 2012 00:49

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...
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
 

User avatar
mrtux
Member
 
Posts: 141
Joined: Mon Jun 25, 2012 02:41

by mrtux » Mon Dec 24, 2012 21:55

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 &");
?>
thanks doge
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Dec 26, 2012 11:14

isnt SFTP and SSH the same thing?
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40

by RabbiBob » Wed Dec 26, 2012 14:39

Ragnar wrote:isnt SFTP and SSH the same thing?


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

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Dec 26, 2012 14:58

what?
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Wed Dec 26, 2012 17:40

Ragnar wrote:what?


SFTP is FTP over SSH:
It means encrypted, securised ftp (none can read the ftp packets) using SSH
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Dec 26, 2012 19:29

thanks for the explanation... btw, how can a kid your age, not releaving it, know so much?
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Wed Dec 26, 2012 20:51

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.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Thu Dec 27, 2012 08:03

well zeg is younger -.-
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

User avatar
mrtux
Member
 
Posts: 141
Joined: Mon Jun 25, 2012 02:41

by mrtux » Wed Jan 02, 2013 05:49

I could write a PHP server administration page for Minetest if you'd like. I could have it include a mod manager as well.
thanks doge
 

tux_peng
Member
 
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Wed Jan 02, 2013 18:04

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 &
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 93 guests

cron