<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-16186890</id><updated>2011-12-13T20:01:04.964-08:00</updated><title type='text'>Boinc Settings</title><subtitle type='html'>Hello, I am Jacques Fontignie. I have done a trainee at CERN to work on the malariaControl.net project. It is a Boinc project. I had some problems and here are the solutions that I found. This page contains only some solutions if you want to configure BOINC. I have had some problems that have no link with Boinc. You can get the solutions &lt;a href="http://fontignie.blogspot.com"&gt;here&lt;/a&gt;.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16186890.post-113835510638761377</id><published>2006-01-27T01:25:00.000-08:00</published><updated>2006-01-27T04:40:26.113-08:00</updated><title type='text'>Install BOINC on Mandriva</title><content type='html'>The installation is quite the same as on Ubuntu. I will just explain the main differences:&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;mysqlDB&lt;/h2&gt;&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;To create a project, you need mysqldb and it not available on mandriva. You have to download the source on &lt;a href="http://sourceforge.net/projects/mysql-python"&gt;sourceforge&lt;/a&gt;&lt;/li&gt;   &lt;li&gt;You need mysql_devel and python_devel.&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;Untar mysql-python and go in the new directory.&lt;/li&gt;   &lt;li&gt;Compile it:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;python setup.py build&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;As root, install it:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;python setup.py install&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h2&gt;htpasswd&lt;/h2&gt;&lt;br /&gt;You can use htpasswd in Mandriva but the executable is not at the same location. It is in /usr/sbin/htpasswd&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-113835510638761377?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/113835510638761377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=113835510638761377' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/113835510638761377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/113835510638761377'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2006/01/install-boinc-on-mandriva.html' title='Install BOINC on Mandriva'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-113076437949887595</id><published>2005-10-31T04:57:00.000-08:00</published><updated>2006-01-30T03:14:00.473-08:00</updated><title type='text'>Install a real boinc server on ubuntu (breezy badger)</title><content type='html'>This howto will try to explain step by step how to install a boinc server on ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Install Ubuntu &lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Get the ubuntu distribution and tip a CD, you can get the CD on &lt;a href="http://www.ubuntu.com/download/"&gt;http://www.ubuntu.com/download/&lt;/a&gt;. When the installation runs, write server (it will install only the minimum for the installation).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;When you start Ubuntu you have some editors: nano pico, ... If you want to use a new one:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install emacs21&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Now we set where the server will download packages, With your editor, edit the file /etc/apt/sources.list. You have to be logged as root to edit this file. In the file, comment the first line (with a #) and uncomment the lines where it defines the universe repository. Some hints are written on the file. It should be easy to modify.&lt;/li&gt;   &lt;li&gt;Install ssh. We can the access from an other computer to the system.&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install ssh&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Now you have a small server that can be accessed from another computer.&lt;br /&gt;&lt;/li&gt;    &lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Installing necessary stuff&lt;/h2&gt;In this step, we will install everything that can be used by boinc.&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;First we have to install gcc,g++, automake, autoconf,... These files will be used to compile boinc:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install gcc g++ automake1.9 autoconf make&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Now, we install an apache server with mysql, with php and phpmyadmin, and openssl:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install phpmyadmin apache2 mysql-server&lt;br /&gt;libmysqlclient12-dev python-mysqldb php4-gd&lt;br /&gt;libapache2-mod-auth-mysql libssl-dev&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;You will certainly get an error when you want to add an avatar on the server: unknown function image antialias. Comment the line where it appears and it should be ok.&lt;br /&gt;&lt;li&gt;Modify the password of the mysql database. You can do it with phpmyadmin: go on $ip-adress/phpmyadmin and write as login root and without password. Then modify the password.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go on /etc/apache2/apache2.conf and add the line:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;DefaultType application/octet-stream&lt;/pre&gt;&lt;/blockquote&gt;It will avoid getting all the time a signature verification error.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;Modify /etc/group in sort that apache2 runs as boincadm (or like as you want...). Replace&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;www-data:x:33:&lt;/pre&gt;&lt;/blockquote&gt; with&lt;blockquote&gt;&lt;pre&gt;www-data:x:33:$admin&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Add these two lines to the beginning of the apache start script (called apachectl, usually in /usr/sbin on linux):&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;umask 2&lt;br /&gt;export umask&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;restart apache2:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;/etc/init.d/apache2 restart&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;We remove the database and put it into an other file, edit the file /etc/mysql/my.cnf and replace the line:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;datadir                = /var/lib/mysql&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;with&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;datadir                = mynewdir&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;Be sure that the user "mysql" has all access to this directory. Move the databases (they are in /var/lib/mysql):&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo mv /var/lib/mysql/mydatabase mynewdir/&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;You have to restart mysql:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;/etc/init.d/mysqld restart&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;li&gt;Install CVS:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install cvs&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h2&gt;Install Boinc&lt;/h2&gt;&lt;br /&gt;Okay, now let's start.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;checkout the boinc server:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout -r stable boinc&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;The boinc files will be installed in the boinc directory, you can put this directory where you want, let us just call this directory $boinc.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go into the $boinc directory, and start _autosetup:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;/pre&gt;./_autosetup&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt; Check that everything is okay and that we are going to install the server only:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;./configure --disable-client &lt;/pre&gt;&lt;/blockquote&gt;Everything should be okay, if you have some errors, you certainly forgot to install one element.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Compile it:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;make &lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Install boinc:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo make install&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h2&gt;Create a project&lt;/h2&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;First, we create keys... Go into a directory named keys and run:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;crypt_prog -genkey 1024 code_sign_private code_sign_public&lt;br /&gt;crypt_prog -genkey 1024 upload_private  upload_public&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;It creates two 1024 bits keys&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Then we create the project:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;tools/make_project&lt;br /&gt;--project_root &amp;lt;path&amp;gt;&lt;br /&gt;--db_user &amp;lt;database_user&amp;gt;&lt;br /&gt;--db_passwd &amp;lt;database_password&amp;gt;&lt;br /&gt;--key_dir &amp;lt;key_directory&amp;gt;&lt;br /&gt;--url_base &amp;lt;url_base&amp;gt;&lt;br /&gt;&amp;lt;short_name&amp;gt; &amp;lt;long_name&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;From now on the &amp;lt;path&amp;gt; will be called $project. It is within that are all the important files and &amp;lt;short_name&amp;gt; is now $project_name.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;We have to configure apache2 in sort that it displays the website: copy the file $project/$project_name.httpd.conf in /etc/apaches/sites-available. symlink (the ln command)it in sites-enabled and restart apache:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;/etc/init.d/apache2 restart&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Set the security&lt;/h2&gt;&lt;br /&gt;Theorically everything is fine, there remains one thing: remove access to ops for not authenticated users: We will do it with htaccess:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Create the directory $project usernames&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Change the rights on it:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;chmod 711 usernames&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go in the directory and create a new user that will have access to the ops web page:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;htpasswd -c .htpasswd &amp;lt;your_name&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;It will create a file .htpasswd. You can remove entry within, or add new ones with&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;htpasswd .htpasswd &amp;lt;your_name&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;without the "-c"&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;In the same directory, create a file named ".htaccess". Deny access from the web: create a new file and write within:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;AuthGroupFile /dev/null&lt;br /&gt;AuthName "DO NOT think to access this file"&lt;br /&gt;AuthType Basic&lt;br /&gt;&lt;br /&gt;deny from all&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go in $project/html/ops and create a file .htaccess, We will give access only to people who are in the .htpasswd:&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;AuthName "administration access"&lt;br /&gt;AuthUserFile PATH_TO_.HTPASSWD&lt;br /&gt;AuthGroupFile /dev/null&lt;br /&gt;AuthType Basic&lt;br /&gt;&lt;br /&gt;&amp;lt;limit GET POST&amp;gt;&lt;br /&gt;require valid-user&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;li&gt;Now you are able to go to the main page without password. But if you want to go into the ops page, you have to give a password&lt;/li&gt;&lt;br /&gt;&lt;li&gt;You can now remove the protection in $project/html/ops/cancel_wu_action.php look of the string:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;if (1) {&lt;br /&gt;echo "&lt;br /&gt;WARNING! Make sure the html/ops directory is password-protected,&lt;br /&gt;then edit html/ops/cancel_wu_action.php by hand to remove this message.&lt;br /&gt;";&lt;br /&gt;exit();&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;Invert the condition. You are now able to cancel workunits&lt;/li&gt;&lt;br /&gt;&lt;li&gt;We will now deny access to most of the ports:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT&lt;br /&gt;sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT&lt;br /&gt;sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT&lt;br /&gt;sudo iptables -A INPUT -j DROP&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;In that case, only ssh,http and ssl are accessible from the outside and you can get some message from port 25.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Tuning your boinc server&lt;/h2&gt;&lt;br /&gt;This step will explain some hints to modify the look of the server and some other useless things:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Go into the file $project/html/project/project.inc. This file contains the constants used in the server: the url, the project name, ... Modify it. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;you can see in the file that you can define the css file, the file is in $project/html/user/ . You should modify it to have the same colors as your site.&lt;/li&gt;&lt;li&gt;You have to change rights to different directories: $project/html/user_profile/images has to be apache read/write accesible.&lt;/li&gt;   &lt;li&gt;The owner of $project/upload has to be apache&lt;br /&gt;  &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Setting the forum&lt;/h2&gt;&lt;br /&gt;Now, we will set the forum and the message boards.&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Simply edit the file $project/html/ops/create_forums.php, and then run it into your server.&lt;/li&gt;   &lt;li&gt;Install php-cli: It is the php command-line:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install php-cli&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Edit the file /etc/php/php-cli/php.ini and uncomment the lines:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;;extension=mysql.so&lt;br /&gt;;extensio=gd.so&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;You can add all the extensions you need...&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Edit $project/html/ops/update_profile_pages.php and $project/html/ops/update_uotd.php. In the first line: replace with the path to the php executable:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;#!/usr/local/bin/php&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;becomes&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;#!/usr/bin/php&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;Now, create a small script:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;cd $project/html/ops;&lt;br /&gt;./update_profile_pages.php&lt;br /&gt;./update_uotd.php&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;Try to run the script to be sure it is running: You should have some warning...&lt;br /&gt;&lt;li&gt;&lt;br /&gt;Create a cron job: Create a file and write within:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;5,10,15,20,25,30,35,40,45,50,55 * * * * $project/update.sh&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;You have to create some images in the directory $project/html/user/img/:head_20.png rate_negative.png unread_post.png and rate_positive.png &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Create the project&lt;/h2&gt;&lt;br /&gt;Now, we will add a new application on the server. go into $project directory:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Copy the file $boinc/tools/project.xml into $project/project.xml&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Modify the file, you add your application. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;inform the server that some elements have been modified:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;bin/xadd&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;From now on, we will consider that $app is the application name, $version is the version number of your application and $platform the target platform.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Create a directory $app in $project/apps. Then a directory called $project/apps/$app/$app_$version_$platform &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Put your executable and all the files in the new directory&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Sign every file:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;crypt_prog -sign executable key &gt; signature_file&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;the signature_file should have the same name as the executable with an extension .sig.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Do the same for every other files that have to be sent.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Update Boinc:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;bin/update_versions&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;From now on, it depends on the generator, validator, assimilator you decide to use.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-113076437949887595?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/113076437949887595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=113076437949887595' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/113076437949887595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/113076437949887595'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/10/install-real-boinc-server-on-ubuntu.html' title='Install a real boinc server on ubuntu (breezy badger)'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112989346859568374</id><published>2005-10-21T04:10:00.000-07:00</published><updated>2005-10-21T04:19:06.370-07:00</updated><title type='text'>Compile MalariaModel</title><content type='html'>A small howto if you want to compile malariaModel:&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Download and install the fortran compiler, you can get the source code &lt;a href="http://www.intel.com/cd/software/products/asmo-na/eng/compilers/flin/index.htm"&gt;here&lt;/a&gt; To install it, you just have to read the instructions. If you put the compiler in the default directory, you will need to add the directory in the path.&lt;/li&gt;   &lt;li&gt;You need: xerces, gsl and glut, to install it:&lt;br /&gt;&lt;blockquote&gt;       &lt;pre&gt;sudo apt-get install freeglut3-dev libxerces26-dev libgsl0-dev &lt;/pre&gt; &lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Run the autogen.sh script, to create the configure script:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;./autogen.sh&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;   &lt;li&gt; Run the configure script, it will check that everything is correctly installed, you should not have any error (if it is the case, you did not install everything correctly)&lt;br /&gt;  &lt;/li&gt;  &lt;br /&gt;&lt;li&gt;compile the program: &lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;make&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112989346859568374?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112989346859568374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112989346859568374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112989346859568374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112989346859568374'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/10/compile-malariamodel.html' title='Compile MalariaModel'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112988632704744491</id><published>2005-10-21T02:16:00.000-07:00</published><updated>2005-10-21T02:35:37.906-07:00</updated><title type='text'>Some differences in the boinc installation</title><content type='html'>I just migrated to ubuntu 5.10 (Breezy badger) and there are some small differences in the boinc installation.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Before installing Boinc, you have to install openssl it was not necessary in the "hoary hedgehog"&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install  libssl-dev&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;You have to install the make program, it is not installed by default:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;sudo apt-get install  make&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;You can then compile boinc.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;If you want, you do not have anymore to install php when downloading source code, you can now use apt-get&lt;br /&gt;  &lt;/li&gt;   &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112988632704744491?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112988632704744491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112988632704744491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112988632704744491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112988632704744491'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/10/some-differences-in-boinc-installation.html' title='Some differences in the boinc installation'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112852375881960928</id><published>2005-10-05T07:47:00.000-07:00</published><updated>2005-10-05T07:49:18.826-07:00</updated><title type='text'>Creating a new workunit</title><content type='html'>If you want to create a new workunit with the create_work command. You have to know that the workunit_template needs an absolute path and that the result_template needs a relative path&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112852375881960928?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112852375881960928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112852375881960928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112852375881960928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112852375881960928'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/10/creating-new-workunit.html' title='Creating a new workunit'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112832433511568458</id><published>2005-10-03T00:06:00.000-07:00</published><updated>2005-10-03T00:25:35.123-07:00</updated><title type='text'>Create a multi executable file boinc project</title><content type='html'>Suppose that you want to create a Boinc project that contains some shared libraries. For example, that you use the program main that uses the library lib.dll. How to configure the server to send the library only to the windows client.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Create a directory: $project/apps/$APPNAME/$MAIN_VERSION_PLATFORM. We will say it is in $project/apps/main/main_5.0_windows_intelx86.&lt;/li&gt;   &lt;li&gt;In this directory add the file: main and rename it, MAIN_VERSION_PLATFORM: main_5.0_windows_intelx86&lt;/li&gt;&lt;li&gt;Insert the dll into this directory, give the name you want.&lt;br /&gt;  &lt;/li&gt;   &lt;li&gt;sign all the files.&lt;/li&gt;   &lt;li&gt;go into the $project directory, and update_versions:&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;bin/update_versions&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;  &lt;/li&gt;  &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112832433511568458?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112832433511568458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112832433511568458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112832433511568458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112832433511568458'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/10/create-multi-executable-file-boinc.html' title='Create a multi executable file boinc project'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112789815751354181</id><published>2005-09-28T01:59:00.000-07:00</published><updated>2005-09-29T07:24:53.583-07:00</updated><title type='text'>Using multiple input files.</title><content type='html'>If you want to use multiple input files for the project, write into the template:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;file_info&amp;gt;&lt;br /&gt;  &amp;lt;number&amp;gt;0&amp;lt;/number&amp;gt;&lt;br /&gt;&amp;lt;/file_info&amp;gt;&lt;br /&gt;&amp;lt;file_info&amp;gt;&lt;br /&gt;   &amp;lt;number&amp;gt;1&amp;lt;/number&amp;gt;&lt;br /&gt;&amp;lt;/file_info&amp;gt;&lt;br /&gt;&amp;lt;workunit&amp;gt;&lt;br /&gt;   &amp;lt;file_ref&amp;gt;&lt;br /&gt;       &amp;lt;file_number&amp;gt;0&amp;lt;/file_number&amp;gt;&lt;br /&gt;       &amp;lt;open_name&amp;gt;file_name0&amp;lt;/open_name&amp;gt;&lt;br /&gt;   &amp;lt;/file_ref&amp;gt;&lt;br /&gt;   &amp;lt;file_ref&amp;gt;&lt;br /&gt;       &amp;lt;file_number&amp;gt;1&amp;lt;/file_number&amp;gt;&lt;br /&gt;       &amp;lt;open_name&amp;gt;file_name1&amp;lt;/open_name&amp;gt;&lt;br /&gt;   &amp;lt;/file_ref&amp;gt;&lt;br /&gt;&amp;lt;/workunit&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you use bin/create_work. Give the files in the same order.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112789815751354181?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112789815751354181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112789815751354181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112789815751354181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112789815751354181'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/09/using-multiple-input-files.html' title='Using multiple input files.'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-16186890.post-112590753360746775</id><published>2005-09-05T00:22:00.000-07:00</published><updated>2005-09-05T03:56:38.610-07:00</updated><title type='text'>Using Boinc with Visual Studio .NET</title><content type='html'>To use boinc in the project:&lt;br /&gt;&lt;br /&gt;1. Include the needed files called from the software into a new folder (let's say boincapi). In our case, files are: &lt;ul&gt;   &lt;li&gt;app_ipc.C&lt;/li&gt;   &lt;li&gt;app_ipc.h&lt;/li&gt;   &lt;li&gt;boinc_api.C&lt;/li&gt;   &lt;li&gt;boinc_api.h&lt;/li&gt;   &lt;li&gt;filesys.C&lt;/li&gt;   &lt;li&gt;filesys.h&lt;/li&gt;   &lt;li&gt;graphics_api.C&lt;/li&gt;   &lt;li&gt;graphics_api.h&lt;/li&gt;   &lt;li&gt;graphics_impl.C&lt;/li&gt;   &lt;li&gt;graphics_impl.h&lt;/li&gt;   &lt;li&gt;hostinfo.C&lt;/li&gt;   &lt;li&gt;hostinfo.h&lt;/li&gt;   &lt;li&gt;md5.c&lt;/li&gt;   &lt;li&gt;md5.h&lt;/li&gt;   &lt;li&gt;mem_usage.C&lt;/li&gt;   &lt;li&gt;mem_usage.h&lt;/li&gt;   &lt;li&gt;mfile.C&lt;/li&gt;   &lt;li&gt;mfile.h&lt;/li&gt;   &lt;li&gt;miofile.c&lt;/li&gt;   &lt;li&gt;miofile.h&lt;/li&gt;   &lt;li&gt;parse.c&lt;/li&gt;   &lt;li&gt;parse.h&lt;/li&gt;   &lt;li&gt;prefs.c&lt;/li&gt;   &lt;li&gt;prefs.h&lt;/li&gt;   &lt;li&gt;proxy_info.c&lt;/li&gt;   &lt;li&gt;proxy_info.h&lt;/li&gt;&lt;li&gt;util.C&lt;/li&gt;   &lt;li&gt;util.h&lt;/li&gt;   &lt;li&gt;shmem.C&lt;/li&gt;   &lt;li&gt;shmem.h&lt;/li&gt;   &lt;li&gt;md5_file.C&lt;/li&gt;   &lt;li&gt;md5_file.h&lt;/li&gt;&lt;li&gt;windows_opengl.C&lt;/li&gt;&lt;/ul&gt; Be sure that the  compilation language is C++ (neither default nor C).&lt;br /&gt;&lt;br /&gt;2. Add into the C++ dependencies, $BOINC_HOME/lib, $BOINC_HOME/api, $BOINC_HOME/zip, $BOINC_HOME/client/win and $BOINC_HOME/.&lt;br /&gt;&lt;br /&gt;3. In the linker dependencies, add: opengl32.lib glu32.lib glaux.lib&lt;br /&gt;&lt;br /&gt;4. The _CONSOLE preprocessor macro should not be defined.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/16186890-112590753360746775?l=j4cques.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://j4cques.blogspot.com/feeds/112590753360746775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=16186890&amp;postID=112590753360746775' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112590753360746775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16186890/posts/default/112590753360746775'/><link rel='alternate' type='text/html' href='http://j4cques.blogspot.com/2005/09/using-boinc-with-visual-studio-net.html' title='Using Boinc with Visual Studio .NET'/><author><name>Jacques Fontignie</name><uri>http://www.blogger.com/profile/14699557921279231682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
