Skip to content

Commit

Permalink
Merge pull request #6 from afiniel/v0.6.0
Browse files Browse the repository at this point in the history
V0.6.0
  • Loading branch information
afiniel authored Dec 1, 2022
2 parents fa30274 + 11e7a06 commit 8b5c213
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.5.9 With DaemonBuilder and addport (update 2022-12-01) </h1>
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.6.0 With DaemonBuilder and addport (update 2022-12-01) </h1>

<a href="https://discord.gg/TTprjGD2tw"><img src="https://img.shields.io/discord/904564600354254898.svg?style=flat&label=Discord %3C3%20&color=7289DA%22" alt="Join Community Badge"/></a>
</p>
The Development is still in progress. Please report any issues you find.

<h2 align="center"> Description </h2>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.5.9</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.6.0</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>

More information will be added soon.
<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
#########################################################
if [ -z "${TAG}" ]; then
TAG=v0.5.9
TAG=v0.6.0
fi


Expand Down
15 changes: 9 additions & 6 deletions install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function install_end_message {
figlet -f slant -w 100 "Complete!"

echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.5.9 | $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.6.0 | $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"
Expand All @@ -105,6 +105,8 @@ function install_end_message {
# terminal art start screen.
function term_art {
clear
source /etc/functions.sh
source /etc/yiimpool.conf
echo
echo "██╗ ██╗██╗██╗███╗ ███╗██████╗ ██████╗ ██████╗ ██╗ "
echo "╚██╗ ██╔╝██║██║████╗ ████║██╔══██╗██╔═══██╗██╔═══██╗██║ "
Expand All @@ -114,7 +116,7 @@ function term_art {
echo " ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ "
echo -e "$CYAN ----------------------------------------------------------> $COL_RESET"
echo -e "$CYAN |$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET"
echo -e "$CYAN |$MAGENTA Version:$GREEN v0.5.9 $COL_RESET"
echo -e "$CYAN |$MAGENTA Version:$GREEN v0.6.0 $COL_RESET"
echo -e "$CYAN ----------------------------------------------------------------------> $COL_RESET"
echo -e "$CYAN |$YELLOW This script will install all the dependencies and will install Yiimp. $COL_RESET"
echo -e "$CYAN |$YELLOW It will also install a MySQL database and a Web server. $COL_RESET"
Expand All @@ -126,8 +128,9 @@ function term_art {
}

function term_yiimpool {
source /etc/yiimpoolversion.conf
clear
source /etc/functions.sh
source /etc/yiimpool.conf
echo
echo "██╗ ██╗██╗██╗███╗ ███╗██████╗ ██████╗ ██████╗ ██╗ "
echo "╚██╗ ██╔╝██║██║████╗ ████║██╔══██╗██╔═══██╗██╔═══██╗██║ "
Expand All @@ -137,7 +140,7 @@ function term_yiimpool {
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.5.9 $COL_RESET"
echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.0 $COL_RESET"
echo -e "$CYAN -----------------|--------------------- $COL_RESET"
echo

Expand Down Expand Up @@ -189,14 +192,14 @@ function hide_output {
function last_words {
echo "<-------------------------------------|---------------------------------------->"
echo
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.9 $COL_RESET"
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.0 $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.5.9 fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.0 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"
Expand Down
2 changes: 1 addition & 1 deletion install/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

source /etc/functions.sh

RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.5.9" --menu "Choose one" -1 60 16 \
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.6.0" --menu "Choose one" -1 60 16 \
' ' "- Install Yiimp -" \
1 "YiiMP Single Server" \
' ' "- Daemon Wallet Builder -" \
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ echo 'YIIMPOOL_VERSION="v0.4.2"' | sudo -E tee /etc/yiimpoolversion.conf >/dev/n
source /etc/yiimpoolversion.conf

# Welcome
message_box "Yiimp Installer v0.5.9" \
message_box "Yiimp Installer v0.6.0" \
"Hello and thanks for using the Yiimpool Installer!
\n\nInstallation for the most part is fully automated. In most cases any user responses that are needed are asked prior to the installation.
\n\nNOTE: You should only install this on a brand new Ubuntu 16.04 or Ubuntu 18.04 installation."
# Root warning message box
message_box "Yiimp Installer v0.5.9" \
message_box "Yiimp Installer v0.6.0" \
"WARNING: You are trying to install as the root user!
\n\nRunning any program as root is not recommended and can pose serious security risks that you want to avoid.
\n\nThe next step you will be asked to create a new user account, you can name it whatever you want."
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions conf/functions.sh → old_installer_files/conf/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function install_end_message {
figlet -f slant -w 100 "Complete!"

echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.5.9 | $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.6.0 | $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"
Expand Down Expand Up @@ -115,7 +115,7 @@ function term_art {
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.5.9 $COL_RESET"
echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.0 $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"
Expand All @@ -138,7 +138,7 @@ function term_yiimpool {
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.5.9 $COL_RESET"
echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.0 $COL_RESET"
echo -e "$CYAN -----------------|--------------------- $COL_RESET"
echo

Expand Down Expand Up @@ -190,14 +190,14 @@ function hide_output {
function last_words {
echo "<-------------------------------------|---------------------------------------->"
echo
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.9! $COL_RESET"
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.0! $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.5.9 fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.0 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"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion conf/menu.sh → old_installer_files/conf/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
source /etc/functions.sh
source /etc/yiimpoolversion.conf

RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Installer v0.5.9" --menu "Choose one" -1 60 16 \
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Installer v0.6.0" --menu "Choose one" -1 60 16 \
' ' "- Yiimp -" \
1 "Start Yiimp Install" \
' ' "- Daemon Wallet Builder -" \
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion conf/start.sh → old_installer_files/conf/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if [[ ("$FIRST_TIME_SETUP" == "1") ]]; then
# Are we running as root?
if [[ $EUID -ne 0 ]]; then
# Welcome
message_box "Yiimp Installer v0.5.9" \
message_box "Yiimp Installer v0.6.0" \
"Hello and thanks for using the Yiimpool Installer!
\n\nInstallation for the most part is fully automated. In most cases any user responses that are needed are asked prior to the installation.
\n\nNOTE: You should only install this on a brand new Ubuntu 16.04 or Ubuntu 18.04 VPS."
Expand Down
4 changes: 2 additions & 2 deletions yiimp_single/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [[ ("$UsingDomain" == "yes") ]]; then
source /etc/functions.sh
term_yiimpool
echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.9 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.0 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET"
Expand Down Expand Up @@ -101,7 +101,7 @@ else
source /etc/functions.sh
term_yiimpool
echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.9 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.0 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET"
Expand Down
2 changes: 1 addition & 1 deletion yiimp_single/ubuntu/etc/update-motd.d/00-header
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ fi
figlet -f slant -w 100 "YiimpooL"
printf "\n"

printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.5.9"
printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.6.0"
printf "\n"
4 changes: 2 additions & 2 deletions yiimp_single/web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ echo -e "$MAGENTA <--------------------------------------------------->$COL_R
echo -e "$CYAN => Building web file structure and copying files <= $COL_RESET"

cd $STORAGE_ROOT/yiimp/yiimp_setup/yiimp
sudo sed -i 's/AdminRights/'${AdminPanel}'/' $STORAGE_ROOT/yiimp/yiimp_setup/yiimp/web/yaamp/modules/site/SiteController.php
sudo sed -i 's/myadmin/'${AdminPanel}'/' $STORAGE_ROOT/yiimp/yiimp_setup/yiimp/web/yaamp/modules/site/SiteController.php
sudo cp -r $STORAGE_ROOT/yiimp/yiimp_setup/yiimp/web $STORAGE_ROOT/yiimp/site/
cd $STORAGE_ROOT/yiimp/yiimp_setup/
sudo cp -r $STORAGE_ROOT/yiimp/yiimp_setup/yiimp/bin/. /bin/
Expand Down Expand Up @@ -113,6 +113,6 @@ sudo rm -r /home/crypto-data/yiimp/site/web/yaamp/core/trading/exbitron_trading.
sudo rm -r /home/crypto-data/yiimp/site/web/yaamp/ui/main.php
cd $HOME/yiimp_install_script/yiimp_single/yiimp_confs
cp -r exbitron_trading.php /home/crypto-data/yiimp/site/web/yaamp/core/trading
cp -r main.php /home/crypto-data/yiimp/site/web/yaamp/ui
cp -r main.php /home/crypto-data/yiimp/site/web/yaamp/ui/

cd $HOME/yiimp_install_script/yiimp_single
2 changes: 1 addition & 1 deletion yiimp_single/yiimp_confs/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function showPageFooter()
$year = date("Y", time());

echo "<p>&copy; $year ".YAAMP_SITE_NAME.' - '.
'<a href="https://github.com/Kudaraidee/yiimp">Open source Project</a></p>';
'<a href="https://github.com/afiniel/yiimp_install_script">Build with yiimp install script by Afiniel</a></p>';

echo '</div><!-- footer -->';
}

0 comments on commit 8b5c213

Please sign in to comment.