Debian Linux cryptocoin mining rig setup guide


SUBMITTED BY: mark125

DATE: Dec. 29, 2015, 6:11 a.m.

UPDATED: Dec. 29, 2015, 6:12 a.m.

FORMAT: Text only

SIZE: 3.8 kB

HITS: 1192

  1. Please note that using this guide with Debian 6.0.9, instead of the latest Debian, will result in 100% success. Do not use the latest version of Debian!!!!!!!
  2. Download either UNetbootin or Rufus to copy your Debian image to a USB memory stick. Rufus is supposedly twice as fast as the other available options.
  3. If using Rufus, you must first download a copy of Debian, the 32-bit (i386, x86) version should be fine regardless of your system configuration.
  4. Within Rufus, click on the disc image located beside Copy a bootable disk using: and select the Debian Linux ISO that you've downloaded. Make sure the associated checkbox is checked and that the dropdown says ISO Image. Make sure you select the correct USB stick and click Start.
  5. If using UNetbootin: (*) Distribution -> Debian -> Stable_NetInstall
  6. Install Debian Linux
  7. Note: There have been issues getting mining started on UEFI motherboards. The Debian install is successful but installing drivers or getting cgminer to run is impossible.
  8. If you have a UEFI motherboard, you need to enter the BIOS (with the key plugged in already) and find a section along the lines of Boot Override, or if that section doesn't exist, the section to change boot order. You need to select USB boot or legacy boot, but definitely not anything called UEFI boot. Select the non-UEFI option for your USB key and install Linux as described below.
  9. Start the computer with the key plugged in. When the installer begins, select Install. Select your language. Select your country. The default keymap is usually what you want.
  10. You can just select Continue for the hostname screen. The default is fine. The domain name can be blank, select Continue.
  11. Choose a secure password for your root account. The root account controls the entire system and can be logged in to by any computer on the network. If a person gains access to your router, they can also access that PC. A secure password will prevent anyone else from gaining access to the computer.
  12. Either type in a name for your user account, or leave it blank. Select a new username for your account, it can be anything that you want to log in to. Select a secure password for that new account.
  13. The new user creation can generally be 'skipped'. If you don't set up the PHP monitoring script, you won't need the new user and we'll be deleting it anyway.
  14. Select your time zone.
  15. During the disk setup, there are two methods. The simplest method is to select the following:
  16. This method creates a swap partition which may degrade the performance or lifespan of a USB stick. A mechanical hard disk would benefit from the swap file.
  17. Partitioning method: Guided - use entire disk
  18. Select the correct USB key or disk drive that you are installing the system to.
  19. Partition scheme: All files in one partition
  20. Finish partitioning...
  21. Select Yes to write the changes.
  22. A more advanced method would be to remove the swap partition and save writes to your USB key:
  23. Instead of using the Guided method, select Manual.
  24. Select the correct USB key or disk drive that you are installing the system to.
  25. Select the pri/log line.
  26. Create a new partition
  27. Continue
  28. Primary
  29. Select Mount options, select noatime using the Spacebar.
  30. Select Bootable flag to set it to on.
  31. Done setting up the partition
  32. Finish partitioning...
  33. Select No when it warns you about the swap partition. You don't want a swap partition.
  34. Select Yes to write the changes.
  35. Select your country to get a list of download mirrors local to you. Select a mirror which you believe to be closest. Leave the page asking about a proxy blank, just select Continue.
  36. Configuring popularity-contest: select No.
  37. Software selection: Deselect all default options (Spacebar) and enable [*] SSH server.
  38. Install the GRUB boot loader...: Yes.
  39. Continue
  40. Linux is finally installed!

comments powered by Disqus