Skip to content

Instantly share code, notes, and snippets.

View badhonhitech's full-sized avatar
💭
I may be slow to respond.

khaleda ferdous badhonhitech

💭
I may be slow to respond.
View GitHub Profile
@badhonhitech
badhonhitech / Completely Uninstall LAMP Ubuntu
Created February 8, 2021 17:40 — forked from UbuntuEvangelist/Completely Uninstall LAMP Ubuntu
Completely Uninstall LAMP Ubuntu 18.04 LTS
#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2
@badhonhitech
badhonhitech / Completely Uninstall LAMP Ubuntu
Created February 8, 2021 17:40 — forked from UbuntuEvangelist/Completely Uninstall LAMP Ubuntu
Completely Uninstall LAMP Ubuntu 18.04 LTS
#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2
@badhonhitech
badhonhitech / Python-3.8.6.sh
Created December 8, 2020 18:08 — forked from UbuntuEvangelist/How To Install Python Ubuntu 22.04 LTS
Python-3.8.6 Installation Ubuntu 20.04 LTS
# !/bin/sh
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
sudo apt-get install build-essential checkinstall
sudo apt autoremove
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz
sudo tar xzf Python-3.8.6.tgz
@badhonhitech
badhonhitech / Apache2.sh
Created October 23, 2020 12:11 — forked from UbuntuEvangelist/Apache2.sh
How To Install the Apache Web Server on Ubuntu 20.04 [Quickstart]
# !/bin/sh
sudo apt update -y
sudo apt upgrade -y
sudo apt install apache2
sudo systemctl restart apache2
sudo ufw app list
sudo ufw allow 'Apache'
sudo ufw status
sudo ufw reload
sudo ufw restart
#!/bin/bash
# Part 1
# To Install latest Git using PPA run this command:
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
# To check Git version run this command:
@badhonhitech
badhonhitech / setup.sh
Created June 3, 2020 14:57 — forked from UbuntuEvangelist/setup.sh
phpWallet - e-wallet and online payment gateway system
update your system, Install prerequisites:
sudo apt install -y git curl wget zip unzip
Install PHP 7+
==============
sudo apt install php libapache2-mod-php php-mysql
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip
php --version
@badhonhitech
badhonhitech / LEMP Stack.sh
Created April 23, 2020 17:11 — forked from linuxbiekaisar/LEMP Stack.sh
Install Nginx, Php and Mariadb on Ubuntu
# Youtube: https://www.youtube.com/watch?v=CdK8Nb-ED9M
#Install NGINX
sudo apt-get update
sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl status nginx
@badhonhitech
badhonhitech / LEMP Stack.sh
Created April 23, 2020 17:11 — forked from linuxbiekaisar/LEMP Stack.sh
Install Nginx, Php and Mariadb on Ubuntu
# Youtube: https://www.youtube.com/watch?v=CdK8Nb-ED9M
#Install NGINX
sudo apt-get update
sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl status nginx
@badhonhitech
badhonhitech / ThingsToDo.sh
Last active April 22, 2020 19:15
Things To Do After Installing Ubuntu 18.04 LTS Desktop
#!/bin/sh
# This command will update & upgrade your system
sudo apt update && sudo apt-get upgrade --fix-missing
# Install the package build-essential for making the package and checkinstall for putting it into your package manager
sudo apt install build-essential checkinstall
# Install Ubuntu Restricted Extras
sudo apt install ubuntu-restricted-extras
# YouTube: https://www.youtube.com/watch?v=ymE3h8CzBXQ
# What is a LAMP Stack?
# LAMP (Linux, Apache, MySQL, PHP) stack is a common, free, and open-source web stack used for
# hosting web content in a Linux environment.
# Step 0: Before we install the LAMP stack, it’s a good idea to update repository and software packages:
sudo apt update
sudo apt upgrade