Code Monkey home page Code Monkey logo

yiimpool-installer's Introduction

Afiniel-Tech YiimPool Installer v3.0 - Dev Branch!

Afiniel.Tech YiimPool Installer Is an install script that will do all the magic for you to get your yiimp server up in no time. It is a fork of Multi-Pool-Installer by CryptoPool Builders. Since it looks like they have stop maintaining it, So we fork it and YiimPool got born to keep this script up to date and alive!


The installer requires the following.

  • Fresh Ubuntu 18.04 or Ubuntu 16.04
  • Minimum RAM 4GB
  • Recommended RAM 8GB
  • for best performance, use a dedicated server

Installation.

To start the installation, copy the line below and paste it in your terminal. use the same line to update when new release is out!

curl https://raw.githubusercontent.com/afinieldev/Yiimpool-Installer/master/bootstrap.sh | bash

  • Information about the user

    • If you are running as root the installer will prompt you to create a new account.

>* If you have a user account created on your server that account must already be part of the sudo group.


IMPORTANT!

> After creating the new user account or updating your existing account, you MUST reboot the machine in order for the accounts permissions to be updated properly.

when you have rebooted, you log back into your new user account. and run the following command.

yiimpool


YiiMP Install questions

The Yiimp Single Server Install is recommend for private pools. It is recommended to have at least 4GB ram in order to function properly. Setup is automated after the following questions are answered:

Question Default Help
Are you using a domain name no If you plan to use something like example.com, make sure DNS is updated
Are you using a sub-domain as the main domain no If you plan to use something like pool.example.com
Domain Name localhost Change to your domain either example.com or pool.example.com
Stratum Domain stratum.domain.name This should be something other then your domain name
Install SSL yes Installs a 90 day cert from LetsEncrypt
Support Email root@localhost Used to send you system alerts
Your Public IP pulls ip last used to acess web server To verify go to http://www.whatsmyip.org
DB Root Password autogenerated 36 character password Default mysql root password
DB Panel User Password autogenerated 36 character password Default mysql frontend password
DB Stratum Password autogenerated 36 character password Default mysql stratum password
Admin Portal Access Location AdminPortal to access example.com/site/AdminPortal
  • Some information.

    • Installation will take some time to fully complete. You will get a message on the screen letting you know it has finished.


A server reboot is REQUIRED after the installer is completed to finalize the installation process!

On first reboot it may take some minutes before the cron screens auto-start. After waiting some minutes type:

motd


To help make your server more secure we have changed the install locations and directory structure of YiiMP as follows:


Directory Files
/home/yiimp-data/yiimp General install location for YiiMP
/home/yiimp-data/yiimp/starts screens and stratum sh files - you do not need to run these
/home/yiimp-data/yiimp/site -
/home/yiimp-data/yiimp/site/web New location for YiiMP web files
/home/yiimp-data/yiimp/site/backup backup location for mysql DB
/home/yiimp-data/yiimp/site/configuration New location of your serverconfig.php
/home/yiimp-data/yiimp/site/crons New location of the main:blocks:loop2 sh files
/home/yiimp-data/yiimp/site/log New location for debug.log and your nginx server log
/home/yiimp-data/yiimp/site/stratum New location for your stratum files
/home/yiimp-data/wallets New location for wallets

> Permissions have been setup correctly allowing your main user write acess to the /home/yiimp-data directories! Changing file or directory permissions after install will cause your YiiMP to not function correctly, you have been warned!!

> By default even though all stratum algos start on server start, the ports have been blocked by the firewall. To open a port type: `sudo ufw allow ` to run this installer again just type: `yiimpool`


Your Yiimp server is now ready for duty!


From there your YiiMP Single Server installation is fully completed. You can now go to example.com/site/AdminPortal to access your admin section and start adding your coins.

Commands


To view a screen type:
screen -r main|loop2|blocks|debug

To detach from a screen type:

ctrl+a+d

To start, stop or restart main|loop2|blocks|debug type:

screens start|stop|restart main|loop2|blocks|debug

We also suggest that you type:

yiimp

and get to know those commands as well!

Thank you for using YiimPool Installer!

❤️ Credits

The following GitHubs have been a source of inspiration and code:

The following forks have been used in the making of the script:

🎓 License

MIT

🎁 Support

Donations for continued support of this script are welcomed at:

  • BTC: bc1qpnxtg3dvtglrvfllfk3gslt6h5zffkf069nh8r
  • Doge: DCj73fKJbHeDTJx7arz4z7bbknWkSDpD8h
  • ETH: 0x50C7d0BF9714dBEcDc1aa6Ab0E72af8e6Ce3b0aB
  • LTC: ltc1qqw7cv4snx9ctmpcf25x26lphqluly4w6m073qw

yiimpool-installer's People

Contributors

afiniel avatar afinieldev avatar

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.