Search the Community
Showing results for tags 'yiimp'.
First go to this script's github and read through the readme a few times. https://github.com/xavatar/yiimp_install_scrypt For a single coin pool, a $5 Vultr VPS Appears to work so far. This is 1 cpu, 1GB ram. Also grab a domain name from somewhere like namecheap with whois guard. You then want to create an A record that points the domain name to your VPS IP and let this propogate. This generally takes 1-2 hours. I useÂ https://dnschecker.org/#A to check the DNS switched over. I setup the denarius daemon first to double check I can compile coins. Some cheaper VPS's will not allow swap drives to compile and even fake swap space doesn't work sometimes. A nice feature of Vultr is that you can upgrade and not lose your data. They still also allow free snapshots of your VPS. After you compile denariusd, start daemon. Note the RPC user and pass this randomly generates and copy and paste those somewhere. Edit the denarius.conf and add those and a couple other lines to start the daemon syncing. nano ~/.denarius/denarius.conf Add these lines. RPCUSERNAME=FROMABOVE RPCPASSWORD=FROMABOVE daemon=1 Restart denariusd and let that sync in the background and start the Yiimp script install. adduser pool usermod -aG sudo pool su - pool sudo apt-get -y install git git clone https://github.com/xavatar/yiimp_install_scrypt.git cd yiimp_install_scrypt/ sudo bash install.sh Use this link for the timezone you will input into the beginning of the script http://php.net/manual/en/timezones.php Keep everything as default. Yes you want to use letsencrypt so the domain is automatically setup for https. Also you need to grab your home IP so only that IP can login to the Yiimp control panel. Also need an email for alerts. Also you admin panel can be named anything which you get the option here. Example https://example.com/site/ICOULDNAMEMYADMINPANELTHIS. Inputting through the steps, sit back and watch the script go to work. This will take anywhere from 30min to over an hour depending on the VPS. After the initial setup is done, go to your new domain name and see the website is setup, but no coin is there to mine. At your panel click Wallets at the top of the menu bar and scroll down to see CREATE COIN. Fill in this Data thats underlined in red on the General Tab. Here is a direct link for a D logo. Which Yiimp automatically adds. https://i.imgur.com/jv3U2nF.png On the Settings tab checkmark similar things, and wait to add D addresses for once we are done setting up these tabs. On the Deamon tab fill in the underlined red. Click Save. Go back to that config screen by clicking COIN PROPERTIES. Go back to the Deamon tab and under sample config you want to copy and paste that entire area and paste into your denarius.conf file at ~/.denarius/denarius.conf At the VPS command line nano ~/.denarius/denarius.conf Change the last line blocknotify to this. Full denarius.conf example below. rpcuser=USERNAME rpcpassword=PASSWORD rpcport=32369 rpcthreads=8 rpcallowip=127.0.0.1 maxconnections=12 daemon=1 gen=0 alertnotify=echo %s | mail -s "Denarius alert!" [email protected] blocknotify=/var/stratum/blocknotify 127.0.0.1:8533 1425 %s Open up your firewall for port 8533 for mining and also allow 33369 for denarius daemon port. sudo ufw allow 8533 33369 Now stop denariusd from syncing earlier and rerun. Some sample tutorials are running this with sudo. Not sure if this is required. denariusd Once that gets syncing again we need an address. I did it like this. denariusd getnewaddress denariusd getaccountaddress default And I used that default address in the Settings Tab -> Master Wallet and Daemon Tab -> Account Go back into the Yiimp control panel, click wallets again at the top right and then Select Server and choose 127.0.01 to get your list of coins you have added. Once the daemon is done syncing go back to admin panel to the Settings Tab and click Enable and Auto Ready. Change the stratum script before running which is in that yiimp folder you cloned in. nano screen-stratum.sh And change to #!/bin/bash STRATUM_DIR=/var/stratum screen -dmS tribus $STRATUM_DIR/run.sh tribus I would remove root login access and remove password login for VPS login accounts and only use SSH keys, as a starting point to start locking the VPS down. 2 Things I changed from the default install. Payout Frequency to every hour. /var/web/serverconfig.php define('YAAMP_PAYMENTS_FREQ', 1*60*60); And somewhere I saw this helped with payout issues. /var/web/yaamp/core/backend/payment.php line57 if($coin->symbol == 'BOD' || $coin->symbol == 'D' || $coin->symbol == 'DIME' || $coin->symbol == 'BTCRY' || !empty($coin->payout_max)) If you are looking to edit the website text, go to https://github.com/tpruvot/yiimp And search a small portion of the text you are looking to change, and this will show you the file to edit.