Skip to content

Instantly share code, notes, and snippets.

View kngvamxx's full-sized avatar
🏠
Working from home

Tanvir Ahmad Nehal kngvamxx

🏠
Working from home
View GitHub Profile
Get New Instance
apt-get update -y
apt-get upgrade -y
apt-get install libffi-dev python3-pip python3-dev python3-testresources libssl-dev wkhtmltopdf gcc g++ make -y
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install nodejs redis-server -y
node --version
npm install -g yarn
apt-get install mariadb-server mariadb-client -y
mysql_secure_installation
@kngvamxx
kngvamxx / LAMP Stack Ubuntu 20.04 LTS
Created March 25, 2021 16:48
Install LAMP Stack Ubuntu 20.04 LTS
#!/bin/sh
# FORK THIS GIST AND UPDATE FOR YOU BEFORE USE
#Things To Do After Installing Ubuntu 20.04 LTS Desktop
sudo -i
apt update -y
apt upgrade -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
@kngvamxx
kngvamxx / Asterisk.sh
Created November 25, 2020 16:45 — forked from afahitech/Asterisk.sh
How to install Asterisk on Ubuntu
#!/bin/sh
# Update system
sudo apt update && sudo apt upgrade
sudo apt install wget build-essential subversion
# Download Asterisk
cd /usr/src/
sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
sudo tar zxf asterisk-16-current.tar.gz
@kngvamxx
kngvamxx / WordPress.sh
Created June 21, 2020 11:59 — forked from afahitech/WordPress.sh
Install WordPress on Ubuntu 18.04
# Install Apache
sudo apt update
sudo apt upgrade
sudo apt install apache2
apache2 -v
sudo service apache2 start
sudo systemctl enable apache2
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
@kngvamxx
kngvamxx / openssh.sh
Created March 16, 2020 13:34 — forked from linuxbiekaisar/openssh.sh
Install, Start/Stop/Restart/Status Openssh
Youtube: https://www.youtube.com/watch?v=wo5A6O8h6QY
#!/bin/sh
# Install openssh server:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install openssh-server
$ sudo systemctl status ssh
@kngvamxx
kngvamxx / things.sh
Created November 14, 2019 13:19
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