diff --git a/README.md b/README.md index f60d2dc9..952b4e53 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -
The installer automatically install all requirements to get Yiimp installed correctly.
Yiimpool Yiimp Install Scrypt is a Script that will install Yiimp Mining Pool on a cleanUbuntu 18.04 VPS.
+This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about Yiimpool Yiimp Installer v0.4.6The installer automatically install all requirements to get Yiimp installed correctly.
Yiimpool Yiimp Install Scrypt is a Script that will install Yiimp Mining Pool on a cleanUbuntu 18.04 VPS.
More information will be added soon.diff --git a/install.sh b/install.sh index f2690830..7ade2021 100644 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ # ######################################################### if [ -z "${TAG}" ]; then - TAG=v0.4.5 + TAG=v0.4.6 fi diff --git a/install/functions.sh b/install/functions.sh index 3202c7c9..b37df3e8 100644 --- a/install/functions.sh +++ b/install/functions.sh @@ -79,7 +79,7 @@ function install_end_message { figlet -f slant -w 100 "Complete!" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" - echo -e "$YELLOW | Version:$GREEN v0.4.5 | $COL_RESET" + echo -e "$YELLOW | Version:$GREEN v0.4.6 | $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel https://github.com/afiniel/yiimp_install_script $COL_RESET" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" echo -e "$YELLOW Your mysql information (login/Password) is saved in:$RED ~/.my.cnf $COL_RESET" @@ -111,15 +111,15 @@ function term_art { echo " ╚██╔╝ ██║██║██║╚██╔╝██║██╔═══╝ ██║ ██║██║ ██║██║ " echo " ██║ ██║██║██║ ╚═╝ ██║██║ ╚██████╔╝╚██████╔╝███████╗ " echo " ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ " - echo -e "$CYAN ---------------|----------------------- $COL_RESET" - echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET" - echo -e "$YELLOW Version:$COL_RESET $GREEN v0.4.5 $COL_RESET" - echo -e "$CYAN -----------------|---------------------------------------------------- $COL_RESET" - echo -e "$YELLOW This script will install all the dependencies and will install Yiimp. $COL_RESET" - echo -e "$YELLOW It will also install a MySQL database and a Web server. $COL_RESET" - echo -e "$YELLOW MariaDB is used for the database. $COL_RESET" - echo -e "$YELLOW Nginx is used for the Web server, PHP 7.3 is also installed. $COL_RESET" - echo -e "$CYAN -----------------|---------------------------------------------------- $COL_RESET" + echo -e "$CYAN --------------------------------------- $COL_RESET" + echo -e "$YELLOW |Yiimp Installer Script Fork By Afiniel! $COL_RESET" + echo -e "$YELLOW |Version:$COL_RESET $GREEN v0.4.6 $COL_RESET" + echo -e "$CYAN ---------------------------------------------------------------------- $COL_RESET" + echo -e "$YELLOW |This script will install all the dependencies and will install Yiimp. $COL_RESET" + echo -e "$YELLOW |It will also install a MySQL database and a Web server. $COL_RESET" + echo -e "$YELLOW |MariaDB is used for the database. $COL_RESET" + echo -e "$YELLOW |Nginx is used for the Web server, PHP 7.3 is also installed. $COL_RESET" + echo -e "$CYAN ---------------------------------------------------------------------- $COL_RESET" echo } @@ -169,14 +169,14 @@ function hide_output { function last_words { echo "<-------------------------------------|---------------------------------------->" echo - echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.4.5! $COL_RESET" + echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.4.6! $COL_RESET" echo echo -e "$YELLOW To run this installer anytime simply type: $GREEN yiimpool $COL_RESET" echo -e "$YELLOW Donations for continued support of this script are welcomed at: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" echo -e "$YELLOW Donate Wallets: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" - echo -e "$YELLOW Thank you for using Yiimp Install Script v0.4.5 fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script v0.4.6 fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo -e "$YELLOW => Do you want to support me? Feel free to use wallets below: $COL_RESET" @@ -195,22 +195,22 @@ function package_compile_crypto { # Installing Package to compile crypto currency echo -e "$CYAN Installing needed Package to compile crypto currency $COL_RESET" - hide_output sudo apt -y install software-properties-common build-essential - hide_output sudo apt -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev libseccomp-dev libcap-dev libminiupnpc-dev gettext - hide_output sudo apt -y install libminiupnpc10 libzmq5 - hide_output sudo apt -y install libcanberra-gtk-module libqrencode-dev libzmq3-dev - hide_output sudo apt -y install libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler + hide_output sudo apt-get -y install software-properties-common build-essential + hide_output sudo apt-get -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev libseccomp-dev libcap-dev libminiupnpc-dev gettext + hide_output sudo apt-get -y install libminiupnpc10 libzmq5 + hide_output sudo apt-get -y install libcanberra-gtk-module libqrencode-dev libzmq3-dev + hide_output sudo apt-get -y install libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler hide_output sudo add-apt-repository -y ppa:bitcoin/bitcoin - hide_output sudo apt -y update - hide_output sudo apt -y install libdb4.8-dev libdb4.8++-dev libdb5.3 libdb5.3++ + hide_output sudo apt-get -y update + hide_output sudo apt-get -y install libdb4.8-dev libdb4.8++-dev libdb5.3 libdb5.3++ hide_output sudo apt-get -y install build-essential libzmq5 \ libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev \ libseccomp-dev libcap-dev libminiupnpc-dev gettext libminiupnpc10 libcanberra-gtk-module libqrencode-dev libzmq3-dev \ libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler - hide_output sudo apt -y update && sudo apt -y upgrade + hide_output sudo apt-get update && sudo apt-get upgrade -y - hide_output sudo apt -y install libgmp-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \ + hide_output sudo apt-get -y install libgmp-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \ libpgm-dev libhidapi-dev libusb-1.0-0-dev libudev-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev \ libboost-locale-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev \ python3 default-libmysqlclient-dev libnghttp2-dev librtmp-dev libssh2-1 libssh2-1-dev libldap2-dev libidn11-dev libpsl-dev diff --git a/install/menu.sh b/install/menu.sh index afb9ef0a..edcc455e 100644 --- a/install/menu.sh +++ b/install/menu.sh @@ -7,7 +7,7 @@ source /etc/functions.sh -RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.4.5" --menu "Choose one" -1 60 16 \ +RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.4.6" --menu "Choose one" -1 60 16 \ ' ' "- Install Yiimp -" \ 1 "YiiMP Single Server" \ ' ' "- Daemon Wallet Builder -" \ diff --git a/install/start.sh b/install/start.sh index 41016bbb..b5c40c38 100644 --- a/install/start.sh +++ b/install/start.sh @@ -98,7 +98,7 @@ else cd $HOME/yiimp_install_script/install source menu.sh echo "<-------------------------------------|--------------------------------------->" - echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.5 $YELLOW fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.6 $YELLOW fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo "<----------------------------------------------------------------------------->" diff --git a/yiimp_single/send_mail.sh b/yiimp_single/send_mail.sh index 63a98f93..6ba95792 100644 --- a/yiimp_single/send_mail.sh +++ b/yiimp_single/send_mail.sh @@ -18,14 +18,14 @@ function print_error { trap print_error ERR if [[ ("$wireguard" == "true") ]]; then - source $STORAGE_ROOT/yiimp/.wireguard.conf +source $STORAGE_ROOT/yiimp/.wireguard.conf fi echo -e "$YELLOW => Installing mail system $COL_RESET" sudo debconf-set-selections <<<"postfix postfix/mailname string ${PRIMARY_HOSTNAME}" sudo debconf-set-selections <<<"postfix postfix/main_mailer_type string 'Internet Site'" -apt_install mailutils +sudo apt-get install mailutils -y sudo sed -i 's/inet_interfaces = all/inet_interfaces = loopback-only/g' /etc/postfix/main.cf sudo sed -i 's/myhostname =/# myhostname =/g' /etc/postfix/main.cf @@ -37,11 +37,11 @@ sudo systemctl restart postfix whoami=$(whoami) -sudo sed -i '/postmaster: root/a root:'${SupportEmail}''/etc/aliases -sudo sed -i '/root:/a '$whoami':'${SupportEmail}''/etc/aliases +sudo sed -i '/postmaster: root/a root: '${SupportEmail}'' /etc/aliases +sudo sed -i '/root:/a '$whoami': '${SupportEmail}'' /etc/aliases sudo newaliases sudo adduser $whoami mail -echo -e "$GREEN Mail system complete$COL_RESET" +echo -e "$GREEN Mail system complete $COL_RESET" set +eu +o pipefail cd $HOME/yiimp_install_script/yiimp_single diff --git a/yiimp_single/start.sh b/yiimp_single/start.sh index b99f962b..0e7dfe82 100644 --- a/yiimp_single/start.sh +++ b/yiimp_single/start.sh @@ -94,7 +94,7 @@ fi echo echo "<-------------------------------------|--------------------------------------->" -echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.5 $YELLOW fork by Afiniel! $COL_RESET" +echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.6 $YELLOW fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo "<----------------------------------------------------------------------------->" diff --git a/yiimp_single/ubuntu/etc/update-motd.d/00-header b/yiimp_single/ubuntu/etc/update-motd.d/00-header index a739b8cc..400eabef 100644 --- a/yiimp_single/ubuntu/etc/update-motd.d/00-header +++ b/yiimp_single/ubuntu/etc/update-motd.d/00-header @@ -36,5 +36,5 @@ fi figlet -f slant -w 100 "YiimpooL" printf "\n" -printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.4.5" +printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.4.6" printf "\n"