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 / NMAP.sh
Created February 11, 2020 11:54
How to Install & use the NMAP Security Scanner on Linux
#!/bin/sh
sudo apt-get update
sudo apt-get install nmap
nmap --version
#Scan IP range or subnet
sudo nmap target_IP or domain.com
#Port Specification and Scan Order
@rakibulinux
rakibulinux / Metasploit.sh
Created February 12, 2020 18:03
Installing Metasploit on Ubuntu 18.04 LTS
#!/bin/bash
sudo apt update
sudo apt upgrade
#Download Metasploit Combined Installer
wget https://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
chmod +x metasploit-latest-linux-x64-installer.run
sudo ./metasploit-latest-linux-x64-installer.run
@rakibulinux
rakibulinux / Webmin.sh
Created February 13, 2020 11:24
How to Install Webmin on Ubuntu 18.04
#!/bin/bash
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
sudo apt install webmin
#Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
#Adjust the Firewall
@rakibulinux
rakibulinux / NodeJS&NPM.sh
Last active February 15, 2020 09:26
How to Install Node.js and npm on Ubuntu 18.04
#!/bin/sh
# Install Node JS & NPM Configure
# 1st Enable the NodeSource repository by running the following curl as a user with sudo privileges:
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
# 2nd Once the NodeSource repository is enabled, install Node.js and npm by typing:
# Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
sudo apt-get install -y nodejs
@rakibulinux
rakibulinux / ansible.sh
Created February 27, 2020 15:06
How to Install Ansible on Ubuntu 18.04
#!/bin/sh
sudo apt update
sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible
#Setting Up the Inventory File. Be sure to replace the highlighted IPs with the IP addresses of your Ansible hosts.
sudo nano /etc/ansible/hosts
@rakibulinux
rakibulinux / Puppet.sh
Created March 2, 2020 11:12
How To Install Puppet On Ubuntu 18.04
#!/bin/sh
sudo apt update
sudo apt install -y ntp ntpdate
sudo ntpdate -u 0.ubuntu.pool.ntp.org
sudo nano /etc/hosts
192.168.1.10 server.itzgeek.local server
@rakibulinux
rakibulinux / Vagrant.sh
Created March 3, 2020 17:58
How to Install Vagrant on Ubuntu 18.04
#!/bin/sh
#Installing VirtualBox
sudo apt install virtualbox
#Installing Vagrant
sudo apt update
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb
sudo apt install ./vagrant_2.2.6_x86_64.deb
@rakibulinux
rakibulinux / Stacer.sh
Created April 1, 2020 01:06
How to Optimize Linux System with Stacer
#!/bin/sh
sudo add-apt-repository ppa:oguzhaninan/stacer
sudo apt update
sudo apt -y install stacer
stacer
@rakibulinux
rakibulinux / AndroidStudio.sh
Created April 25, 2020 07:31
How to Install Android Studio on Ubuntu 20.04 LTS
#!/bin/sh
sudo apt update
sudo apt install openjdk-11-jdk
sudo snap install android-studio --classic
sudo android-studio
@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