ID:967170
 
Hey, i would to know how to host a server on ubuntu? I've tried to install it by typing on terminal

wget http://games.byond.com/download/byond.linux.zup but it won't donwload it.
I don't know where you got that link from ...

http://www.byond.com/download/build/496/ 496.1138_byond_linux.zip

The above is from the download section...

Do you have root access?
If you do have root access run copy and paste the below into the terminal

wget http://www.byond.com/download/build/496/496.1138_byond_linux.zip
wget http://www.byond.com/download/build/gcc/libstdc++-libc6.2-2.so.3
wget http://www.byond.com/download/build/gcc/libstdc++.so.5
unzip 496.1138_byond_linux.zip
cd byond
make install
DreamDaemon -version


The two GCC libs are downloaded incase you need them although it may not be needed

Then you can run the game like so

./DreamDaemon game.dmb 12345 -trusted -logself


-logself will out put errors and the like, also if it can connect to the hub using the supplied port.

Also remember you may need to open the port in iptables.

iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport PORT -j ACCEPT


PORT would be the one you chose prior.
I do have root access, i just did everything you said and couldn't get pass this step


./DreamDaemon game.dmb 12345 -trusted -logself

After that i got

-bash: ./DreamDaemon: no such file or directory.
Ahh sorry remove the ./ , that's my habbit

DreamDaemon game.dmb 12345 -trusted -logself &

make sure you change game.dmb and the PORT (12345) to something you want to use.

[EDIT] As DreamDaemon is now a global command and can be called from anywhere there is no need for the ./ - some scripts I create using bash need the ./ to execute the script, sorry about any confusion with that and I hope this edit fixes up any curiosity you had with ./

tl;dr - I create scriptz and use ./ to execute them.
Haha actually i read it. Anyways again i just did that and i got

DreamDaemon: cannot open file game.dmb

EDIT: Not sure if using the right port tho.
Well of course you are suppose to change game.dmb to the game you want to host...
Oh, would you mind explaining that to me? I'm kind of new at this.
You need to change game.dmb to the name of your DMB file, for example HeroesUnited2.dmb
In response to Darker Legends
While that is correct you still have to cd to the location of the DMB file.

If you cant manage do run a simple command you might want to stick to Windows no offense.
You can also point Dream Daemon to the directory. DreamDaemon directory/game.dmb port -trusted &