Help! I do not know how to start in FreeBSD OS

Message boards : Unix/Linux : Help! I do not know how to start in FreeBSD OS

Author Message
RedeyeTw
Send message
Joined: Jul 14 06
Posts: 4
Credit: 1,649,785
RAC: 2,398

I get my account key and completed install BOINC client ports in my FreeBSD PC. But I can not found the document to configure it to start operation. I am thanks to anybody can give me the hint to make it work.

Chris Sutton
Send message
Joined: Nov 10 05
Posts: 297
Credit: 4,941,683
RAC: 0

Hi RedeyeTW

If you have managed to get the software installed, then the next stage would be to get the client running and attached to the malariacontrol.net project.

Because it can be quite complex to go in depth into this process through the message boards, the Wiki maintainers have a number of HowTo documents that you could follow to assist you at this stage.

I would suggest that you find the one closest to the stage that you are at, and follow it as much as possible. If you get stuck or are unsure of something, you could post again here explaining which document you are following and where in the document you are confused or stuck, and hopefully someone can help you to understand or to get unstuck.

Pav Lucistnik
Send message
Joined: Jun 21 06
Posts: 81
Credit: 661,995
RAC: 0

Once you have net/boinc-client port installed

1) put this line into /etc/rc.conf
boinc_enable="YES"

malariacontrol does not provide FreeBSD binary. instead, you can use Linux app.

2) load linux compatibility layer into kernel

kldload linux

3) make sure it's loaded on next reboot, add this line to /boot/loader.conf

linux_load="YES"

4) install userland part of linux emulator

cd /usr/ports/emulators/linux_base-fc4
make install clean

5) create directory /var/db/boinc/projects/malariacontrol.net

6) download this executable into it

https://malariacontrol.net/download/malariacontrol_5.33_i686-pc-linux-gnu

7) execute brandelf on it

brandelf -t Linux malariacontrol_5.33_i686-pc-linux-gnu

8) set it executable

chmod a+x malariacontrol_5.33_i686-pc-linux-gnu

9) download this file into the same directory

http://raven.oook.cz/malaria/app_info.xml

10) start boinc

/usr/local/etc/rc.d/boinc start

or

/usr/local/etc/rc.d/boinc.sh start

depending on your version of FreeBSD

11) send yourself an account key from this url

https://malariacontrol.net/get_passwd.php

12) attach the malariacontrol project to your user account

boinc_cmd --project_attach malariacontrol.net a4d8d5d(your.account.key)as8d


A bit of handwork, but it should work.
____________

Pav Lucistnik
Send message
Joined: Jun 21 06
Posts: 81
Credit: 661,995
RAC: 0

Forgot important step!

After step 5, chown the directory to the user under which boinc is running

chown boinc /var/db/boinc/projects/malariacontrol.net

otherwise file downloads will fail.

Chris Sutton
Send message
Joined: Nov 10 05
Posts: 297
Credit: 4,941,683
RAC: 0

A bit of handwork, but it should work.

Thanks Pav, much better than I could have done!

RedeyeTw
Send message
Joined: Jul 14 06
Posts: 4
Credit: 1,649,785
RAC: 2,398

Once you have net/boinc-client port installed

..... Sorry, I cut it off ....

12) attach the malariacontrol project to your user account

boinc_cmd --project_attach malariacontrol.net a4d8d5d(your.account.key)as8d


A bit of handwork, but it should work.



Many thanks to Pav Lucistnik, I think my computer can work for project but not succeed now. I get the error message as attached.

redeye@redbsd[/var/db/boinc/projects/malariacontrol.net]#2006-07-26 20:53:25 [---] Can't create HTTP response output file projects/malariacontrol.net/wu_5_101247_1_2_1899845594
2006-07-26 20:53:25 [malariacontrol.net beta] Couldn't start download of wu_5_101247_1_2_1899845594
2006-07-26 20:53:25 [malariacontrol.net beta] URL https://malariacontrol.net/download/293/wu_5_101247_1_2_1899845594: system fopen
2006-07-26 20:53:25 [---] Can't create HTTP response output file projects/malariacontrol.net/densities.csv
2006-07-26 20:53:25 [malariacontrol.net beta] Couldn't start download of densities.csv
2006-07-26 20:53:25 [malariacontrol.net beta] URL https://malariacontrol.net/download/2c4/densities.csv: system fopen
2006-07-26 20:53:25 [---] Can't create HTTP response output file projects/malariacontrol.net/CaseFatalityByAge.csv
2006-07-26 20:53:25 [malariacontrol.net beta] Couldn't start download of CaseFatalityByAge.csv
2006-07-26 20:53:25 [malariacontrol.net beta] URL https://malariacontrol.net/download/2b2/CaseFatalityByAge.csv: system fopen
2006-07-26 20:54:25 [---] Can't create HTTP response output file projects/malariacontrol.net/wu_5_101247_1_2_1899845594
2006-07-26 20:54:25 [malariacontrol.net beta] Couldn't start download of wu_5_101247_1_2_1899845594
2006-07-26 20:54:25 [malariacontrol.net beta] URL https://malariacontrol.net/download/293/wu_5_101247_1_2_1899845594: system fopen
2006-07-26 20:54:25 [---] Can't create HTTP response output file projects/malariacontrol.net/densities.csv
2006-07-26 20:54:25 [malariacontrol.net beta] Couldn't start download of densities.csv

Please you give me the advice to fix it. Thank you very much.



____________

Pav Lucistnik
Send message
Joined: Jun 21 06
Posts: 81
Credit: 661,995
RAC: 0

Yes, please re-read post 999 - I missed one step in the instructions. You have to chmod the malariacontrol's project directory, otherwise this will happen.

RedeyeTw
Send message
Joined: Jul 14 06
Posts: 4
Credit: 1,649,785
RAC: 2,398

Yes, please re-read post 999 - I missed one step in the instructions. You have to chmod the malariacontrol's project directory, otherwise this will happen.



Many thanks to Pav Lucistnik, I think you are a expert in Unix-like system. Now my computer can work well follow your mention. Maybe you can provide one know-how document at malariacontrol.net for FreeBSD (*BSD) user. That's really hard to operation it without guide. Also thanks for Chris Sutton kindly help.


____________

Rene
Send message
Joined: Jan 7 07
Posts: 7
Credit: 2,683
RAC: 0

Once you have net/boinc-client port installed

<snip recipe>

A bit of handwork, but it should work.


Works nice, but isn\'t it easier to use the GUI ? Then you only have to brandelf and copy the binary into the project directory and figure out an app_info.xml.

Thanks for your app_info.xml, I got the project name wrong (\"malariacontrol.net\" instead of plain \"malariacontrol\")

RedeyeTw
Send message
Joined: Jul 14 06
Posts: 4
Credit: 1,649,785
RAC: 2,398

Yes, please re-read post 999 - I missed one step in the instructions. You have to chmod the malariacontrol\'s project directory, otherwise this will happen.


Dear Pav Lucistnik,

Sorry to I need to bother you again. My computer seems stop to running malariacontrol\'s project for many days. I do not know why. I can found the boinc program still running when I typing \"top\" commend but malariacontrol (I can found three pid of process when normal) were disappear. Can you teach me how to fix this problem because I can not find the guide to modify that configure file under FreeBSD OS.

Many thanks and happy Lunar New Year.

Redeye.



____________

Post to thread

Message boards : Unix/Linux : Help! I do not know how to start in FreeBSD OS


Return to malariacontrol.net main page


Copyright © 2013 africa@home