How Tos

Convert Your Linux PC into Crypto-Mining

Pinterest LinkedIn Tumblr

In this, my second publication of the month, I bring you a publication about which minimum recommended package should have its own GNU / Linux System, to optimize it and be able to dedicate it to Digital Mining, in other words, for the generation of Cryptocurrencies (Cryptocurrencies).

Next we will detail the command commands with some packages that depending on the Distribution and version of your own GNU / Linux Operating System may not be exactly the same, so you will have to find and change the names of those that are necessary:

Index

  • 1 Packages to perform optimizations to obtain a Digital Mining Operating System
    • 1.1 Optimize the kernel:
    • 1.2 Manage compressed files:
    • 1.3 Adapt the Equipment Hardware:
    • 1.4 Packages to manage Video Cards:
      • 1.4.1 Nvidia Cards:
      • 1.4.2 AMD Cards:
      • 1.4.3 INTEL cards:
    • 1.5 Packages for managing PYTHON-based applications:
    • 1.6 Packages for the management of applications based on QT5:
    • 1.7 Packages for the management of Cryptocurrency Miners (Miners) and Wallets Programs:
    • 1.8 MinerOS / MilagrOS: Digital Mining Operating System

Packages to perform optimizations to obtain a Digital Mining Operating System

Optimize the kernel:

root @ machine: / directory / subdirectory # sudo apt install build-essential linux-headers - $ (uname -r) dkms

Manage compressed files:

root @ host: / directory / subdirectory # sudo apt install arj bzip2 lhasa lzip p7zip p7zip-full p7zip-rar rar unace unrar unrar-free unzip xz-utils zip zoo

Adapt the Equipment Hardware:

root @ computer: / directory / subdirectory # sudo apt install acpi acpitool acpi-support fancontrol hardinfo hwdata hwinfo ibus ibus-m17n inxi irqbalance iucode-tool laptop-detect linux-firmware lm-sensors lshw lsscsi smart-notifier smartmontools sysinfo xsensors
root @ machine: / directory / subdirectory # sudo apt install intel-microcode
# Only for INTEL Processors
root @ host: / directory / subdirectory # sudo apt install amd64-microcode
# Only for AMD Processors

Then execute the command commands:

root @ host: / directory / subdirectory # sudo sensors-detect

And press ENTER in all options.

Then execute the command command:

root @ host: / directory / subdirectory # sudo chmod u + s / usr / sbin / hddtemp

Test the hddtemp command as User:

root @ host: / directory / subdirectory # sudo hddtemp / dev / sda

Packages to manage Video Cards:

Note: Only install in desktop computers with non-integrated video card AGP / PCI / PCI EXPRESS or mobile computers (Laptops) that present video problems or deficiencies:

Nvidia cards:

root @ host: / directory / subdirectory # sudo apt install linux-headers-`uname -r` xorg-server-source
root @ machine: / directory / subdirectory # sudo apt install nvidia-kernel-common nvidia-kernel-dkms nvidia-xconfig nvidia-settings nvidia-detect nvidia-smi nvidia-support

Then execute the command command:

root @ host: / directory / subdirectory # sudo nvidia-xconfig

Restart the System and test the result.

AMD cards:

root @ machine: / directory / subdirectory # sudo apt install fglrx-driver fglrx-control

Restart the System and test the result.

INTEL cards:

root @ machine: / directory / subdirectory # sudo apt install intel-gpu-tools i965-va-driver

Restart the System and test the result.

Note: If installing the proprietary video packages and not starting the graphical environment , you can solve the problem by deleting the content of the /etc/x11/xorg.conf file and rebooting.

Packages for managing PYTHON-based applications:

sudo apt install python-pip python-psutil python-twisted

Packages for managing QT5-based applications:

sudo apt install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libqt5websockets5

And Depending on the Distribution and Version of your Operating System:

sudo apt install libqt5core5

Or this other:

sudo apt install libqt5core5a

Packages for the management of Cryptocurrency Miners (Miners) and Wallets Programs:

sudo apt install autoconf automake autotools-dev build-essential byobu g ++ gcc gcc-6 g ++ - 6 git git-core libboost-dev libboost-all-dev libcrypto ++ - dev libcurl3 libdb-dev libdb ++ - dev libevent-dev libgmp-dev libgmp3- dev libhwloc-dev libjansson-dev libmicrohttpd-dev libminiupnpc-dev libncurses5-dev libprotobuf-dev libqrencode-dev libqt5gui5 libqtcore4 libqt5dbus5 libstdc ++ 6 libssl-dev libusb-1.0-0-dev dev libtool-opencludev ic-dev-libtool make-opencludev dev openssl pkg-config protobuf-compiler qrencode qttools5-dev qttools5-dev-tools

And these libraries:

sudo apt install libdb ++ - dev libdb5.3 ++ libdb5.3 ++ - dev

Or these others:

sudo apt install libdb ++ - dev libdb4.8 ++

Note: For 4.8 libraries you can install the available Bitcoin Repositories by installing the ppa: bitcoin / bitcoin

sudo add-apt-repository ppa: bitcoin / bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8 ++ - dev

o Download them from:

http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/pool/main/d/db4.8/

Both in Ubuntu and in some Ubuntu-based Distros it may be necessary to install libboost libraries not corresponding to your version, libraries such as: ” libboost-filesystem1.58.0 “, ” libboost-program-options1.58.0 “, ” libboost- system1.58.0 “and” libboost-thread1.58.0 “that are specific to Ubuntu 16.04 (Xenial). They must be downloaded and installed with the command: “sudo dpkg -i libboost * .deb”.

And in other cases it may be necessary to install the packages “cmake” or “libcurl4” and “libcurl4-openssl-dev” , which require the uninstallation of the library “libcurl3” and those applications that use it. Another useful package for digital mining tasks via terminal (console) is “screen” . Install it if you consider it necessary.

After this you can finish by executing the following commands for the maintenance and optimization of the entire Operating System:

root @ host: / directory / subdirectory # sudo apt update; sudo update-apt-xapian-index; sudo aptitude safe-upgrade; sudo apt install -f; sudo dpkg --configure -a; sudo apt --fix-broken install
root @ host: / directory / subdirectory # sudo localepurge; sudo update-grub; sudo update-grub2; sudo aptitude clean; sudo aptitude autoclean; sudo apt-get autoremove; sudo apt autoremove; sudo apt purge; sudo apt remove
root @ machine: / directory / subdirectory # sudo rm -f /var/log/*.old /var/log/*.gz / var / log / apt / * / var / log / auth * / var / log / daemon * / var / log / debug * / var / log / dmesg * / var / log / dpkg * / var / log / kern * / var / log / messages * / var / log / syslog * / var / log / user * / var / log / Xorg *
root @ host: / directory / subdirectory # sudo update-initramfs -u

You can now continue installing and / or running each Digital Wallet and Mining Software of your choice!

MinerOS / MilagrOS: Digital Mining Operating System

I hope that these little tips will guide you within your own Distro and version so that you can optimize it and adapt it to Digital Cryptocurrency Mining. And if you don’t want to do these and other optimizations, download the GNU / Linux MilagrOS Operating System for free or under donation , formerly called MinerOS from its official website, by clicking here: Tic Tac Project | Distros .

Write A Comment

Exit mobile version