Use this script on fresh install ubuntu Server 16.04 / 18.04. No other version is currently supported.
This install script will get you 95% ready to go with yiimp. There are a few things you need to do after the main install is finished.
Update and upgrade your system.
sudo apt-get update && sudo apt-get upgrade -y
To create your new user and.
adduser pool
To add you new user to sudo group
adduser pool sudo
-
Be sure you are have su in to your pool user before you clone it, else you clone it to root user
sudo su pool
git clone https://github.com/bangdrie/yiimp_ubuntu_install_script.git
cd yiimp_ubuntu_install_script
bash install.sh
-
It will take some time for the installation to be finnished and it will do for you.
sudo update-alternatives --config php
-
select the option corresponding to PHP7.3
sudo service nginx restart
sudo service php7.3-fpm restart
- Server Name (You can enter )(Example)): example.com or your ip of your vps like this 80.41.52.63)
- Are you using a subdomain (subdomain.example.com)
- Enter support email
- Set stratum to AutoExchange
- Your Public IP for admin access (Put your PERSONNAL IP, NOT IP of your VPS)
- Install Fail2ban
- Install UFW and configure ports
- Install LetsEncrypt SSL
Finish! Remember to
sudo reboot
when the installer tell you to.
- Access your new pool at (No-SSL) example.com/site/ (With SSL) https://www.example.com/site/
- Access AdminPanel: (No-SSL) example.com/site/AdminPanel (With SSL) https://www.example.com/site/AdminPanel
-
Update your public keys for exchanges (If Enable). update with Your own keys.. , you can change it by nano to,
sudo nano /etc/yiimp/keys.php
-
If you want change your AdminRights to something else : Edit this file "/SiteController.php" and Line 11 => change 'AdminPanel'
sudo nano /var/web/yaamp/modules/site/SiteController.php
- The configuration of yiimp and coin require a minimum of knowledge in linux
- Your mysql information (login/Password) is saved in ~/.my.cnf
While I did add some server security to the script, it is every server owners responsibility to fully secure their own servers. After the installation you will still need to customize your serverconfig.php file to your liking, add your API keys, and build/add your coins to the control panel.
Donations for continued support of this script are welcomed at:
- BTC Donation : 18ko9XFRhQWoQAxnVk3TnNvm13hqF22Sai
- BCH Donation : 18ko9XFRhQWoQAxnVk3TnNvm13hqF22Sai
- ETH Donation : 0xe5c3e0a3d15fb17729cd906d0b0e1516428afeea