Skip to content

Instantly share code, notes, and snippets.

View brighttechnilogy's full-sized avatar

Sohel Rana brighttechnilogy

View GitHub Profile
@brighttechnilogy
brighttechnilogy / ruby.sh
Created January 10, 2024 17:49 — forked from UbuntuEvangelist/ruby.sh
Ruby Uninstall Linux
#!/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
@brighttechnilogy
brighttechnilogy / Things To Do After Installing Ubuntu Desktop Linux
Created November 20, 2023 19:35
Things To Do After Installing Ubuntu
#!/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
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