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
@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 / Python-3.8.6.sh
Created November 23, 2020 06:43
Python-3.8.6 Installation Ubuntu 20.04 LTS
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
ls -la
sudo rm -f Python-3.8.6.tgz
@kngvamxx
kngvamxx / open edx .sh
Created November 22, 2020 18:13
open edx using docker
sudo usermod -a -G docker $(whoami)
##To run the Open edX devstack on your local machine please follow the instructions.
##Creating a proper environment
###Run the following commands to create the project directory in your $HOME directory.
$ mkdir arbisoft
$ cd arbisoft
@kngvamxx
kngvamxx / ruby on rails.sh
Created September 10, 2020 08:13
install ruby on rails using rvm
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
@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 / mautic lamp.sh
Created June 10, 2020 16:08
mautic using lamp
wget https://www.mautic.org/download/latest
The file will be saved as latest. Use unzip command to unzip it to /var/www/mautic/ directory.
sudo apt install unzip
sudo unzip latest -d /var/www/mautic/
Then make the web server user (www-data) as the owner of this directory.
@kngvamxx
kngvamxx / php-e-wallet.sh
Last active June 8, 2020 17:01
phpWallet - e-wallet and online payment gateway system(u have to install laravel first)
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
@kngvamxx
kngvamxx / mautic(lemp).txt
Last active June 15, 2020 17:26
install mautic using lemp
sudo apt update && apt upgrade
sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo systemctl status nginx
# Install MySQL & check
sudo apt install mysql-server
sudo mysql_secure_installation
@kngvamxx
kngvamxx / rocket chat.sh
Last active May 10, 2020 08:11
A Rocket. Chat App is an integration or a plugin which is created in an isolated environment. You can also create your own App and publish it on our official Marketplace to share with the world. Users can download your application from the marketplace and use it.
##Step 1: Install MongoDB
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
sudo apt update
sudo apt install -y mongodb-org
sudo systemctl stop mongod.service
@kngvamxx
kngvamxx / lamp.sh(php myadmin
Last active June 8, 2020 17:19
lamp stack set up(linux,apache,mysql,php)
# Install Apache to check from web browser using 0.0.0.0 or localhost, check version, start,stop & restart Apache into Ubuntu
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