### Manual YiiMP Pool Installation from Repository (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Clones the YiiMP installer repository and runs the installation script manually, allowing for more control over the setup process. The installer guides users through domain, SSL, database, and email configurations. ```bash # Clone the repository git clone -b v2.6.2 --depth 1 https://github.com/afiniel/Yiimpoolv1 ~/Yiimpoolv1 # Start the installation cd ~/Yiimpoolv1/install bash start.sh # The installer will guide you through: # 1. Domain/subdomain configuration # 2. SSL certificate setup # 3. Database credentials generation # 4. Email settings # 5. Stratum configuration ``` -------------------------------- ### Configure Coin Wallet Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Details the process of configuring cryptocurrency wallets for the mining pool. Shows how to view wallet directory structures, example configuration files, and commands to start, stop, check status, and generate new addresses for coin daemons. ```bash ls /home/crypto-data/wallets/ cat /home/crypto-data/wallets/.bitcoin/bitcoin.conf bitcoind -datadir=/home/crypto-data/wallets/.bitcoin -conf=bitcoin.conf -daemon bitcoin-cli -datadir=/home/crypto-data/wallets/.bitcoin stop bitcoin-cli -datadir=/home/crypto-data/wallets/.bitcoin getwalletinfo bitcoin-cli -datadir=/home/crypto-data/wallets/.bitcoin getnewaddress litecoin-wallet -datadir=/home/crypto-data/wallets/.litecoin -wallet=. create ``` -------------------------------- ### Access YiiMP Control Menu Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Shows how to launch the main YiiMP control menu, which provides options for installation, configuration, and management. Includes example menu output and version checking. ```bash yiimpool ``` -------------------------------- ### Quick Install Yiimp Pool Source: https://github.com/afiniel/yiimpoolv1/blob/master/README.md This script downloads and executes the main installation script for the Yiimp mining pool. It requires a fresh Ubuntu or Debian installation and should be run with root privileges. ```bash curl https://raw.githubusercontent.com/afiniel/Yiimpoolv1/master/install.sh | bash ``` -------------------------------- ### Install Berkeley DB for DaemonBuilder Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Explains how to install Berkeley DB libraries required by DaemonBuilder for compiling coin daemons. Mentions that DaemonBuilder usually handles this automatically but provides manual installation steps and lists available versions and library paths. ```bash cd ~/Yiiimpoolv1/daemon_builder bash berkeley.sh ``` -------------------------------- ### Verify Yiimp Pool Installation Source: https://github.com/afiniel/yiimpoolv1/blob/master/README.md This script performs a post-installation check to verify the health and proper setup of the Yiimp mining pool. It should be run after the initial installation and server reboot. ```bash bash install/post_install_check.sh ``` -------------------------------- ### Manage YiiMP Services with Screen Commands (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Provides commands for managing YiiMP services using screen sessions. Allows listing, attaching to, detaching from, starting, stopping, and restarting individual or all services. ```bash # List all active screens screen -list # Expected output: # There are screens on: # 12345.main (Detached) # 12346.loop2 (Detached) # 12347.blocks (Detached) # 12348.debug (Detached) # Attach to a specific screen screen -r main # Main processing screen screen -r loop2 # Secondary loop processing screen -r blocks # Block processing monitor screen -r debug # Debug information screen # Detach from current screen (while attached) # Press: Ctrl+A, then D # Control all YiiMP services screens start # Start all services screens stop # Stop all services screens restart # Restart all services # Control specific service screens start main screens stop blocks screens restart loop2 ``` -------------------------------- ### Quick YiiMP Pool Installation (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Installs the YiiMP mining pool with a single command by downloading and executing the installation script. Supports installing specific versions using the TAG environment variable. ```bash # Quick install - downloads and runs the installer curl https://raw.githubusercontent.com/afiniel/Yiimpoolv1/master/install.sh | bash # Install a specific version using TAG environment variable TAG=v2.6.2 curl https://raw.githubusercontent.com/afiniel/Yiimpoolv1/master/install.sh | bash ``` -------------------------------- ### Control Yiimp Pool Services Source: https://github.com/afiniel/yiimpoolv1/blob/master/README.md These commands allow for starting, stopping, and restarting specific services within the Yiimp mining pool environment. The 'yiimp' command provides an overview of the pool's status, and 'motd' checks system status. ```bash screens start|stop|restart [service] # Control specific services yiimp # View pool overview motd # Check system status ``` -------------------------------- ### Manage Firewall with UFW Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Demonstrates how to manage the UFW firewall for a YiiMP installation. Includes commands to check status, open and block common ports (HTTP, HTTPS, SSH, MySQL, stratum), and notes on the automatic port opening script. ```bash sudo ufw status verbose sudo ufw allow 3333 sudo ufw allow 80 sudo ufw allow 443 sudo ufw allow 22 sudo ufw allow 3306 sudo ufw deny 3333 ``` -------------------------------- ### Upgrade YiiMP Installation Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Provides commands to upgrade an existing YiiMP installation. Includes options for a full upgrade or a stratum-only upgrade, as well as manual Git-based update steps. It also shows how to check for the latest available version. ```bash cd ~/Yiimpoolv1/yiimp_upgrade bash upgrade.sh bash upgrade.sh --stratum-only cd ~/Yiiimpoolv1 git fetch --tags git checkout v2.6.2 cd ~/Yiiimpoolv1 git fetch --tags git describe --tags $(git rev-list --tags --max-count=1) ``` -------------------------------- ### Compile Coin Daemons with DaemonBuilder (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Launches the DaemonBuilder tool to compile cryptocurrency daemons from source or install precompiled binaries. Supports various build methods including Berkeley DB, CMake, and makefile.unix. ```bash # Launch DaemonBuilder from command line daemonbuilder # DaemonBuilder supports multiple build methods: # - Berkeley DB 4.8, 5.1, 5.3, 6.2 with autogen.sh # - CMake-based builds # - makefile.unix builds # - Precompiled Linux binaries (.tar.gz, .zip, .7z) # Example build session (interactive): # 1. Enter coin symbol: BTC # 2. Select mining algorithm from list # 3. Provide GitHub repository URL: https://github.com/bitcoin/bitcoin.git # 4. Choose branch (optional): v25.0 # 5. DaemonBuilder compiles and installs to /usr/bin/ # After compilation, daemon and CLI are available: bitcoind -datadir=/home/crypto-data/wallets/.bitcoin -daemon bitcoin-cli -datadir=/home/crypto-data/wallets/.bitcoin getblockchaininfo ``` -------------------------------- ### Post-Installation Verification (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Runs a script to verify the successful completion of the YiiMP installation and checks the status of all running services. Also displays the YiiMP version and system status. ```bash # Run post-installation health check bash ~/Yiimpoolv1/install/post_install_check.sh # Display system status with custom MOTD motd # Check YiiMP version cat /etc/yiimpoolversion.conf # Output: VERSION=v2.6.2 ``` -------------------------------- ### View YiiMP Configuration Files Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Displays the content of key YiiMP configuration files, including the main .yiimp.conf for credentials, server configuration, stratum settings, and MySQL credentials. These files are crucial for understanding and managing pool settings. ```bash cat /home/crypto-data/yiimp/.yiimp.conf cat /home/crypto-data/yiimp/site/configuration/serverconfig.php ls /home/crypto-data/yiimp/site/stratum/config/ cat ~/.my.cnf cat /etc/yiimpoolversion.conf cat /etc/functions.sh ``` -------------------------------- ### Verify Critical Services Status Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Checks the operational status of essential services like Nginx, MariaDB, and PHP-FPM. Ensures the web server and backend services are running correctly after installation. ```bash systemctl status nginx systemctl status mariadb systemctl status php8.2-fpm ``` -------------------------------- ### Manage Yiimp Pool Services with Screen Source: https://github.com/afiniel/yiimpoolv1/blob/master/README.md These commands are used to manage the screen sessions for the Yiimp mining pool services. They allow viewing, attaching to, and detaching from critical processes like the main pool, stratum, and block handlers. ```bash screen -list # View all screens screen -r [name] # Access screen (main|loop2|blocks|debug) ctrl+a+d # Detach from current screen ``` -------------------------------- ### Add Dedicated Stratum Port for Coins (Bash) Source: https://context7.com/afiniel/yiimpoolv1/llms.txt Uses the `addport` utility to create dedicated stratum ports for cryptocurrencies, automating configuration and firewall rules. It generates configuration files, control scripts, and adds entries to crontab for auto-start. ```bash # Launch addport utility addport # Interactive prompts: # 1. Enter coin symbol (uppercase): DOGE # 2. Select algorithm from list (e.g., scrypt) # 3. Optional: Set minimum nicehash value # The script automatically: # - Generates random port between 2768-6999 # - Creates /home/crypto-data/yiimp/site/stratum/config/doge.scrypt.conf # - Creates /usr/bin/stratum.doge control script # - Opens port in UFW firewall # - Adds to crontab for auto-start on boot # Stratum control commands after setup: stratum.doge start doge # Start the stratum stratum.doge stop doge # Stop the stratum stratum.doge restart doge # Restart the stratum # View stratum logs in screen session screen -r doge # Detach from screen: Ctrl+A, D ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.