Here's a few basic tutorials on how to install BYOND and DMCGI on a Linux computer, it includes methods for normal users, and computer administrators.
Firstly, we'll go over getting everything running in a 'superuser' environment, this means as the 'root' user.
Step 1: Download and extract the latest BYOND linux version.
Step 2: 'cd' to the directory where BYOND was extracted to (usually the directory you're already in's "/byond" folder)
Step 3: Run the command "make install", this will fully install BYOND for all users to use. This includes the "DreamDaemon", "DreamSeeker", and "DreamMaker" commands.
That's it for installation, DMCGI will already work on your webserver if you rename the .dmb file to a .cgi file.
But if you want to use .dmb you have to tell your webserver that .dmb needs to be read as a CGI-script.
For most Apache servers this is simply editing your httpd.conf file to include .dmb in the "CGI-Script" parameter. (Make sure you always have "ExecCGI" enabled for your CGI directories)
Steps 1 & 2 are identical to Steps 1 & 2 from above.
Step 3: Run the command "make here" to install for your account only, follow the on-screen intructions.
Step 4: Edit your startup script to include the "source" command, the startup script is usually in your top-most directory and is usually named either ".profile" or ".bash_profile". The command "ls -a" will display what you need.
Since you usually don't have access to the actual webserver configuration you have a few more steps for DMCGI. First off, you have to change the world/executor variable of your DMCGI source to the location of DreamDaemon on your account plus "-CGI -logself" to insure it runs as CGI, and you MUST rename your .dmb file to .cgi since your server has no idea what a .dmb file is.
REMEMBER: Always chmod your CGI files to 755 to insure proper permission settings.
Jan 23 2005, 10:54 pm