Skip to content

Instantly share code, notes, and snippets.

🏦
Working from home

Showeb Arif Siddiquie DevSecOpsGuy

🏦
Working from home
Block or report user

Report or block DevSecOpsGuy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vim_cheatsheet.md

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
View minikube_ubuntu_installation.md

Minikube Installation on Ubuntu 16.04 LTS

Overview:

  1. Install hypervisor (Virtualbox)
  2. Get and install Kubectl (repositories)
  3. Get and install Minikube last version
  4. Start and Test Minikube local cluster and expose demo service

Install VirtualBox hypervisor

@DevSecOpsGuy
DevSecOpsGuy / OpenVas.sh
Last active Dec 15, 2019
OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
View OpenVas.sh
https://youtu.be/O3y4GfwGX_E
#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
@DevSecOpsGuy
DevSecOpsGuy / minikube.sh
Created Nov 19, 2019 — forked from ispguru/minikube.sh
Setup Minikube on Ubuntu 18.04
View minikube.sh
sudo apt update
sudo apt-get install apt-transport-https
udo apt-get upgrade
sudo apt install virtualbox virtualbox-ext-pack
wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube-linux-amd64
sudo mv minikube-linux-amd64 /usr/local/bin/minikube
minikube version
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt install curl
@DevSecOpsGuy
DevSecOpsGuy / Ampps.sh
Last active Nov 16, 2019
AMPPS 3.8 on Ubuntu 18.04.3 LTS
View Ampps.sh
sudo apt-get update
sudo apt-get install libfontconfig1 libxrender1
wget http://s4.softaculous.com/a/ampps/files/Ampps-3.8-x86_64.run
sudo chmod 0755 Ampps-3.8-x86_64.run
sudo ./Ampps-3.8-x86_64.run
cd /usr/local/ampps
sudo ./Ampps
!If get error then try
@DevSecOpsGuy
DevSecOpsGuy / Tomcat.sh
Created Nov 13, 2019
Apache Tomcat 9 on Ubuntu 18.04 LTS
View Tomcat.sh
Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket technologies. It is one of the most widely adopted applications and web servers in the world today. Tomcat is simple to use and has a robust ecosystem of add-ons.
sudo apt update
sudo apt install default-jdk
java -version
sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat
wget http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz -P /tmp
@DevSecOpsGuy
DevSecOpsGuy / Asterisks.sh
Last active Nov 13, 2019
How to display Asterisks(*) when you type Password in Linux Terminal
View Asterisks.sh
sudo apt update
sudo /etc/sudoers /etc/sudoers.bk
sudo nano /etc/sudoers
# visudo
Defaults env_reset,pwfeedback
or
@DevSecOpsGuy
DevSecOpsGuy / Asterisk.sh
Last active Nov 13, 2019
Asterisk 16 LTS on Ubuntu 18.04
View Asterisk.sh
https://youtu.be/_yXUGOHPHTo
sudo apt update && sudo apt -y upgrade
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
If you get an error for subversion package on Ubuntu like below:
E: Package 'subversion' has no installation candidate
Then add universe repository and install subversion from it:
@DevSecOpsGuy
DevSecOpsGuy / beego.sh
Created Nov 11, 2019
golang and beego framework in linux ubuntu 18.04 LTS
View beego.sh
##Install golang and beego framework in linux ubuntu 18.04 LTS
#Download and decompress the Golang 1.x.x archive
mkdir golang_source
cd golang_source
wget https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz
sudo tar -zxvf go1.9.1.linux-amd64.tar.gz -C /usr/local
@DevSecOpsGuy
DevSecOpsGuy / Swift_Vapor.sh
Last active Mar 18, 2020
Swift and Vapor on Ubuntu 18.04
View Swift_Vapor.sh
Install Swift and Vapor on Ubuntu 18.04
https://youtu.be/-El30oW3_Wg
##Step 1 — Installing Swift
sudo apt-get update
sudo apt-get install clang libicu-dev libpython2.7
wget https://swift.org/builds/swift-5.1.2-release/ubuntu1804/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu18.04.tar.gz
You can’t perform that action at this time.