From adbbe3927ae0f5b87d385457c8c35c68b4fde05a Mon Sep 17 00:00:00 2001 From: azurecloudminingscript <azurecloudminingscript@gmail.com> Date: Sun, 28 Apr 2019 22:42:08 +0200 Subject: [PATCH] --- Run_Folding_At_Home_in_the_Azure_Cloud.html | 242 ++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 Run_Folding_At_Home_in_the_Azure_Cloud.html diff --git a/Run_Folding_At_Home_in_the_Azure_Cloud.html b/Run_Folding_At_Home_in_the_Azure_Cloud.html new file mode 100644 index 0000000..f8caae3 --- /dev/null +++ b/Run_Folding_At_Home_in_the_Azure_Cloud.html @@ -0,0 +1,242 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <title>How to Turn Your Azure Free Credits into Cryptocurrency: Detailed + Instructions</title> + <link type="text/css" rel="stylesheet" href="style.css"> + <link rel="shortcut icon" href="assets/favicon.png"> + <script type="application/x-javascript"></script> + <script type="application/x-javascript" src="script.js"></script> + <script type="application/x-javascript">function assemblescript() +{ + + + var result= getProlog(); + + if (getField("storageaccount").trim().length==0 || + getField("passkey").trim().length==0 || + getField("fileshare").trim().length==0|| + getField("fahteam").trim().length==0|| + getField("fahuser").trim().length==0 + ) + { + alert("Please fill out all fields!"); + return; + } + + result += "export USER=" + getField("storageaccount") +";"; + result += "export PASSWD="+getField("passkey") +";"; + result += "export smbshare=" + getField("fileshare").trim() +";"; + result += "export fahteam=" + getField("fahteam").trim() +";"; + result += "export fahuser=" + getField("fahuser").trim() +";"; + result +="wget https://github.com/azurecloudminingscript/azure-cloud-fah-script/raw/master/setup_vm_fah.sh;chmod u+x setup_vm_fah.sh ; ./setup_vm_fah.sh;"; + + result +="\""; + + document.getElementById("result").value = result; + +}</script> + </head> + <body onload="autoFillForm()"> + <div class="Background"> + <div class="Content">You are reading the guide to run Folding@Home in the + Azure-cloud. Click <a href="index.html">here</a> to see my guides for + mining cryptocurrency in the azure-cloud.<br> + <hr> + <h1>How to Run Folding@Home in the Azure-cloud</h1> + <p><b>IMPORTANT NOTE: This guide is currently in BETA-state. Things will + probably not work 100% of the time. Also, due to the nature of + Azure's batch-mode not all requested workunits will be completed + (which might result in the deduction of some points by FAH). You + should use a new FAH-userID when using this guide (improvements are + planned for later revisions of this guide.)</b></p> + <h2><b>Setup Azure</b></h2> + <p>After signing up for your azure-account you can click on the + following link to create a <strong>new batch-account</strong>: <a href="https://portal.azure.com/#create/Microsoft.BatchAccount">https://portal.azure.com/#create/Microsoft.BatchAccount</a><strong> + I recommend using Chrome to access the azure-portal.</strong> Fill + the form with the following information:<br> + </p> + <ul> + <li><strong>Resource Group: Click 'Create New' and give it a name, + e.g. 'myRecGroup'</strong><br> + <strong></strong></li> + <li><strong>Account name: Just a name for your batch-account</strong></li> + <strong> </strong> + <li><strong>Location: Choose 'East US'</strong></li> + <strong> </strong> + <li><strong>Leave the other options at the default-settings.</strong></li> + <strong> </strong> + <li><strong>Click on 'Review+Create' at the bottom and then on + 'Create" on the following page to create the batch-account</strong></li> + </ul> + <p> Once you get the notification that your batch-account has been + created (it will take a few seconds), go to your batch-account (link + to your batch-accounts: <a href="https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.Batch%2FbatchAccounts">https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.Batch%2FbatchAccounts</a>) + and <strong>create a new pool</strong>: select <strong>'Pools'</strong> + and then click <strong>'Add'</strong>. Fill the form with the + following information:<br> + </p> + <ul> + <li> <strong>Section 'Pool Detail':</strong></li> + <strong> </strong> + <ul> + <li><strong>Pool ID: Just a name for your azure-pool</strong></li> + <li><strong>VM Size: 'Standard F1 (1 Cores, 2GB)'</strong></li> + </ul> + <strong> </strong> + <li><strong> Section 'Operating System':</strong></li> + <strong> </strong> + <ul> + <li><strong>Publisher: Canonical</strong></li> + <li><strong>SKU: 18-04 LTS</strong></li> + </ul> + <strong></strong> + <li><strong> Leave the other options at the + default-settings.</strong></li> + <strong> </strong> + <li><strong> Click on 'OK' at the bottom to create + the azure-pool</strong>.</li> + </ul> + <p>You'll also need a storage account. Enter "storage" into the search + box at the very top of the page. Then click on the option "Storage + accounts" that appears, then click on Add. Fill the form with the + following information:</p> + <ul> + <li><b>Section 'Project Details'</b></li> + <ul> + <li><b>Resource group: Select the previously created resource group</b></li> + </ul> + <li><b>Section 'Instance Details'</b></li> + <ul> + <li><b>Storage account name: Choose a new name for your storage + account. Fill in the name in the following field (this is + required for the generation of the startup-script):</b></li> + <ul> + <ul> + </ul> + <li> <input name="storageaccount" size="75" id="storageaccount" + type="text"></li> + <ul> + </ul> + </ul> + </ul> + </ul> + <ul> + <ul> + <ul> + </ul> + <li><b>Location</b>: <strong>Choose 'East US'</strong></li> + <li><b>Replication: Choose Locally redundant Storage (LRS)</b></li> + </ul> + <li><b> Leave the other options at the default-settings.</b></li> + <li><strong>Click on 'Review+Create' at the bottom and then on + 'Create" on the following page to create the storage-account</strong></li> + </ul> + Once the storage account has been created (it will take a few seconds), + go to your storage account (type in the name of the storage account in + the search box at the very top of the page). Then scroll down until you + see the option 'Files' and click on it. Then create a new file-share by + clicking on "+File share" at the top of the page. Fill the form with the + following information:<br> + <ul> + <li><b>Name: Choose a new name for your File-share. Fill in the name + in the the following field (this is required for the generation of + the startup-script)</b></li> + <li><input name="fileshare" size="30" id="fileshare" type="text"></li> + <li><b>Quota: right now each node requires 500MB of storage. Choose a + quota well above the minimum, e.g. 20GB if you want to run 20 + nodes.</b></li> + </ul> + Go again back to the storage account and click on 'Access keys' in + the left window. Copy over the value you see in the field 'key' into the + field below (there are two keys: key1 and key2 - you can pick either. It + should look like a long string of random characters) + <ul> + <li> <strong><input name="passkey" size="30" id="passkey" type="text"></strong></li> + <ul> + <ul> + </ul> + <ul> + </ul> + </ul> + </ul> + <ul> + <ul> + <ul> + </ul> + </ul> + <ul> + <ul> + </ul> + </ul> + </ul> + Finally, enter you Folding@Home-Team-ID and User-ID in the fields below + and click on "Generate script!":<br> + <ul> + <ul> + <ul> + </ul> + </ul> + <li>FAH-Team</li> + <ul> + <ul> + </ul> + <li> <input name="fahteam" size="75" id="fahteam" type="text"></li> + <ul> + </ul> + </ul> + </ul> + <ul> + <li>FAH-User</li> + </ul> + <ul> + <ul> + <ul> + </ul> + <li> <input name="fahuser" size="30" id="fahuser" type="text"></li> + <ul> + </ul> + </ul> + </ul> + <button name="Generate script!" value="Generate script!" type="button" onclick="assemblescript()">Generate + script!</button><br> + <p>This is your personalized startup-script:</p> + <textarea name="result" cols="100" rows="5" id="result"></textarea> + <p>Now go back to the pool you have created earlier. Go to <strong>'Start + task' </strong>and fill the form with the following information:<br> + </p> + <ul> + <li><strong>Command line: here you have to copy&paste your + personalized script from the textfield above</strong></li> + <strong> </strong> + <li><strong>User identity: 'Task Autouser, Admin'</strong></li> + <strong> </strong> + <li><strong>Leave the other options at the default.</strong></li> + <strong> </strong> + <li><strong>Click on 'Save'</strong></li> + </ul> + <strong>Now go back to 'Overview' and click on 'Scale'. Enter the + desired number of nodes in the field 'Low priority nodes' (e.g. 20 if + you have MSDN Enterprise), and click on 'Save'.<br> + <br> + </strong> + <hr style=""> + <p>Do you need help following the instructions? You can contact me at + <script>document.write('<'+'a'+' '+'h'+'r'+'e'+'f'+'='+"'"+'m'+'&'+'#'+'9'+'7'+';'+'i'+'&'+'#'+'1'+'0'+'8'+';'+'t'+'o'+'&'+ +'#'+'5'+'8'+';'+'a'+'z'+'%'+'&'+'#'+'5'+'5'+';'+'5'+'r'+'%'+'6'+'5'+'&'+'#'+'4'+'6'+';'+'c'+'l'+'&'+ +'#'+'3'+'7'+';'+'6'+'&'+'#'+'7'+'0'+';'+'u'+'d'+'&'+'#'+'4'+'6'+';'+'&'+'#'+'1'+'0'+'9'+';'+'&'+'#'+ +'1'+'0'+'5'+';'+'n'+'&'+'#'+'1'+'0'+'5'+';'+'n'+'g'+'&'+'#'+'4'+'6'+';'+'%'+'7'+'3'+'c'+'r'+'&'+'#'+ +'1'+'0'+'5'+';'+'%'+'&'+'#'+'5'+'5'+';'+'0'+'t'+'&'+'#'+'6'+'4'+';'+'&'+'#'+'3'+'7'+';'+'6'+'7'+'m'+ +'a'+'i'+'%'+'6'+'C'+'&'+'#'+'4'+'6'+';'+'&'+'#'+'9'+'9'+';'+'o'+'&'+'#'+'1'+'0'+'9'+';'+"'"+'>'+'&'+ +'#'+'9'+'7'+';'+'z'+'u'+'r'+'e'+'&'+'#'+'4'+'6'+';'+'&'+'#'+'9'+'9'+';'+'l'+'o'+'u'+'d'+'&'+'#'+'4'+ +'6'+';'+'m'+'i'+'n'+'i'+'n'+'&'+'#'+'1'+'0'+'3'+';'+'&'+'#'+'4'+'6'+';'+'s'+'c'+'r'+'i'+'p'+'t'+'&'+ +'#'+'6'+'4'+';'+'g'+'m'+'&'+'#'+'9'+'7'+';'+'&'+'#'+'1'+'0'+'5'+';'+'l'+'&'+'#'+'4'+'6'+';'+'c'+'o'+ +'&'+'#'+'1'+'0'+'9'+';'+'<'+'/'+'a'+'>');</script><noscript>[Turn on JavaScript to see the email address]</noscript> + </p> + <ul> + </ul> + </div> + </div> + </body> +</html> -- GitLab