ID:727278
 
(See the best response by MasterSpectra.)
I have no clue how to use SSH to set up this VPS to host my server.. PLEASE HELP!
Best response
Assuming you have WinSCP and PuTTy:

Open PuTTy

Login as root (Highly suggested)

Then type in this:
wget http://www.byond.com/download/build/493/ 493.1116_byond_linux.zip
unzip 493.1116_byond_linux.zip
cd byond
sudo make install
DreamDaemon --version

Once you have done this; Your VPS will have BYOND installed.

Then you need to log into WinSCP;

Once you are in you simply upload the host files; If you upload it as .zip then remember to unzip via PuTTy!

Then back to PuTTy!

If you made a new directory for your host files them then:

cd the_directory

Just change "the_directory" with your own directory.

Then when you are into the directory you type:

DreamDaemon hostfiles.dmb 5012 -logself -trusted

Let's split it up:
DreamDaemon - Name of the program.
hostfiles.dmb - The name of the host files (.dmb file)
5012 - The port.
-logself - Logs every error and what so ever in a log file.
-trusted - Allow file transfer from the hosted file and so on.

I hope this helped:
I'm in a hurry so sorry if I made any typos.
A question, what do I use to connect? They provided me with a 'SSH Key' but I don't know what thats for. Once i get logged in I think I got it, THANKS!
Putty
I got it all set up, but when I try to connect to the server I get connection failed.
You have to make sure the port is open.
How do I open the port?
Usually you do that using the iptables command.
Uhh no clue how to use that. Could you tell me how to open port 5012??
iptables -L

Either the result will look like this:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Or it won't. If it looks like this, your problem isn't with the firewall at all. If it doesn't look like this, post the output here and we can tell you what to do.
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[[email protected] ~]#

Thats what it looks like, so It must not be that.
What port are you running DreamDaemon on?
When you start DreamDaemon, does it say the port could not be opened, or that it could be?
It doesnt say anything because i'm using Putty to access it. And port 5012
There should be a log file that was automatically created called [game name].log. Run `cat [game name].log` and post the contents?
Sun May 6 21:38:22 2012
World opened on network port 5012.
Welcome BYOND! (4.0 Public Version 493.1116)
The BYOND hub reports that port 5012 is reachable.
In response to IDWMno
IDWMno wrote:
Sun May 6 21:38:22 2012
World opened on network port 5012.
Welcome BYOND! (4.0 Public Version 493.1116)
The BYOND hub reports that port 5012 is reachable.

Well. . . The only possibility I can come up with is that the game itself is corrupt, last try: Did you remember to set permissions for the files? left click - Properties - Octal 0777 ?
Left click where? In WINSCP?
In response to IDWMno
Yeah.
File permissions itself isn't a problem if the world started up like it did. Run `ps fx`. An entry like so does exist, right?

5249 ? S 0:51 DreamDaemon Chatters.dmb 9998 -trusted -logself

If so, what's the exact string you're using to connect to the game server?
Page: 1 2