Diff for "FoldingAtHome/finstall"


Differences between revisions 3 and 4
Revision 3 as of 2008-01-31 03:18:08
Size: 1156
Editor: vger
Comment: Fixed pushd and popd errors by specifying /bin/bash as shell
Revision 4 as of 2008-02-02 03:26:19
Size: 1126
Editor: 64
Comment: use update-rc.d instead of ln
Deletions are marked like this. Additions are marked like this.
Line 51: Line 51:
 4. Make a symlink into the /etc/rc2.d directory:  4. Make it start at boot time:
Line 53: Line 53:
sudo ln -s /etc/init.d/foldingathome /etc/rc2.d/S99fah sudo update-rc.d foldingathome defaults 99

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 it start at boot time:

sudo update-rc.d foldingathome defaults 99

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