View Single Post
  #1 (permalink)  
Old 23rd September, 2007, 05:30 PM
ccperf721p's Avatar
ccperf721p ccperf721p is offline
Member
 
Join Date: April 2005
Location: AZ
Posts: 1,455

Guide for SMP Folding using VMware and Ubuntu

I use VMware and Linux on my Windows rigs with better results than I get with the Windows SMP client so I figured I would pass on the info a short how to.. Usually nets me an extra 50-75 ppd so it's not much, but every little bit helps and boosts the team..

There is so much more that VMware is capable such as setting up custom virtual machines, to check compatibility of components within an OS. Comes in handy with some Linux Distros, "cough" Gentoo for finding and repairing broken packages without crashing your real install.

Your CPU must be a 64-bit AMD Dual Core or a 64-bit Intel Dual Core or higher with support for Virtualization Technology.

NOTE: Make sure you don't have Winrar or any other program like Winrar associating itself with ISO files.


1) Go here and download VMware Server 1.0.4 You will need to register to get a serial number before you can use the app Download VMware Server, free VMware, virtual server - VMware -- If you need a serial and don't want to go through the reg process just ask and I'll throw you one. If you do register make sure you get a few extra serials ---
.

* accept the EULA
* choose VMware Server for Windows Operating System Binary (.exe)
* above it click Register and get your serial number.

2) Go here and download Ubuntu Download Ubuntu | Ubuntu

* select Desktop Edition - Ubuntu 7.04 -Supported to 2008
* select 64bit AMD and Intel computers
* the file title should be ubuntu-7.04-desktop-amd64.iso if it doesn't
then you downloaded the wrong one

3) Install VMWare.

4) Load VMWare.

There are tabs at the top of the VMware window to go between home and your selected virtual machine.

* select Local Host
* select New Virtual Machine
* select Typical
* select Other and then Other 64-bit for the Version
* name it or leave at defaut.
* Use network address translation (NAT)
* Disk Capacity around 6.0 GB and select Allocate all disk space now.


5) Click on Edit virtual machine settings.

* Memory - select at least 500MB
* Processors - select Two
* CD-ROM - under Connection select Use ISO image and navigate to where you saved the Ubuntu download.


6) Click Start this virtual machine.

* select Start or install Ubuntu
* surf the web to make sure your internet is working correctly


7) Run the Ubuntu Installer in the top-left corner.

* select your language
* set up your time
* select your keyboard layout
* enter in information for Who are you?
* select Erase entire disk
* after it finishes installing you will need to click Restart now - this will just restart the Virtual Machine and not your whole computer


8) Shut Down Ubuntu

* under Devices double click CD-ROM - select Use physical drive under Connection so it does not use the ISO image anymore

9) Start up the Virtual Machine.

* check some website - make sure your internet connection is working
* download and install all the updates
* after finishing installing you will need to restart the system
* make sure your time and date are right

10) In Ubuntu, click on “Applications” go to “Accessories” and select “Terminal” and type:

sudo apt-get install ia32-libs


11) Now it's time to install SMP Folding at Home by typing the following (after every line hit enter):

mkdir -p ~/folding/FAH
cd ~/folding/FAH
wget http://folding.stanford.edu/release/FAH_SMP_Linux.tgz
tar xzf FAH_SMP_Linux.tgz


12) Now it's time to get the program running! Type:

./fah5


Now you must configure the client.


Leave the Terminal Window up so you can monitor the progress.
----------------------------------------------

* Alt+Ctrl puts your mouse back in Windows.

* Ctrl+C stops the client.

* If you need to restart your whole computer and need to get it running again open up the Terminal and type:

cd ~/folding/FAH
./fah5

* System Monitor is the Linux Equivalent of Task Manager

* If you want to calculate your PPD use this formula:

(WU points)*[(1440 minutes in a day)/(time for 1% of WU in minutes * 100)]

* If by some mistake you accidentally exit your Terminal Window use open up another Terminal Window and use this to monitor your client:

cd ~/folding/FAH
tail -s 60 FAHlog.txt
__________________
Biostar TPower I45 / Q9450 / 4 X 1024 Transcend DDR2-800 / 9800GTX / PCP&C 750 / 3 X 250GB SataII

AOA Team fah

Last edited by ccperf721p : 23rd September, 2007 at 10:18 PM.
Reply With Quote