Skip to content

Instantly share code, notes, and snippets.

View linuxoracledev's full-sized avatar
💭
I may be slow to respond.

Mohammad Abul Kalam Azad linuxoracledev

💭
I may be slow to respond.
View GitHub Profile
@linuxoracledev
linuxoracledev / InstallingRocketChatServer.sh
Last active April 12, 2024 19:34
How to install and configure rocket chat on ubuntu 18.04 LTS
##Step 1: Install MongoDB
#import the MongoDB public GPG key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
#Create the list file - /etc/apt/sources.list.d/mongodb-org-4.0.list
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
#Update the local package repository
sudo apt update
@linuxoracledev
linuxoracledev / docker.sh
Created January 6, 2020 18:58
How To Install and Use Docker on Ubuntu 18.04
#Update your existing list of packages
sudo apt update
#Install a few prerequisite packages
sudo apt install apt-transport-https ca-certificates curl software-properties-common
#Add the GPG key for the official Docker repository
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
#Add the Docker repository to APT sources
@linuxoracledev
linuxoracledev / tor.sh
Last active May 31, 2023 07:53
How to install and uninstallTor Browser in Ubuntu 18.04
##Istallation
#Install gtk and gtk3 module
sudo apt-get install libcanberra-gtk-module
sudo apt-get update
#Create a new repository file called tor.list
#cat <<EOF | sudo tee /etc/apt/sources.list.d/tor.list
#deb https://deb.torproject.org/torproject.org bionic main
#deb-src https://deb.torproject.org/torproject.org bionic main
#EOF
@linuxoracledev
linuxoracledev / tomcat.sh
Created January 13, 2020 21:09
How to Install Tomcat 9 on Ubuntu 18.04
##Install OpenJDK
#Update system
sudo apt update
#Install the OpenJDK package
sudo apt install default-jdk
#Create Tomcat User
sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat
@linuxoracledev
linuxoracledev / virtualbox.sh
Created January 13, 2020 12:47
How to Install Oracle VirtualBox 6.0 on Kali Linux / Linux Mint
#Update your system
sudo apt update
sudo apt -y upgrade
sudo reboot
#Import apt repository
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
#Add the VirtualBox Repository
@linuxoracledev
linuxoracledev / ssh.sh
Last active December 7, 2022 07:50
Add ssh key to ssh-agent
#To see if existing SSH keys are present. Lists the files in .ssh directory, if they exist
ls -al ~/.ssh
#By default, the filenames of the public keys are one of the following:
#id_dsa.pub
#id_ecdsa.pub
#id_ed25519.pub
#id_rsa.pub
#If you don't have an existing public and private key pair, or don't wish to use any that are available to connect to #GitHub, then generate a new SSH key as bellow
ssh-keygen -t rsa -b 4096 -C "your_git_email@example.com"
@linuxoracledev
linuxoracledev / OpenVasSetup.sh
Created November 27, 2019 18:50
Setup OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
#add the ppa repo, update your system
sudo add-apt-repository ppa:mrazavi/openvas
sudo apt-get update
#install the required packages
sudo apt install sqlite3
sudo apt install openvas9
sudo apt install texlive-latex-extra --no-install-recommends
sudo apt install texlive-fonts-recommended
sudo apt install libopenvas9-dev
@linuxoracledev
linuxoracledev / asterisk.sh
Last active February 9, 2022 09:53
Install Asterisk 16 LTS on Ubuntu 18.04 / 16.04 & Debian 10/9
#Update system & reboot
sudo apt update && sudo apt -y upgrade
sudo reboot
#Install Asterisk 16 LTS dependencies
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
#Add universe repository and install subversio
sudo add-apt-repository universe
sudo apt update && sudo apt -y install subversion
@linuxoracledev
linuxoracledev / netdata.sh
Last active November 17, 2021 16:46
Installation and Configuration of netdata on Ubuntu 18.04 LTS
##Installation
# Run `bash` for shell
bash
# install Netdata directly from GitHub source
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
#Modify the server configuration file
sudo nano /etc/netdata/netdata.conf
#uncomment following lines-
@linuxoracledev
linuxoracledev / wordpress-lamp.sh
Last active May 4, 2020 15:09
How To Install WordPress with LAMP Stack on Ubuntu 18.04 LTS
##Install the Apache web server
sudo apt-get install apache2 -y
#Start and enable Apache to start automatically upon server reboot
sudo systemctl start apache2
sudo systemctl enable apache2
#Check Apache server is up and running
systemctl status apache2