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 / keybase.md
Created September 9, 2019 14:12
keybase.md

Keybase proof

I hereby claim:

  • I am kngvamxx on github.
  • I am kngvamxx (https://keybase.io/kngvamxx) on keybase.
  • I have a public key whose fingerprint is 171E 4172 5D2A D407 A6C3 5A36 E97B 2877 684F 72DB

To claim this, I am signing this object:

@kngvamxx
kngvamxx / rocket.sh
Created October 15, 2019 14:15
Rocket chat install Ubuntu 18.04
#!/bin/bash
wget https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.15.5/rocketchat_2.15.5_amd64.deb
sudo dpkg -i rocketchat_2.15.5_amd64.deb
sudo apt install -f
@kngvamxx
kngvamxx / Ntop(set up)
Last active November 24, 2020 15:27
installl ntopng on ubtuntu 18.04lts
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install ntopng
sudo systemctl restart ntopng
sudo ntopng -h
sudo ufw enable
sudo ufw allow 3000
firefox http://localhost:3000/
@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
@kngvamxx
kngvamxx / git.sh
Last active December 17, 2019 14:44
Git Push
# setup and configure git
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo git config --global user.name "YourName"
sudo git config --global user.email youremail@gmail.com
git --version
@kngvamxx
kngvamxx / ruby.sh
Last active December 22, 2019 15:08
Ruby Install Ubuntu 18.04 LTS
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip
sudo unzip ruby-2.5.3.zip
cd ruby-2.5.3
sudo ./configure
sudo make
sudo make install
sudo make test
ruby --version
# Youtube: https://youtu.be/OsV6GxZhrS0
@kngvamxx
kngvamxx / redis.sh
Last active November 26, 2020 12:18
Installing Redis on Ubuntu
#Start by updating the apt packages list by running the following command in your SSH terminal:
sudo apt update
#Install Redis by typing:
sudo apt install redis-server
#Once the installation is completed, the Redis service will start automatically. To check the status of the service, enter the following command:
sudo systemctl status redis-server
#Congratulations, at this point you have Redis installed and running on your Ubuntu 18.04 server.
@kngvamxx
kngvamxx / nginx.sh
Last active January 17, 2020 19:25
#Step 1 – Installing Nginx
#Because Nginx is available in Ubuntu’s default repositories, it is possible to install it from these repositories using the apt packaging system.
#Since this is our first interaction with the apt packaging system in this session, we will update our local package index so that we have access to the most recent package listings. Afterwards, we can install nginx:
sudo apt update
sudo apt install nginx
#After accepting the procedure, apt will install Nginx and any required dependencies to your server.
#Step 2 – Adjusting the Firewall
@kngvamxx
kngvamxx / Lamp.SH
Last active March 12, 2020 11:32
set up Mysql,MariaDB,PHP MYADMIN
#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
nginx -v
@kngvamxx
kngvamxx / rabbitmq.sh
Created March 11, 2020 15:31
setup rabbitmq server (2)
echo "deb http://www.rabbitmq.com/debian/ testing main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list > /dev/null
wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
sudo apt-get update
sudo apt-get install rabbitmq-server -y
sudo service rabbitmq-server start
sudo rabbitmq-plugins enable rabbitmq_management
sudo service rabbitmq-server restart