Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
afiniel committed Nov 10, 2022
1 parent c42f643 commit d9cf736
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 52 deletions.
36 changes: 18 additions & 18 deletions Old_Installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ hide_output sudo apt -y autoremove
hide_output sudo apt-get install -y software-properties-common
apt_install dialog python3 python3-pip acl nano apt-transport-https
apt_install figlet
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

source conf/prerequisite.sh
sleep 3
Expand Down Expand Up @@ -106,7 +106,7 @@ hide_output sudo systemctl enable cron.service
sleep 5
sudo systemctl status nginx | sed -n "1,3p"
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Making Nginx a bit hard
echo 'map $http_user_agent $blockedagent {
Expand Down Expand Up @@ -135,7 +135,7 @@ hide_output sudo systemctl enable mysql
sleep 5
sudo systemctl status mysql | sed -n "1,3p"
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Installing Installing php7.3
echo
Expand Down Expand Up @@ -189,7 +189,7 @@ sudo editconf.py /etc/update-manager/release-upgrades Prompt=never
sudo rm -f /var/lib/ubuntu-release-upgrader/release-upgrade-available
fi

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# fix CDbConnection failed to open the DB connection.
echo
Expand All @@ -198,7 +198,7 @@ apt_install php8.1-mysql
echo
hide_output service nginx restart

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Generating Random Passwords
password=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
Expand Down Expand Up @@ -226,7 +226,7 @@ if [[ "$root_email" != "" ]]; then
echo "Mail sent"
fi
fi
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Installing Fail2Ban & UFW
echo
Expand Down Expand Up @@ -254,7 +254,7 @@ if [[ ("$UFW" == "y" || "$UFW" == "Y" || "$UFW" == "") ]]; then
fi

echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Installing PhpMyAdmin
echo
Expand All @@ -271,7 +271,7 @@ echo "phpmyadmin phpmyadmin/app-password-confirm password $AUTOGENERATED_PASS" |

apt_install phpmyadmin

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Installing Yiimp
echo
Expand Down Expand Up @@ -338,7 +338,7 @@ echo '
' | sudo -E tee /var/stratum/config/run.sh >/dev/null 2>&1
sudo chmod +x /var/stratum/config/run.sh

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Update Timezone
echo
Expand All @@ -355,7 +355,7 @@ if [ ! -f /etc/timezone ]; then
fi
sudo systemctl status rsyslog | sed -n "1,3p"
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Creating webserver initial config file
echo
Expand Down Expand Up @@ -448,7 +448,7 @@ if [[ ("$sub_domain" == "y" || "$sub_domain" == "Y") ]]; then
sudo ln -s /var/web /var/www/$server_name/html
hide_output sudo systemctl reload php7.3-fpm.service
hide_output restart_service nginx.service
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

if [[ ("$ssl_install" == "y" || "$ssl_install" == "Y" || "$ssl_install" == "") ]]; then

Expand Down Expand Up @@ -571,7 +571,7 @@ if [[ ("$sub_domain" == "y" || "$sub_domain" == "Y") ]]; then

hide_output sudo systemctl reload php7.3-fpm.service
hide_output restart_service nginx.service
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

else

Expand Down Expand Up @@ -657,7 +657,7 @@ else
sudo ln -s /var/web /var/www/$server_name/html
hide_output sudo systemctl reload php7.3-fpm.service
hide_output restart_service nginx.service
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

if [[ ("$ssl_install" == "y" || "$ssl_install" == "Y" || "$ssl_install" == "") ]]; then

Expand Down Expand Up @@ -778,7 +778,7 @@ else
' | sudo -E tee /etc/nginx/sites-available/$server_name.conf >/dev/null 2>&1

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

fi
hide_output sudo systemctl reload php7.3-fpm.service
Expand Down Expand Up @@ -869,7 +869,7 @@ echo '
define('"'"'EXCH_YOBIT_SECRET'"'"', '"'"''"'"');
' | sudo -E tee /etc/yiimp/keys.php >/dev/null 2>&1

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Peforming the SQL import
echo
Expand Down Expand Up @@ -1005,7 +1005,7 @@ echo '
);
' | sudo -E tee /var/web/serverconfig.php >/dev/null 2>&1

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Updating stratum config files with database connection info
echo
Expand All @@ -1021,7 +1021,7 @@ sudo sed -i 's/database = yaamp/database = yiimpfrontend/g' *.conf
sudo sed -i 's/username = root/username = stratum/g' *.conf
sudo sed -i 's/password = patofpaq/password = '$password2'/g' *.conf
cd ~
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Final Directory permissions
echo
Expand Down Expand Up @@ -1090,7 +1090,7 @@ restart_service php7.3-fpm.service
sudo systemctl status php7.3-fpm | sed -n "1,3p"

echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
sleep 3

echo
Expand Down
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.2 With DaemonBuilder and addport (update 2022-11-09) </h1>
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.5.4 With DaemonBuilder and addport (update 2022-11-09) </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.2</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.5.4</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 conf/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function daemonbuiler_files {
' | sudo -E tee /usr/bin/daemonbuilder >/dev/null 2>&1
sudo chmod +x /usr/bin/daemonbuilder
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
sleep 2
}

Expand Down
2 changes: 1 addition & 1 deletion conf/getip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ if [ "$PUBLIC_IPV6" = "auto" ]; then
PUBLIC_IPV6=$(get_publicip_from_web_service 6 || get_default_privateip 6)
fi

echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
8 changes: 4 additions & 4 deletions daemon_builder/source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Building autogen....
echo
Expand All @@ -202,7 +202,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Configure with your platform....
if [ -d "$DEPENDS/i686-pc-linux-gnu" ]; then
Expand Down Expand Up @@ -278,7 +278,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Executing make to finalize....
echo
Expand All @@ -292,7 +292,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
else
echo
echo "Building using Cmake method..."
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.2
TAG=v0.5.4
fi


Expand Down
10 changes: 5 additions & 5 deletions install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.2 | $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.5.4 | $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 @@ -113,7 +113,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.2 $COL_RESET"
echo -e "$CYAN |$MAGENTA Version:$GREEN v0.5.4 $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 Down Expand Up @@ -145,7 +145,7 @@ function daemonbuiler_files {
cd ~
' | sudo -E tee /usr/bin/daemonbuilder >/dev/null 2>&1 sudo chmod +x /usr/bin/daemonbuilder
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
sleep 2
}

Expand All @@ -169,14 +169,14 @@ function hide_output {
function last_words {
echo "<-------------------------------------|---------------------------------------->"
echo
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.2! $COL_RESET"
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.4! $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.2 fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.5.4 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.2" --menu "Choose one" -1 60 16 \
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.5.4" --menu "Choose one" -1 60 16 \
' ' "- Install Yiimp -" \
1 "YiiMP Single Server" \
' ' "- Daemon Wallet Builder -" \
Expand Down
2 changes: 1 addition & 1 deletion install/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.2 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.4 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
8 changes: 4 additions & 4 deletions utils/source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Building autogen....
echo
Expand All @@ -201,7 +201,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Configure with your platform....
if [ -d "$DEPENDS/i686-pc-linux-gnu" ]; then
Expand Down Expand Up @@ -277,7 +277,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"

# Executing make to finalize....
echo
Expand All @@ -291,7 +291,7 @@ if [[ ("$cmake" == "true") ]]; then
fi
echo
echo
echo -e "$GREEN <-- Done$COL_RESET -->"
echo -e "$GREEN <-- Done -->$COL_RESET"
else
echo
echo "Building using Cmake method..."
Expand Down
4 changes: 2 additions & 2 deletions yiimp_single/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if [[ ("$UsingDomain" == "yes") ]]; then
echo -e "$MAGENTA <--------------|------------>$COL_RESET"
echo -e "$MAGMENTA |$COL_RESET"
echo "<-----------------------------------|----------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.2 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.4 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down Expand Up @@ -117,7 +117,7 @@ else
echo -e "$MAGENTA <--------------|------------->$COL_RESET"
echo -e "$MAGMENTA |$COL_RESET"
echo "<-----------------------------------|$COL_RESET ----------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.2 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.4 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
Loading

0 comments on commit d9cf736

Please sign in to comment.