Skip to content

Install from deb package

ChMarina edited this page Sep 15, 2020 · 10 revisions

Please pay attention that this package can ONLY be installed on devices running UBUNTU 18.

In order to run torrent node you have to do the following:

  1. apt install libgoogle-perftools4 libgmp10 liburiparser1 (this libraries are required for installing this particular deb package)
  2. wget LINK (Please, put in here the link to the latest released version. For version 1.1 LINK)
  3. dpkg -i NAME OF THE FILE (NAME OF THE FILE - the deb package’s current name , for v 1.1: mh-torrent_1.1.deb)
  4. cd /opt/mh-torrent
  5. wget https://raw.githubusercontent.com/metahashorg/Node-Torrent/ubuntu18/pre_compiled/config.conf
  6. ./torrent ./config.conf

To run torrent, you have to add the file containing your private key to the folder containing torrent (/opt/mh-torrent). The file’s name must be as follows: yourkey.raw.prv. Сlick here for information about where to get the private key.

Example: 0x007ff2d508be12392be5a381ca07b55c8fd02d09192a9b5cf4.raw.prv

Besides, you have to configure your config file (/opt/mh-torrent/config.conf). To do it, add the row with the name of your file containing private key or, if the row sign_key = ... already exists, replace the private key with your key in it.

Example: sign_key = "0x007ff2d508be12392be5a381ca07b55c8fd02d09192a9b5cf4".

Home

Install and Build

Install-from-deb-package

API

Usage

Clone this wiki locally