Install script for yiimp on Ubuntu 16.04
Before running this script make sure you are on a fresh server and running as a user. Do not run this script under root!
This script has an interactive begining and will ask for the following information:
- Your time zone
- Server Name - IMPORTANT - You must already have your domain name pointed to your server before running the script or else the SSL install will fail!
- Server IP for hosts file update
- Support Email Address
- Server Admin Email Address
- If you would like fail2ban installed
- Send test email from server
Once those questions are answered the script will then be fully automated for the rest of the install.
- The script will update your hosts file with server ip and server name.
- Disable and remove AppAromor
- Update and Upgrade Ubuntu Packages
- Install Aptitude
- Install and configure Nginx
- Install MariaDB with random root password
- Install php7
- Install various dev packages required for building blocknotify and stratum
- Install SendMail
- Install Fail2Ban if selected
- Install and configur phpmyadmin with random password for phpmyadmin user
- Clone yiimp build packages, create directory structure, set file permissions, and more
- Update server clock
- Install LetsEncrypt
- Create yiimp database, create 2 users with random passwords - passwords saved in ~/.my.cnf
- Import the sql dumps from yiimp
- Create base yiimp serverconfig.php file to get you going
- Updates all directory permissions
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.
You must update the following files:
- /var/web/serverconfig.php - update this file to include your public ip to access the admin panel. update with public keys from exchanges. update with other information specific to your server..
- /etc/yiimp/keys.php - update with secrect keys from the exchanges.
After you add the missing information to those files then run: ./main.sh ./loop2.sh ./block.sh
To download and run
curl -Lo install.sh https://raw.githubusercontent.com/crombiecrunch/yiimp/master/install.sh
bash install.sh
If this helped you or you feel giving please donate BTC Donation: 1AxK9a7dgeHvf3VFuwZ2adGiQTX6S1nhrp
Crombie Crunch