Skip to content

Instantly share code, notes, and snippets.

View zicodhkbd's full-sized avatar

Md Alamgir zicodhkbd

View GitHub Profile
If you need OPIGNO CMS Insatallation contact with me:
Email: zicodhkbd@gmail.com
Telegram: @zicodhkbd
Skype: live:zicodhkbd
Imo: +8801815636331
WhatsApp: +8801815636331
# Installing apache2
sudo apt update
sudo apt install apache
#If you need Mautic install contact with me:
#Telegram: @zicdhobd
#skype : zicodhkbd
#Gmail : zicodhkbd@gmail.com
#Live : zicodhkbd@hotmail.com
#twitter: zicodhkbd
#===========================================================================
#
#!/bin/sh
sudo apt update -y
@zicodhkbd
zicodhkbd / Wireshark.sh
Created November 2, 2019 16:25
Wireshark Network Analyzer On Ubuntu 18.04
#!/bin/sh
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt install wireshark
sudo usermod -a -G wireshark sarif
sudo chgrp wireshark /usr/bin/dumpcap
@zicodhkbd
zicodhkbd / Ruby.Rails.sh
Last active November 3, 2019 18:31
Ruby On Rails using rbenv
#!/bin/sh
##Installing Ruby
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
@zicodhkbd
zicodhkbd / Rocket.Chat.sh
Created November 2, 2019 16:05
Rocket.Chat in Ubuntu 18.04 LTS
#!/bin/sh
##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
@zicodhkbd
zicodhkbd / github.sh
Last active November 1, 2019 18:38
git ssh add git clone git repo add
#!/bin/sh
cd /home/zico/.ssh/
ls -al ~/.ssh
ssh-keygen -t rsa -b 4096 -C "zicodhkbd@gmail.com"
ls -al ~/.ssh
cat /home/zico/.ssh/id_rsa.pub
copy key and add
https://github.com/settings/ssh/new
@zicodhkbd
zicodhkbd / LaravelPHPFW.sh
Created November 1, 2019 18:14
Laravel PHP Framework On Ubuntu 18.04
#!/bin/sh
sudo apt update
sudo apt install apache2
sudo systemctl stop apache2.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service
sudo apt install php7.2 libapache2-mod-php7.2 php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-zip
@zicodhkbd
zicodhkbd / iptable.sh
Created November 1, 2019 18:13
iptables is a command line utility for configuring Linux kernel firewall implemented within the Netfilter project. The term iptables is also commonly used to refer to this kernel-level firewall. It can be configured directly with iptables
#!/bin/sh
Installing Iptables
sudo apt-get update
sudo apt-get install iptables
Checking current Iptables status
sudo iptables -L
Example output:
@zicodhkbd
zicodhkbd / ufw.sh
Created November 1, 2019 18:11
UFW or Uncomplicated Firewall
#!/bin/sh
UFW or Uncomplicated Firewall is a program for managing a netfilter firewall designed to be easy to use. It uses a command-line interface consisting of a small number of simple commands, and uses iptables for configuration. Ubuntu 8.04 Comes with ufw - a program for managing the iptables firewall easily.
To check the status of UFW:
sudo ufw status
To turn UFW on with the default set of rules:
@zicodhkbd
zicodhkbd / EnableSSH.sh
Created November 1, 2019 18:09
Enable SSH in Ubuntu 18.04 LTS
#!/bin/sh
sudo apt-get install openssh-server
sudo service ssh status
sudo nano /etc/ssh/sshd_config
set PermitRootLogin yes
set PasswordAuthentication yes