This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.youtube.com/watch?v=oAmfypawmdY | |
#!/bin/sh | |
#Install Apache | |
sudo apt update | |
sudo apt install apache2 | |
sudo systemctl stop apache2.service | |
sudo systemctl start apache2.service | |
sudo systemctl enable apache2.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Install Git | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo apt-get install git | |
# Install Nodejs | |
sudo apt install curl | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install Rails & Ruby | |
gem install rails | |
gem update --system | |
sudo apt-get install ruby-dev zlib1g-dev liblzma-dev | |
gem install rails | |
apt install ruby | |
rails new myapp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Systme update | |
sudo apt update && sudo apt upgrade | |
# Install wascan- use following commands: | |
git clone https://github.com/m4ll0k/WAScan.git wascan | |
cd wascan | |
sudo apt install python3-pip | |
sudo apt install python-pip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/sh | |
# Download and clone the theHarvester from Github | |
git clone https://github.com/laramies/theHarvester | |
# Now enter into the theHarvester Folder | |
cd theHarvester | |
# Install pip | |
sudo apt install python3-pip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
EDXAPP_PREVIEW_LMS_BASE: preview-${deploy_host} | |
EDXAPP_LMS_BASE: ${deploy_host} | |
EDXAPP_CMS_BASE: studio-${deploy_host} | |
EDXAPP_SITE_NAME: ${deploy_host} | |
CERTS_DOWNLOAD_URL: "http://certs-${deploy_host}" | |
CERTS_VERIFY_URL: "http://certs-${deploy_host}" | |
EDXAPP_ECOMMERCE_PUBLIC_URL_ROOT: "https://payments-${deploy_host}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/sh | |
# Setup Vagrant | |
sudo apt update && sudo apt upgrade | |
sudo apt install virtualbox | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**https://youtu.be/YQ6QwmoW5PA | |
#!/bin/sh | |
#Per Requirement | |
Install NTP | |
The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks | |
sudo apt update && sudo apt upgrade | |
sudo apt install -y ntp ntpdate | |
sudo ntpdate -u 0.ubuntu.pool.ntp.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/sh | |
https://www.youtube.com/watch?v=jp9Z0WlGt3s | |
# Installing Ansible | |
sudo apt update && sudo apt upgrade | |
sudo apt-add-repository ppa:ansible/ansible | |
sudo apt update | |
sudo apt install ansible | |
# Setting Inventory File |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/Downloads | |
$ cd ~/Downloads$ ls | |
Make a new directory [Call it SilentInstaller] to extract the installer from the Packer Tracer. | |
mkdir silentInstaller | |
$ sudo tar xvzf ' ' -C SilentInstaller |