Skip to content

Instantly share code, notes, and snippets.

View rakibulinux's full-sized avatar
🥰
Work Lover

MD RAKIBUL ISLAM RAKIB rakibulinux

🥰
Work Lover
View GitHub Profile
@rakibulinux
rakibulinux / PowerShell.sh
Created January 26, 2020 16:50
How to Install PowerShell on Ubuntu 18.04
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of products
sudo apt-get update
# Enable the "universe" repositories
@rakibulinux
rakibulinux / netdata.sh
Last active December 25, 2021 14:50
How to Install Netdata on Ubuntu 18.04 LTS
#!/bash/sh
sudo apt-get update
sudo apt-get upgrade
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
#Confirm Netdata is running
sudo netstat -pnltu | grep 19999
sudo systemctl status netdata
@rakibulinux
rakibulinux / Tor.sh
Created January 28, 2020 15:44
How to Install Tor Browser on Ubuntu 18.04
#!/bin/sh
sudo apt update
sudo apt install apt-transport-https
sudo add-apt-repository universe
wget -q -O - https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo apt-key add -
echo "deb https://deb.torproject.org/torproject.org $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install tor deb.torproject.org-keyring torbrowser-launcher
@rakibulinux
rakibulinux / UpdateGit.sh
Last active June 29, 2020 02:02
How to update GitHub Site
#!/bin/sh
sudo git init
sudo git add .
sudo git commit -m "first commit"
sudo git push -u origin master
git status
git log
git rm file name
git branch
@rakibulinux
rakibulinux / Redis.sh
Last active February 2, 2020 20:00
How To Install and Secure Redis on Ubuntu 18.04
#!bin/sh
sudo apt update
sudo apt install redis-server
#Open this file with your preferred text editor. Inside the file, find the supervised directive. This directive allows you to declare an init system to manage Redis as a service, providing you with more control over its operation. The supervised directive is set to no by default. Since you are running Ubuntu, which uses the systemd init system, change this to (systemd):
sudo nano /etc/redis/redis.conf
Add this (supervised systemd)
@rakibulinux
rakibulinux / Erlang.sh
Created February 3, 2020 00:19
How to install Latest Erlang on Ubuntu 18.04 LTS
#!/bin/sh
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
sudo apt update
sudo apt -y install erlang
erl
@rakibulinux
rakibulinux / RabbitMQ.sh
Last active May 19, 2020 06:02
How to install Latest RabbitMQ Server on Ubuntu 18.04 LTS
#!/bin/sh
echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt update
sudo apt -y install rabbitmq-server
sudo systemctl status rabbitmq-server.service
systemctl is-enabled rabbitmq-server.service
sudo systemctl enable rabbitmq-server
sudo rabbitmq-plugins enable rabbitmq_management
@rakibulinux
rakibulinux / UFW.sh
Created February 4, 2020 20:48
How to Configure a Firewall with UFW
What is UFW?
UFW, or uncomplicated firewall, is a frontend for managing firewall rules in Arch Linux, Debian or Ubuntu. UFW is used through the command line (although it has GUIs available), and aims to make firewall configuration easy (or, uncomplicated).
sudo apt-get update && sudo apt-get upgrade
#Install UFW
sudo apt-get install ufw
#Use UFW to Manage Firewall Rules. Set Default Rules
sudo ufw default allow outgoing
@rakibulinux
rakibulinux / vsftpd.sh
Last active February 5, 2020 21:44
How to Install and Configure vsftpd on Ubuntu 18.04
#!/bin/sh
#Install vsftpd
sudo apt-get install vsftpd -y
sudo systemctl start vsftpd
sudo systemctl enable vsftpd
#Setup Directory Structure For FTP
#Create a User
@rakibulinux
rakibulinux / wireshark.sh
Created February 10, 2020 16:56
How to Install and Use Wireshark on Ubuntu
#!/bin/sh
sudo apt update
sudo apt install wireshark
#If you want you can create account for wireshark
sudo usermod -aG wireshark $(whoami)
sudo reboot