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 Prerequisite Packages | |
| sudo apt update && sudo apt upgrade | |
| sudo apt-get install curl apt-transport-https ca-certificates software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| sudo apt update | |
| # Installing Docker |
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 | |
| #Running a Docker Container | |
| docker run -it ubuntu | |
| apt update | |
| apt install nginx | |
| node -v | |
| exit | |
| #Managing Docker Containers |
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 | |
| # Installing Ansible | |
| sudo apt update && sudo apt upgrade | |
| sudo apt-add-repository ppa:ansible/ansible | |
| sudo apt update | |
| sudo apt install ansible | |
| # Setting Up the Inventory File | |
| sudo nano /etc/ansible/hosts |
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 | |
| # Installing 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
| #!/bin/sh | |
| # Prerequisites | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install -y ntp ntpdate | |
| sudo ntpdate -u 0.ubuntu.pool.ntp.org | |
| # DNS | |
| sudo nano /etc/hosts | |
| # add |
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 | |
| # 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 | |
| #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 | |
| # Download | |
| sudo apt update | |
| mkdir golang_source | |
| cd golang_source | |
| wget https://dl.google.com/go/go1.14.1.linux-amd64.tar.gz | |
| sudo tar -zxvf go1.14.1.linux-amd64.tar.gz -C /usr/local | |
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 | |
| # Update system | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install wget build-essential subversion | |
| # Download Asterisk | |
| cd /usr/src/ | |
| sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz | |
| sudo tar zxf asterisk-16-current.tar.gz |