To create a BOINC server you must have the following software installed:
Add the following environment variables (with appropriate changes) to your .tcshrc
# These 5 are used at compile time setenv BOINC_DB_NAME boinc_barry setenv BOINC_DB_PASSWD setenv BOINC_KEY 0xdabacafe setenv BOINC_KEY_DIR ~/keys setenv BOINC_UPLOAD_DIR ~/upload # These 3 are used at runtime setenv BOINC_DOWNLOAD_DIR ~/download setenv BOINC_UPLOAD_URL http://maggie.ssl.berkeley.edu/barry/cgi/file_upload_handler setenv BOINC_DOWNLOAD_URL http://maggie.ssl.berkeley.edu/barry/download # These 4 are for test scripts setenv BOINC_PLATFORM sparc-sun-solaris2.7 setenv BOINC_EMAIL barry@ssl.berkeley.edu setenv BOINC_USER barry setenv BOINC_MASTER_URL http:\\\\\/\\\\/maggie.ssl.berkeley.edu\\\\/~barryEach time BOINC_DB_NAME, BOINC_DB_PASSWD, BOINC_KEY, BOINC_KEY_DIR, or BOINC_UPLOAD_DIR are changed you must recompile the scheduler by going into the sched/ directory, typing "make clean", "make", and "make install".
After setting your necessary environment variables you must edit your httpd.conf to configure Apache. Add the following lines (with appropriate changes) where aliases are placed.
Alias /barry/ "/disks/philmor/a/users/barry/" <Directory> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Alias from all </Directory>This allows you to resolve URL's and path names that go to your home directory. This way you can have your upload and download directories, key directory, and cgi directory in your home directory and still have them reacheable through the web.
In addition add the following lines (with appropriate changes) where script aliases are placed.
ScriptAlias /barry-cgi/ "/disks/philmor/a/users/barry/cgi/" <Directory "/disks/philmor/a/users/barry/cgi/"> AllowOverride None Options None Order allow,deny Allow from all </Directory>This allows CGI files to be executed in the specified directory. You will put your scheduler and file_upload_handler into this directory.
You must make a directory for downloads and a directory for uploads. Make sure that the download directory is world readable. You must also make a directory to hold the different necessary keys.
Now you are ready to install BOINC. Unzip and untar the BOINC release. Type "configure", "make", and "make install". "make" will compile all the source code and "make install" will install a BOINC server in the INSTALL_DIR (currently set to /usr/local/boinc/) specified in the Makefile.
Go into the boinc/test directory, and type