Last active
June 23, 2022 16:08
-
-
Save xaif/ef7f9d4e37af970ebb5beeb802993c18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEXT_RESET='\e[0m' | |
TEXT_YELLOW='\e[0;33m' | |
TEXT_RED_B='\e[1;31m' | |
sudo apt update | |
echo -e $TEXT_YELLOW | |
echo 'APT update finished...' | |
echo -e $TEXT_RESET | |
sudo apt upgrade -y | |
echo -e $TEXT_YELLOW | |
echo 'APT upgrade finished...' | |
echo -e $TEXT_RESET | |
sudo apt dist-upgrade | |
echo -e $TEXT_YELLOW | |
echo 'APT distributive upgrade finished...' | |
echo -e $TEXT_RESET | |
sudo apt autoclean -y | |
echo -e $TEXT_YELLOW | |
echo 'APT auto clean finished...' | |
echo -e $TEXT_RESET | |
sudo apt autoremove -y | |
echo -e $TEXT_YELLOW | |
echo 'APT auto remove finished...' | |
echo -e $TEXT_RESET | |
# Install Webinoly | |
wget -qO weby qrok.es/wy && sudo bash weby | |
# Install SSL Certificate | |
sudo apt install snapd -y | |
sudo snap install core | |
sudo snap refresh core | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/certbot | |
# Do the settings in Webinoly | |
sudo webinoly -login-www-data=on && sudo httpauth -add=[iide,iide@123] | |
# Save the Emails for Certificate Installation | |
sudo webinoly -email=xaif@iide.co |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment