How to MIne on Ubuntu 2

How to Mine PKT on Ubuntu [6 Simple Steps]

Did you know? Even when you are asleep, you pay your entire internet bill. PKT allows you to pay your internet bill with your unused bandwidth, isn’t it great?

giphy 11

Despite the fact that most people make PKT mining on Ubuntu extremely difficult, I will demonstrate a simple script that automates the majority of the work.

Excited? Let’s get started.

Method 1: PKT Mining on Ubuntu Step by Step Guide

Step 1

The first thing you need to run is Terminal on Ubuntu.

Running a terminal

 

Step 2

When you open it, paste the below code. Previously, people had to type the command line one by one that took a lot of time. Linux is great; it saves time.

sudo apt-get update && sudo apt-get upgrade -y && sudo apt install curl -y && sudo apt install tmux -y && sudo apt install gcc git -y && curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh && sudo apt install make && rm -rf packetcrypt_rs && pkill -f packetcrypt ; git clone https://github.com/cjdelisle/packetcrypt_rs && cd packetcrypt_rs && tmux

Pasting the PKT code

 

Step 3

When you see this step that displays:

1) Proceed with the installation

2) Customize installation

3) Cancel Installation.

You don’t need to select an option, just hit the ENTER button.

~/.cargo/bin/cargo build --release ; ./target/release/packetcrypt ann -p pkt1q5v2ez8drssjcrwfh5tjz2pw06t0e7h7kq74es2 https://stratum.zetahash.com/ http://pool.pkt.world http://pool.pktpool.io http://pool.pkteer.com
Press Enter to proceed PKT mining

 

Step 4

After a few minutes, now paste the second script when you see the green bar. Don’t forget to replace your PKT address with your address.

If you don’t have a PKT wallet address for mining, don’t worry, at the bottom of the article, I showed how you can create a wallet without running any complicated command lines.

I put the pool order that is responsible for giving you the best rewards from mining.

second script PKT

 

Step 5

When you see the Ke/s and Mb/s, it means your mining is working fine. That’s it.

PKT is mining on Ubuntu

 

Step 6

In order to check how many coins have you earned, you can visit the PKT explorer and put your PKT address to view your mining stats.

 

Checking Mining Balance 

Method 2: PKT Mining on Ubuntu Using Docker Image (Updated March 2022)

Occasionally, the method described above will not work for a variety of reasons. However, the Docker image method will always work.

Step 1:

First, update your existing list of packages:

sudo apt update

Step 2:

Installing a few prerequisite packages lets apt use packages over HTTPS:

sudo apt install apt-transport-https ca-certificates curl software-properties-common

Step 3:

Add the GPG key for the official Docker repository to your system:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Step 4:

Add the Docker repository to your APT sources:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

Step 5:

To update our package database with the latest versions of Docker, we’re going to add the Docker repo to Ubuntu.

apt-cache policy docker-ce

Step 6:

After all that, you’re ready to install Docker. Don’t forget to type Y and hit Enter.

sudo apt install docker-ce
image

Step 7:

Docker should be installed, the daemon started, and the process enabled to start on boot. Check that this is true:

sudo systemctl status docker

Step 8:

It’s time to install the PKT docker image. Type:

docker pull thomasjp0x42/packetcrypt

Step 9:

Replace the wallet address with yours:

docker run thomasjp0x42/packetcrypt ann -p <your_wallet_address> <pool_1> <pool_2> <pool_3>

It would be something like this:

docker run thomasjp0x42/packetcrypt ann -p pkt1qnrrhxwarlm4x4a47zxu0shylm4jh502vj9jypu https://stratum.zetahash.com/ http://pool.pktpool.io http://pool.pkt.world

When you see ke/s, it means it’s working fine.

image 1

Don’t have a PKT Wallet Address?

Don’t worry, I’ve created an extremely easy guide on creating a PKT wallet address for mining:

Once you’ve created a PKT wallet address, replace the address mentioned in the second script.

 

Changing PKT Address

 

Have a question? Ask below in the comment section.