Diff for "FoldingAtHome/finstall"


Differences between revisions 1 and 2
Revision 1 as of 2007-12-17 06:01:52
Size: 1154
Editor: 70-57-196-241
Comment: created
Revision 2 as of 2008-01-18 03:40:47
Size: 1486
Editor: d54C0917B
Comment:
Deletions are marked like this. Additions are marked like this.
Line 55: Line 55:

=== Comments ===
koen-beek : the /etc/init.d/foldingathome did not work for me (probably as pushd and popd were not recognised by the init scripts) I had to amend it to
{{{
#!/bin/sh
# /etc/init.d/foldingathome for Ubuntu
# Start the F@H service.

su YOUR_USERNAME_HERE -l -c "cd foldingathome && ./folding restart"
}}}

finstall

  1. Download the finstall script with wget:

cd ~
wget -c http://www.vendomar.ee/~ivo/finstall
  1. Make the script runnable:

chmod +x finstall
  1. Start it:

./finstall

After the client is installed You can start/stop/... FAH client with ./foldingathome/folding script. For Example(s)

~/foldingathome/folding start

or

~/foldingathome/folding stop

or

~/foldingathome/folding status

For me this was all I needed as it automatically created the init scripts I needed to start after reboot. However the init scripts don't seem to work for everyone, so if you need to do it manually:

  1. Make a file called foldingathome in the /etc/init.d directory:

gksudo gedit /etc/init.d/foldingathome
  1. Paste this in:

# /etc/init.d/foldingathome for Ubuntu
# Start the F@H service.

pushd /home/YOUR_USERNAME_HERE/foldingathome/
su YOUR_USERNAME_HERE -c "screen -d -m ./folding start"
popd
  1. Save and exit
  2. Make a symlink into the /etc/rc2.d directory:

sudo ln -s /etc/init.d/foldingathome /etc/rc2.d/S99fah

Comments

koen-beek : the /etc/init.d/foldingathome did not work for me (probably as pushd and popd were not recognised by the init scripts) I had to amend it to

# /etc/init.d/foldingathome for Ubuntu
# Start the F@H service.

su YOUR_USERNAME_HERE -l -c "cd foldingathome && ./folding restart"

FoldingAtHome/finstall (last edited 2008-06-27 10:15:16 by localhost)