Convert your GNU / Linux into an Operating System suitable for Digital Mining
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).
Below 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:
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 @ host: / directory / subdirectory # sudo apt install intel-microcode # Only for INTEL Processors
root @ machine: / 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 as User the hddtemp command:
root @ host: / directory / subdirectory # sudo hddtemp / dev / sda
Packages to manage Video Cards:
Nota: Only install in desktop computers with non-integrated AGP / PCI / PCI EXPRESS video card 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 at install the proprietary video packages and do not start the graphical environmentOr, you can solve the problem by deleting the contents of the file /etc/x11/xorg.conf 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-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 Bitcoin repositories available 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 Ubuntu and some Ubuntu-based Distros may need install libboost libraries not corresponding to its version, libraries such as: «libboost-filesystem1.58.0","libboost-program-options1.58.0","libboost-system1.58.0" Y "libboost-thread1.58.0»That are typical of Ubuntu 16.04 (Xenial). They must be downloaded and installed with the command order: "Sudo dpkg -i libboost * .deb".
And in other cases, the installation of the packages "cmake" or "libcurl4" and "libcurl4-openssl-dev" may be required., which require uninstalling 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 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 Mining Software and Digital Wallet of your preference!
MinerOS / MilagrOS: Digital Mining Operating System
I hope these little tips guide them within their own Distro and version so that they can optimize it and adapt it to the Digital Mining of Cryptocurrencies. And in case you do not want to do these and other optimizations, download for free or under donation the GNU / Linux MilagrOS Operating System, formerly called Miners from its official website, by clicking here: Tic Tac Project | Distros.
