From b06c5119a5fe4a28ec5e7724950025231adedb44 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 08:17:55 +0000 Subject: [PATCH 01/19] Customize for use within docker --- install.sh | 43 +++++++++++++------------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/install.sh b/install.sh index fa64b7c5..380cc0d8 100644 --- a/install.sh +++ b/install.sh @@ -1,14 +1,6 @@ #!/bin/bash -################################################################################ -# Author: -# -# Web: blocksuckernation.com -# -# Program: -# Install yiimp on Ubuntu 16.04 running Nginx, MariaDB, and php7.x -# BTC Donation: -# -################################################################################ +# vim:ts=4:sw=4:ai:et:si:sts=4 + output() { printf "\E[0;33;40m" echo $1 @@ -21,26 +13,17 @@ displayErr() { echo exit 1; } -clear -output "Make sure you double check before hitting enter! Only one shot at these!" -output "" - read -e -p "Enter time zone (e.g. America/New_York) : " TIME - read -e -p "Server name (no http:// or www. just example.com) : " server_name - read -e -p "Are you using a subdomain (pool.example.com?) [y/N] : " sub_domain - read -e -p "Enter support email (e.g. admin@example.com) : " EMAIL - read -e -p "Set stratum to AutoExchange? i.e. mine any coinf with BTC address? [y/N] : " BTC - read -e -p "Please enter a new location for /site/adminRights this is to customize the admin entrance url (e.g. myAdminpanel) : " admin_panel - read -e -p "Enter your Public IP for admin access (http://www.whatsmyip.org/) : " Public - read -e -p "Install Fail2ban? [Y/n] : " install_fail2ban - read -e -p "Install UFW and configure ports? [Y/n] : " UFW - read -e -p "Install LetsEncrypt SSL? IMPORTANT! You MUST have your domain name pointed to this server prior to running the script!! [Y/n]: " ssl_install - - clear - output "If you found this helpful, please donate to BTC Donation: " - output "" - output "Updating system and installing required packages." - output "" - + +TIME="America/Los_Angeles" +server_name=coinpool.mycryptocoins.net +sub_domain=y +EMAIL=gjhurlbu@gmail.com +admin_panel=adminPanel +install_fail2ban=y +UFW=n +ssl_install=y +send_email=n + # update package and upgrade Ubuntu sudo apt-get -y update sudo apt-get -y upgrade From d257a7c8d3b8d4f272802aa8f811d5f3f8db8012 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:03:53 +0000 Subject: [PATCH 02/19] MySQL, not MariaDB --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 380cc0d8..fa09d79e 100644 --- a/install.sh +++ b/install.sh @@ -50,12 +50,12 @@ default 0; } ' | sudo -E tee /etc/nginx/blockuseragents.rules >/dev/null 2>&1 - output "Installing Mariadb Server." + output "Installing MySQL Server." output "" # create random password rootpasswd=$(openssl rand -base64 12) export DEBIAN_FRONTEND="noninteractive" - sudo aptitude -y install mariadb-server + sudo aptitude -y install mysql-server output "Installing php7.x and other needed files" output "" From a64c344887bc21b5ded239547792f62f1b61bb2a Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:07:03 +0000 Subject: [PATCH 03/19] Use apt-get for mysql-server --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fa09d79e..f6be421c 100644 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ default 0; # create random password rootpasswd=$(openssl rand -base64 12) export DEBIAN_FRONTEND="noninteractive" - sudo aptitude -y install mysql-server + sudo apt-get -y install mysql-server output "Installing php7.x and other needed files" output "" From c01396725ce34bfadcc3d984585afb0d29096646 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:11:23 +0000 Subject: [PATCH 04/19] Use sudo -E to save environment --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f6be421c..132e7819 100644 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ default 0; # create random password rootpasswd=$(openssl rand -base64 12) export DEBIAN_FRONTEND="noninteractive" - sudo apt-get -y install mysql-server + sudo -E aptitude-get -y install mysql-server output "Installing php7.x and other needed files" output "" From 21a99e394674b36665fda3b5a79e53bec5f3d412 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:12:54 +0000 Subject: [PATCH 05/19] hehe, oops --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 132e7819..6cfc31c1 100644 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ default 0; # create random password rootpasswd=$(openssl rand -base64 12) export DEBIAN_FRONTEND="noninteractive" - sudo -E aptitude-get -y install mysql-server + sudo -E aptitude -y install mysql-server output "Installing php7.x and other needed files" output "" From 239b2522d25a70c31dadc41a829fdeec2b519e08 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:20:03 +0000 Subject: [PATCH 06/19] Try restarting mysql before installing phpmyadmin --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 6cfc31c1..409f5705 100644 --- a/install.sh +++ b/install.sh @@ -149,6 +149,7 @@ default 0; echo "phpmyadmin phpmyadmin/mysql/admin-pass password $rootpasswd" | sudo debconf-set-selections echo "phpmyadmin phpmyadmin/mysql/app-pass password $AUTOGENERATED_PASS" | sudo debconf-set-selections echo "phpmyadmin phpmyadmin/app-password-confirm password $AUTOGENERATED_PASS" | sudo debconf-set-selections + sudo service mysql-server restart sudo aptitude -y install phpmyadmin output " Installing yiimp" From a6d12213222a1cff331c87cb3a8350ff91904c7b Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:26:33 +0000 Subject: [PATCH 07/19] Is it just mysql? --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 409f5705..2f2270ee 100644 --- a/install.sh +++ b/install.sh @@ -149,7 +149,7 @@ default 0; echo "phpmyadmin phpmyadmin/mysql/admin-pass password $rootpasswd" | sudo debconf-set-selections echo "phpmyadmin phpmyadmin/mysql/app-pass password $AUTOGENERATED_PASS" | sudo debconf-set-selections echo "phpmyadmin phpmyadmin/app-password-confirm password $AUTOGENERATED_PASS" | sudo debconf-set-selections - sudo service mysql-server restart + sudo service mysql restart sudo aptitude -y install phpmyadmin output " Installing yiimp" From e30ddb7b9e448ff5c3d4fa629014acf4b452292f Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:39:09 +0000 Subject: [PATCH 08/19] Update libs --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2f2270ee..005a1310 100644 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ EMAIL=gjhurlbu@gmail.com admin_panel=adminPanel install_fail2ban=y UFW=n -ssl_install=y +ssl_install=n send_email=n # update package and upgrade Ubuntu @@ -60,7 +60,7 @@ default 0; output "Installing php7.x and other needed files" output "" sudo aptitude -y install php7.0-fpm - sudo aptitude -y install php7.0-opcache php7.0-fpm php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php-pear php-auth php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring + sudo aptitude -y install php7.0-opcache php7.0-fpm php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php-pear php-auth php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring php7.0-mbstring sudo phpenmod mcrypt sudo phpenmod mbstring sudo aptitude -y install libgmp3-dev @@ -69,6 +69,8 @@ default 0; sudo aptitude -y install libkrb5-dev sudo aptitude -y install libldap2-dev sudo aptitude -y install libidn11-dev + sudo aptitude -y install libidn2-0-dev + sudo aptitude -y install libpsn-dev sudo aptitude -y install gnutls-dev sudo aptitude -y install librtmp-dev sudo aptitude -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils From 7560bc38d3302dbe526d166f9fe69fd6717f3b1a Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:57:11 +0000 Subject: [PATCH 09/19] Fewer aptitude calls --- install.sh | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/install.sh b/install.sh index 005a1310..d23f1fc1 100644 --- a/install.sh +++ b/install.sh @@ -59,24 +59,29 @@ default 0; output "Installing php7.x and other needed files" output "" - sudo aptitude -y install php7.0-fpm - sudo aptitude -y install php7.0-opcache php7.0-fpm php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php-pear php-auth php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring php7.0-mbstring + sudo aptitude -y install php7.0-opcache php7.0-fpm php7.0 php7.0-common \ + php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php-pear \ + php-auth php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl \ + php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy \ + php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick \ + php-gettext php7.0-zip php7.0-mbstring php7.0-mbstring sudo phpenmod mcrypt sudo phpenmod mbstring - sudo aptitude -y install libgmp3-dev - sudo aptitude -y install libmysqlclient-dev - sudo aptitude -y install libcurl4-gnutls-dev - sudo aptitude -y install libkrb5-dev - sudo aptitude -y install libldap2-dev - sudo aptitude -y install libidn11-dev - sudo aptitude -y install libidn2-0-dev - sudo aptitude -y install libpsn-dev - sudo aptitude -y install gnutls-dev - sudo aptitude -y install librtmp-dev - sudo aptitude -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils - sudo aptitude -y install sendmail - sudo aptitude -y install git - sudo aptitude -y install pwgen -y + sudo aptitude -y install libgmp3-dev \ + libmysqlclient-dev \ + libcurl4-gnutls-dev \ + libkrb5-dev \ + libldap2-dev \ + libidn11-dev \ + libidn2-0-dev \ + libpsn-dev \ + gnutls-dev \ + librtmp-dev \ + build-essential libtool autotools-dev automake pkg-config \ + libssl-dev libevent-dev bsdmainutils \ + sendmail \ + git \ + pwgen clear #Generating Random Passwords From 614da7dcb028440e7c657fc60433843f7819677b Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 09:59:39 +0000 Subject: [PATCH 10/19] Fix php-auth --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d23f1fc1..348af11a 100644 --- a/install.sh +++ b/install.sh @@ -61,7 +61,7 @@ default 0; output "" sudo aptitude -y install php7.0-opcache php7.0-fpm php7.0 php7.0-common \ php7.0-gd php7.0-mysql php7.0-imap php7.0-cli php7.0-cgi php-pear \ - php-auth php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl \ + php-auth-sasl php7.0-mcrypt mcrypt imagemagick libruby php7.0-curl \ php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy \ php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick \ php-gettext php7.0-zip php7.0-mbstring php7.0-mbstring From 090aa87fb1ee0171878922d266a82a6c9f0c8a7d Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 10:43:11 +0000 Subject: [PATCH 11/19] Let's try this again --- install.sh | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/install.sh b/install.sh index 348af11a..07e89d55 100644 --- a/install.sh +++ b/install.sh @@ -14,6 +14,7 @@ displayErr() { exit 1; } +export TERM=vt100 TIME="America/Los_Angeles" server_name=coinpool.mycryptocoins.net sub_domain=y @@ -619,18 +620,6 @@ sudo service php7.0-fpm reload fi clear output "Now for the database fun!" - # create database - Q1="CREATE DATABASE IF NOT EXISTS yiimpfrontend;" - Q2="GRANT ALL ON *.* TO 'panel'@'localhost' IDENTIFIED BY '$password';" - Q3="FLUSH PRIVILEGES;" - SQL="${Q1}${Q2}${Q3}" - sudo mysql -u root -p="" -e "$SQL" - # create stratum user - Q1="GRANT ALL ON *.* TO 'stratum'@'localhost' IDENTIFIED BY '$password2';" - Q2="FLUSH PRIVILEGES;" - SQL="${Q1}${Q2}" - sudo mysql -u root -p="" -e "$SQL" - #Create my.cnf echo ' @@ -650,6 +639,21 @@ password='"${rootpasswd}"' ' | sudo -E tee ~/.my.cnf >/dev/null 2>&1 sudo chmod 0600 ~/.my.cnf + # create database + Q1="CREATE DATABASE IF NOT EXISTS yiimpfrontend;" + Q2="GRANT ALL ON *.* TO 'panel'@'localhost' IDENTIFIED BY '$password';" + Q3="FLUSH PRIVILEGES;" + SQL="${Q1}${Q2}${Q3}" + #sudo mysql -u root -p="" -e "$SQL" + sudo mysql -e "$SQL" + # create stratum user + Q1="GRANT ALL ON *.* TO 'stratum'@'localhost' IDENTIFIED BY '$password2';" + Q2="FLUSH PRIVILEGES;" + SQL="${Q1}${Q2}" + #sudo mysql -u root -p="" -e "$SQL" + sudo mysql -e "$SQL" + + #Create keys file echo ' Date: Wed, 15 Nov 2017 11:01:07 +0000 Subject: [PATCH 12/19] Let's try again. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 07e89d55..8454dc7f 100644 --- a/install.sh +++ b/install.sh @@ -75,7 +75,6 @@ default 0; libldap2-dev \ libidn11-dev \ libidn2-0-dev \ - libpsn-dev \ gnutls-dev \ librtmp-dev \ build-essential libtool autotools-dev automake pkg-config \ @@ -84,6 +83,7 @@ default 0; git \ pwgen clear + #libpsn-dev \ #Generating Random Passwords password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1` From 1d7f4093df86d8a456967ff3a673990e0c2e651f Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Wed, 15 Nov 2017 11:17:28 +0000 Subject: [PATCH 13/19] Fix libpsl-dev, put in password for mysql root --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8454dc7f..3055abaf 100644 --- a/install.sh +++ b/install.sh @@ -55,6 +55,8 @@ default 0; output "" # create random password rootpasswd=$(openssl rand -base64 12) + echo "mysql-server-5.7 mysql-server/root_password password ${rootpasswd}" | sudo debconf-set-selections + echo "mysql-server-5.7 mysql-server/root_password_again password ${rootpasswd}" | sudo debconf-set-selections export DEBIAN_FRONTEND="noninteractive" sudo -E aptitude -y install mysql-server @@ -75,6 +77,7 @@ default 0; libldap2-dev \ libidn11-dev \ libidn2-0-dev \ + libpsl-dev \ gnutls-dev \ librtmp-dev \ build-essential libtool autotools-dev automake pkg-config \ @@ -83,7 +86,6 @@ default 0; git \ pwgen clear - #libpsn-dev \ #Generating Random Passwords password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1` From cf39e50d6f34f5d16a1bc9e8e96f2fba588df1ab Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 09:36:07 +0000 Subject: [PATCH 14/19] Remove more donations begging --- install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/install.sh b/install.sh index 3055abaf..3808316b 100644 --- a/install.sh +++ b/install.sh @@ -211,7 +211,6 @@ exec bash ' | sudo -E tee /var/stratum/config/run.sh >/dev/null 2>&1 sudo chmod +x /var/stratum/config/run.sh output "Update default timezone." - output "Thanks for using this installation script. Donations welcome" # check if link file sudo [ -L /etc/localtime ] && sudo unlink /etc/localtime # update time zone @@ -818,5 +817,3 @@ output "" output "Please make sure to change your wallet addresses in the /var/web/serverconfig.php file." output "" output "Please make sure to add your public and private keys." -output "" -output "If you found this script helpful please consider donating some BTC Donation: " From a8f82f9d074e42131c4ce004bb56729b18d7ea2d Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 09:37:34 +0000 Subject: [PATCH 15/19] Move to port 8088 --- install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 3808316b..81560d1c 100644 --- a/install.sh +++ b/install.sh @@ -233,8 +233,8 @@ echo 'include /etc/nginx/blockuseragents.rules; if ($request_method !~ ^(GET|HEAD|POST)$) { return 444; } - listen 80; - listen [::]:80; + listen 8088; + listen [::]:8088; server_name '"${server_name}"'; root "/var/www/'"${server_name}"'/html/web"; index index.html index.htm index.php; @@ -321,8 +321,8 @@ echo 'include /etc/nginx/blockuseragents.rules; if ($request_method !~ ^(GET|HEAD|POST)$) { return 444; } - listen 80; - listen [::]:80; + listen 8088; + listen [::]:8088; server_name '"${server_name}"'; # enforce https return 301 https://$server_name$request_uri; @@ -430,8 +430,8 @@ echo 'include /etc/nginx/blockuseragents.rules; if ($request_method !~ ^(GET|HEAD|POST)$) { return 444; } - listen 80; - listen [::]:80; + listen 8088; + listen [::]:8088; server_name '"${server_name}"' www.'"${server_name}"'; root "/var/www/'"${server_name}"'/html/web"; index index.html index.htm index.php; @@ -518,8 +518,8 @@ echo 'include /etc/nginx/blockuseragents.rules; if ($request_method !~ ^(GET|HEAD|POST)$) { return 444; } - listen 80; - listen [::]:80; + listen 8088; + listen [::]:8088; server_name '"${server_name}"'; # enforce https return 301 https://$server_name$request_uri; From 4f7146c168e25dd7a18c0f9c6bed3dd0678e2623 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 11:41:43 +0000 Subject: [PATCH 16/19] Shut down services at the end --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 81560d1c..1d6438e8 100644 --- a/install.sh +++ b/install.sh @@ -809,8 +809,10 @@ sudo chmod -R 775 /root/backup/ sudo chmod -R 775 /var/log sudo chmod -R 775 /var/web/serverconfig.php sudo mv $HOME/yiimp/ $HOME/yiimp-install-only-do-not-run-commands-from-this-folder -sudo service nginx restart -sudo service php7.0-fpm reload +sudo service nginx stop +sudo service php7.0-fpm stop +sudo service mysql stop +sudo service cron stop clear output "Whew that was fun, just some reminders. Your mysql information is saved in ~/.my.cnf. this installer did not directly install anything required to build coins." output "" From 1e18ed772b12262b5b56bcbb535492069229f067 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 21:25:20 +0000 Subject: [PATCH 17/19] Not gonna run this in docker --- install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 1d6438e8..efd82569 100644 --- a/install.sh +++ b/install.sh @@ -16,13 +16,13 @@ displayErr() { export TERM=vt100 TIME="America/Los_Angeles" -server_name=coinpool.mycryptocoins.net +server_name=pool.mycryptocoins.net sub_domain=y EMAIL=gjhurlbu@gmail.com admin_panel=adminPanel install_fail2ban=y UFW=n -ssl_install=n +ssl_install=y send_email=n # update package and upgrade Ubuntu @@ -809,10 +809,8 @@ sudo chmod -R 775 /root/backup/ sudo chmod -R 775 /var/log sudo chmod -R 775 /var/web/serverconfig.php sudo mv $HOME/yiimp/ $HOME/yiimp-install-only-do-not-run-commands-from-this-folder -sudo service nginx stop -sudo service php7.0-fpm stop -sudo service mysql stop -sudo service cron stop +sudo service nginx restart +sudo service php7.0-fpm reload clear output "Whew that was fun, just some reminders. Your mysql information is saved in ~/.my.cnf. this installer did not directly install anything required to build coins." output "" From 6beb58438af8e07741030c31819b8aca73bc80c1 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 22:13:03 +0000 Subject: [PATCH 18/19] Change pool name --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index efd82569..b2c7d456 100644 --- a/install.sh +++ b/install.sh @@ -733,7 +733,7 @@ define('"'"'YAAMP_USE_NICEHASH_API'"'"', false); define('"'"'YAAMP_BTCADDRESS'"'"', '"'"'1KuE2LMZMPXJ4gsVniWLuyyPsqqZs5Av4y'"'"'); define('"'"'YAAMP_SITE_URL'"'"', '"'"''"${server_name}"''"'"'); define('"'"'YAAMP_STRATUM_URL'"'"', YAAMP_SITE_URL); // change if your stratum server is on a different host -define('"'"'YAAMP_SITE_NAME'"'"', '"'"'TheCryptoPool'"'"'); +define('"'"'YAAMP_SITE_NAME'"'"', '"'"'MyCryptoCoin Pool'"'"'); define('"'"'YAAMP_ADMIN_EMAIL'"'"', '"'"''"${EMAIL}"''"'"'); define('"'"'YAAMP_ADMIN_IP'"'"', '"'"''"${Public}"''"'"'); // samples: "80.236.118.26,90.234.221.11" or "10.0.0.1/8" define('"'"'YAAMP_ADMIN_WEBCONSOLE'"'"', true); From b9b77583ef9d5c35762c4a60fafc33e6c229721e Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Sun, 19 Nov 2017 22:31:25 +0000 Subject: [PATCH 19/19] Fix perms --- install.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755