/yiimp_ubuntu_install_script

Install Script for Yiimp on Ubuntu Server 16.04 / 18.04

Primary LanguageShell

Yiimp Ubuntu Install Script (update 2022-07-19) v0.2


Join Community Badge

Install script for yiimp on Ubuntu Server 16.04 / 18.04

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.

First of all you need to create a new user i use pool, and upgrade the system.

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

Clone the git repo

  • 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

clone the git repo.

git clone https://github.com/bangdrie/yiimp_ubuntu_install_script.git

cd to the installer map.

cd yiimp_ubuntu_install_script

Now it's time to start the installation.

bash install.sh
  • It will take some time for the installation to be finnished and it will do for you.

Now let's make the system switch from php 8.* to 7.3

sudo update-alternatives --config php
  • select the option corresponding to PHP7.3

Now just restart nginx and php

sudo service nginx restart
sudo service php7.3-fpm restart

This script has an interactive beginning and will ask for the following information :

  • 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.

Update keys.php if you have exchange (Enable)

  • 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

Change AdminRights

  • 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
‼️ IMPORTANT :
  • 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.

🎁 Support

Donations for continued support of this script are welcomed at:

  • BTC Donation : 18ko9XFRhQWoQAxnVk3TnNvm13hqF22Sai
  • BCH Donation : 18ko9XFRhQWoQAxnVk3TnNvm13hqF22Sai
  • ETH Donation : 0xe5c3e0a3d15fb17729cd906d0b0e1516428afeea