How to:
Step 1:
Open your browser and head over to Slicehost and select "Sign up"
Sign up button
Step 2:
Enter your personal information, feel free to refer to me in the referral field, I would appreciate it: [email protected]
Select your Slice size, chose the Ubuntu (hardy) version from the drop down menu and give your Slice a name.
Step 3:
Install the following software
PuTTy: Link
WinSCP: Link
Step 4:
By now you should have received a mail from Slicehost notifying your Slice was created.
This mail should include and IP address and info about the user and password.
This info is needed to access your Slice, keep it safe!
Step 5:
Start PuTTy, enter the IP address provided by Slicehost and click [Open] to connect to your Slice
A black screen will appear saying "login as:", enter the user provided by Slicehost and press [Enter]
You will then be asked to enter your password, enter the password provided by Slicehost and press [Enter]
Note: For security reasons the password you enter will not show up when you start typing, this is normal.
Now you are connected to your Slice and we are able to setup the Slice so it's able to host your world.
Step 6:
Change your password. To do so enter "passwd" and press [Enter], the system will ask you to enter a new password twice after which the password is changed.
Step 7:
We now need to install all the needed software for running your world. Below you will see an overview of what you need to type to setup your Slice. Press [Enter] after each line and wait for the process to be done before moving to the next line. The last line will update everything you just installed, this is to make sure your software is complete and up to date.
apt-get install make
apt-get install gcc
apt-get install unzip
apt-get install ia32-libs
apt-get install screen
apt-get update
Step 8:
Now we need to install BYOND, go here and right click the link of the Linux version of BYOND and copy the direct download link.
Example: When this article was written the link was: http://www.byond.com/download/build/453.1035_byond_linux.zip
Step 9:
Go back to PuTTy and enter the following lines and press [Enter] after each, make sure you update the link with the direct link you found at step number 8
wget http://www.byond.com/download/build/453.1035_byond_linux.zip
unzip 453.1035_byond_linux.zip
cd byond
sudo make install
DreamDaemon --version
Step 10:
The version of DreamDaemon should now be displayed. The only thing left to do is upload the hostfiles and start hosting. To do so, start WinSCP and click [New]
Enter the Slice IP at "Host name:"ť
Enter your user under "User name:"
Enter your new password under "Password:"
Click [Login]
Note: You can also save this info by clicking [Save], WinSCP will ask for a session name after which it will appear in the list. You can double click it to login.
Step 11:
You will now see the files of your PC on the left, and the files of your Slice on the right. You can basically drag & drop any files from left to right and vice-versa.
Step 12:
Create your "World executable files" using the Dreammaker. This will create a zip containing the files needed to host your game. Unpack the zip on your PC. Use WinSCP to transfer the files to your Slice. Make sure they are in a map which is called similar to your world.dmb file. So if your game is called "MyWorld" make sure the "MyWorld.src" and "MyWorld.dmb"ť file are in a folder called "MyWorld"ť, in the following steps we will assume the game is called "MyWorld"
Step 13:
Log back in with PuTTy and type "screen" and press [Enter]. A message will appear, press [Spacebar].
Step 14:
Enter the following lines each followed by pressing [Enter]
cd MyWorld
DreamDaemon MyWorld.dmb 8000 -logself
Step 15:
The game is now being host, all we have left to do is detach the screen and close PuTTy. To do so hold [Ctrl] and press [A], then press [D].The process will now keep running and you can close PuTTy.
Congratulations, your game is now being host 24/7 on a Slice!
Additional info:
I'd like to take a moment to explain how screen works. If you would host your game without using screen the hosting would stop as soon as you close PuTTy.
Here is a good guide on how to use Screen: Link
Some quick commands for screen:
screen -ls (displays a list of screens)
screen -r screenname (allows you to reattach to a screen)
screen -x screenname (kills that specific screen)
And keep in mind you can detach a screen as described in step 15.
Also, the putty link doesn't have a destination URL.