Make Project Script
From Unofficial BOINC Wiki
Contents |
[edit] General
The BOINC System Software provides a script make_project for creating the server components of a BOINC Powered Project. It has been tested on Linux and Solaris.
First, install all components listed in the Software Prerequisites for Hosting a BOINC Project. Then run the Make Project Script. For example:
cd tools/
./make_project cplan
creates a project with master URL http://<hostname>/cplan/ whose directory structure is rooted at $HOME/projects/cplan.
More specifically, make_project does the following:
- Create the Project Directory and its subdirectories.
- Create the project's encryption keys if necessary. NOTE: before making the project visible to the public, you must move the code-signing private key to a highly secure (preferably non-networked) Host, and delete it from the server host.
- Create and initialize the MySQL BOINC Database
- Copy source and executable files
- Generate the project's configuration file.
The script gives further instructions, namely
- It generates a template Apache config file that you can insert into /etc/apache/httpd.conf (path varies), or Include directly.
- It generates a crontab line to paste.
The command-line syntax is as follows:
make_project [options] project_name [ 'Project Long Name ' ]
Options are:
| --project_root | Project root directory path. Default: $HOME/projects/PROJECT_NAME | ||||||
| --key_dir | Where keys are stored. Default: PROJECT_ROOT/keys | ||||||
| --url_base | Determines master URL Default: http://$NODENAME/ | ||||||
| --no_query | Accept all directories without yes/no query | ||||||
| --delete_prev_inst | Delete project-root first (from prev installation) | ||||||
| --html_user_url | User URL. Default: URL_BASE/PROJECT/ | ||||||
| --html_ops_url | Admin URL. Default: URL_BASE/PROJECT_ops/ | ||||||
| --cgi_url | CGI URL. Default: URL_BASE/PROJECT_cgi/ | ||||||
| --db_host | Database host. Default: none (this host) | ||||||
| --db_name | Database name. Default: PROJECT | ||||||
| --db_user | Database user. Default: current user | ||||||
| --db_passwd | Database password. Default: None | ||||||
| --drop_db_first | Drop database first (from prev installation) | ||||||
| --verbose={0,1,2} | default: 1 | ||||||
| -v | alias for --verbose=2 | ||||||
| -h or --help | Show options | ||||||
[edit] UCB Source
[edit] Copyright ©
- 2005 University of California
- 2005 Paul D. Buck
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.

