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.1 | |
# Check active php version php -v | |
php -v | |
# Check system php version | |
php --version | |
# To install another php version same machine |
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 | |
sudo -i | |
apt update && apt upgrade -y | |
apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
apt install build-essential checkinstall | |
apt autoremove | |
apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | |
cd /opt | |
wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz | |
tar xzf Python-3.11.0.tgz |
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.1 | |
# Check active php version php -v | |
php -v | |
# Check system php version | |
php --version | |
# To install another php version same machine |
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 |