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 | |
# This script will do Ruby Uninstall Linux and reboot Linux | |
sudo apt-get purge ruby | |
sudo rm -rf /usr/local/lib/ruby | |
sudo rm -rf /usr/lib/ruby | |
sudo rm -f /usr/local/bin/ruby | |
sudo rm -f /usr/bin/ruby | |
sudo rm -f /usr/local/bin/irb |
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/sh | |
# This Gist specially design for School Of Freelancing remote training. | |
# FORK THIS GIST THEN RUN ALL COMMANDS ONE BY ONE | |
# Select The Fastest Apt Mirror and Adjust Ubuntu Default Setting: https://youtu.be/lWHOECQ7t9Q | |
# Then follow Ubuntu Default settings https://youtu.be/IxmYFA9vneo | |
# Follow Workground 1 and Workground 2 as attached into this Gist comment section then RUN ALL COMMANDS ONE BY ONE. | |
# Open your terminal by ctrl+alt+t and run all commands one by one. You can copy and paste into terminal too. | |
sudo -i |
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
sudo apt update && sudo apt upgrade | |
sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https | |
LC_ALL=C.UTF-8 sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install php8.2 | |
# Check active php version php -v | |
php -v | |
# Check system php version | |
php --version | |
# Change Default PHP Version |