ID:184858
 
I just bought a shell server but I dont remember how to install byond on it, could anyone show me a tutorial or give me the first few steps?
when you download and unzip the byond.zip (for linux, *not* for windows), type 'cd byond' to enter the newly unpacked directory. then type 'make'. read carefully what you see on the screen, and follow those directions.
In response to digitalmouse (#1)
Do you know a place where i could find a byond zip folder like that? Thanks lol
In response to Nicoleash (#2)
Im so stupid, sorry, i looked at the download section right after I posted that lol..
In response to Nicoleash (#3)
How do i unzip it?
In response to Nicoleash (#4)
you should be able to say 'unzip filename.zip'.

if not, you will have to change to the root user and install the unzip program. this will depend on the operating system you are using for a shell server. debian uses apt-get, red hat uses rpm, etc., to install software from online repositories.
In response to digitalmouse (#5)
Im not sure Im doing this right, can you tell me what im doing wrong?



darkmyst@godlike:~$ cd byond
darkmyst@godlike:~/byond$ make
There are two options for installing BYOND. You can install
it for all users or you can install it for your own personal
use. To install for all users, you must run this makefile
as root. In that case, edit this makefile, configure the
installation parameters to your liking, and run 'make install'.

To install for your personal use, simply put the 'byond'
directory where you want to keep it and type 'make here'.

darkmyst@godlike:~/byond$ make here
***************************
Now run the following command:

source /home/mud/darkmyst/darkmyst/byond/bin/byondsetup

If it generates errors, your shell is not compatible with 'sh', so you will
have to edit byondsetup and make it work with your shell. If the script works, you should be able to run DreamDaemon.

IMPORTANT: once you have the script working, you must add the above line
to your startup script. The name of your startup script depends on the
shell you use. Typical ones are .profile or .bash_profile.

Once everything is working, you can find out more about the software
by doing 'man DreamDaemon'. A host server has also been included
so edit host/hostconf.txt and boot up your world server!
***************************
darkmyst@godlike:~/byond$ source /home/mud/darkmyst/darkmyst/byond/bin/byondsetup
darkmyst@godlike:~/byond$ man DreamDaemon
darkmyst@godlike:~/byond$
darkmyst@godlike:~/byond$ DreamDaemon /bin/Test/Test.dmb 3768 &
[1] 27349
-bash: /home/mud/darkmyst/darkmyst/byond/bin/DreamDaemon: Permission denied
[1]+ Exit 126 DreamDaemon /bin/Test/Test.dmb 3768
darkmyst@godlike:~/byond$
In response to Nicoleash (#6)
k, if you can tell me this last thing I wont post anymore lol, what is the command to end the process? (Stop hosting)
In response to Nicoleash (#7)
Well I normally use a command called tops(I think that is it) that brings up a system processes list close to that of Windows' Ctrl-Alt-Del. I think "kill [pid]" will work as well, assuming you know the pid.
In response to Scoobert (#8)
I believe the command is top

You can also use ps (which I prefer for this purpose). And yes, the kill command is what you use to shut down the server. I just made a post about it here: [link]
In response to Crispy (#9)
to expand on Crispy's post, here is an excerpt from my hosting FAQ for digitalBYOND:

'First off you need to know the process id of the running game:

ps aux | grep Dream

The above line will look for all the programs that start with 'Dream'. You should see an output like this:

darkmyst 3768 0.4 5.7 13428 7276 ? S Sep15 5:23 DreamDaemon /bin/Test/Test.dmb 3768

The number after your name is important (3768 in the above example, but it might be different each time you start the game), make a note of that number, then type:

kill -9 (put the number you got from the 'ps...' output here) <--- for killing off the game
kill -15 (number here) <--- for 'gracefully' shutting down the game
kill -10 (number here) <--- for rebooting the game (thank Dan for that tidbit)'

that should do the trick.