本帖最后由 dengi 于 2013-12-5 16:05 编辑
这两天开始参加FAH,收拾一下机房搜罗些可用设备,结果闲置的全都机老珠黄,一个水灵的都没有。本着物尽其用的原则,让它们发挥些余热吧。
设备老旧,图形界面没用,也没有GPU,windows神马的就不考虑,全部用ubuntu吧(因为穷)。简单总结一下:
硬件:HP ML370 G4(够老吧) OS:Ubuntu Server12.04 LTS x64
装好系统,配置网络,SSH,这些不说了。 安装相应的FAH Client,从folding.stanford.edu下载相应的版本。
开始安装 sudo dpkg -i --force-depends fahclient_7.3.6_amd64.deb
然后就按照提示填入相应信息:
username、team、passkey、resources、autostart。
然后吧啦吧啦提示, Adding system startup for/etc/init.d/FAHClient ... /etc/rc0.d/K20FAHClient -> ../init.d/FAHClient /etc/rc1.d/K20FAHClient -> ../init.d/FAHClient /etc/rc6.d/K20FAHClient -> ../init.d/FAHClient /etc/rc2.d/S20FAHClient -> ../init.d/FAHClient /etc/rc3.d/S20FAHClient -> ../init.d/FAHClient /etc/rc4.d/S20FAHClient -> ../init.d/FAHClient /etc/rc5.d/S20FAHClient -> ../init.d/FAHClient Starting fahclient ... OK The Folding@home client is now installed You can access the Web interface by goingto:
in a browser on this computer. For information about configuring theFolding@home client for remote access please see the comments in:
/etc/fahclient/config.xml
Processing triggers for ureadahead ...
这就装好啦!
不过这些破机器是在不适于人类生存的机房里,需要从远程进行管理,需要改一下配置。 配置文件在/etc/fahclient/config.xml
更改这一段: <!-- Granting Remote FAHControl Access To grant remote access to FAHControl and the remote command server add the following: <allow>127.0.0.1 x.x.x.x</allow> <password>PASS</password> Where x.x.x.x isthe IP address of the computer which should be granted remote access and PASS is you choose tofurther secure the connection. -->
改成
<allow>A.B.C.D</allow> <password>PASS</password>
A.B.C.D是远程安装了FAHControl机器的IP,PASS什么的随便。
然后启动服务: sudo /etc/init.d/FAHClient start
从远程的FAHControl连接一下,
没问题的话,就可以了。其他的配置,参考置顶贴吧,都一样。 看看运行状态:
很粗略,留做参考吧。 |