Code Monkey home page Code Monkey logo

chia-plotting-on-ubuntu-server's Introduction

๐ŸŒฑ About

I would like to share my (little) knowledge about getting started with chia plotting on ubuntu server (21.04).

โš ๏ธ Disclaimer

This repository will help a novice Linux user quickly getting started with chia plotting on Ubuntu Server 21.04. Since i am just learning github - there will be hard codes parameters which you need to change to match your environment.

๐Ÿ‘Œ Step by step guide

  • ๐Ÿ›๏ธ To configure a local static ip address, please follow this link: https://linuxize.com/post/how-to-configure-static-ip-address-on-ubuntu-20-04/

  • ๐Ÿ˜€ Now we are one step closer to start plotting on our server

  • ๐Ÿ“ Create a folder called chia in your home directory

    cd ~
    mkdir chia && cd chia
  • ๐Ÿ”„ Install a neat tool called progress, which will monitor system processes like cp mv rsync etc

    sudo apt install progress

    ๐Ÿ“ถ For example, to view file transfers in real time we execute

    progress -w
  • ๐Ÿ’ฝ โ›๏ธ MadMax chia plotter needs to be installed within the directory chia directory we created earlier (~/chia). Issue the commands below to install the MadMax chia plotter

    sudo apt install -y libsodium-dev cmake g++ git build-essential
    # Checkout the source and install
    git clone https://github.com/madMAx43v3r/chia-plotter.git 
    cd chia-plotter
    
    git submodule update --init
    ./make_devel.sh
    ./build/chia_plot --help`
    
    # Code is copied from https://github.com/madMAx43v3r/chia-plotter
  • โฐ A few moments later

  • ๐Ÿช„ Now it's time to download my magical program

    wget https://raw.githubusercontent.com/manprinsen/chia-plotting-on-ubuntu-server/main/program.py && sudo chmod 777 program.py
  • โœ‹ Before we run the program, we need to enter the a correct Pool Key and Farmer Key within the program. The variables poolKey and farmerKey will be found in the beginning of the file

    sudo nano program.py
    # ==> below is example output from the file
    #!/usr/bin/env python3
    ...
    poolKey = "enter your own key"
    farmerKey = "enter your own key"
    ...

    To save the changes simply execute the following key combination ctrl + x followed by y (to save) and hit enter

  • ๐Ÿš€ To run the program, simply issue the following command

    ./program.py

    You will be greeted with the following screen

     --------------------------------------------
    |                                            |
    |   W E L C O M E  T O  M Y  P R O G R A M   |
    |                                            |
    |   Select one of the following options:     |
    |                                            |
    |   [ 1 ]   - Mount Drive                    |
    |   [ 2 ]   - Mount Ram Drive                |
    |   [ 3 ]   - Unmount Drive                  |
    |   [ 4 ]   - Delete All File In Drive       |
    |   [ 5 ]   - Turn Off System Swap           |
    |   [ 6 ]   - Turn On High Performance       |
    |   [ 7 ]   - Open Screen Session            |
    |   [ 8 ]   - List Disk Infomation           |
    |   [ 9 ]   - Start MadMax Plotter           |
    |   [ 10 ]  - Start Plot Mover               |
    |   [ 11 ]  - View Move Processes            |
    |   [ q ]   - Quit Program                   |
    |                                            |
    |                                            |
    |                                            |
    |                                            |
     --------------------------------------------
  • ๐Ÿ™ I dont know it it's just be, but I have a hard time remembering a bunch of shell commands. So the main purpose of this program is the handle this for you.

    From now on you will only need to SELECT which task you want run, which, from my perspective, makes Ubuntu Server USER FRIENDLY!!

  • ๐Ÿณ๏ธ I appreciate any feedback, especially feedback from Linux guru's

chia-plotting-on-ubuntu-server's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.