├── .github └── workflows │ └── SuperLint.yml ├── LICENSE ├── README.md └── quickinstall.sh /.github/workflows/SuperLint.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ########################### 3 | ########################### 4 | ## Linter GitHub Actions ## 5 | ########################### 6 | ########################### 7 | name: Lint Code Base 8 | 9 | # 10 | # Documentation: 11 | # https://help.github.com/en/articles/workflow-syntax-for-github-actions 12 | # 13 | 14 | ############################# 15 | # Start the job on all push # 16 | ############################# 17 | on: 18 | push 19 | 20 | ############### 21 | # Set the Job # 22 | ############### 23 | jobs: 24 | build: 25 | # Name the Job 26 | name: Lint Code Base 27 | # Set the agent to run on 28 | runs-on: ubuntu-latest 29 | 30 | ################## 31 | # Load all steps # 32 | ################## 33 | steps: 34 | ########################## 35 | # Checkout the code base # 36 | ########################## 37 | - name: Checkout Code 38 | uses: actions/checkout@v2 39 | 40 | ################################ 41 | # Run Linter against code base # 42 | ################################ 43 | - name: Lint Code Base 44 | uses: docker://github/super-linter:v3 45 | env: 46 | VALIDATE_ALL_CODEBASE: true 47 | DEFAULT_BRANCH: master 48 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Jerry Gamblin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Quickinstall 2 | 3 | A Shell Script To Take Care Of Ubuntu Basic VPC Setup For Ubuntu 20.04 4 | 5 | - Update OS 6 | - Install Useful Software 7 | - Install OSQUERY 8 | - Install Docker 9 | - Install Jupyter 10 | 11 | Updated: December 19th, 2020 12 | -------------------------------------------------------------------------------- /quickinstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Upgrade installed packages to latest 4 | sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -qq dist-upgrade 5 | 6 | # Java Fixes 7 | sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:linuxuprising/java 8 | echo debconf shared/accepted-oracle-license-v1-2 select true | sudo debconf-set-selections 9 | echo debconf shared/accepted-oracle-license-v1-2 seen true | sudo debconf-set-selections 10 | 11 | #Install stuff I use all the time 12 | sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \ 13 | build-essential \ 14 | curl \ 15 | jq \ 16 | nmap \ 17 | npm \ 18 | oracle-java15-installer \ 19 | oracle-java15-set-default \ 20 | python \ 21 | python-dev \ 22 | python3 \ 23 | python3-dev \ 24 | python3-pip \ 25 | ruby-full \ 26 | software-properties-common \ 27 | tor \ 28 | tree \ 29 | tshark \ 30 | ufw \ 31 | unattended-upgrades \ 32 | unrar \ 33 | unzip \ 34 | wget \ 35 | wireshark 36 | 37 | #Install OSQuery 38 | echo "deb [arch=amd64] https://pkg.osquery.io/deb deb main" | sudo tee /etc/apt/sources.list.d/osquery.list 39 | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B 40 | sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -qq install osquery 41 | 42 | #Install Docker 43 | curl -L https://get.docker.com | sh 44 | usermod -aG docker ubuntu 45 | 46 | #Install Doecker Compose 47 | sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 48 | sudo chmod +x /usr/local/bin/docker-compose 49 | 50 | #Install Jupyter 51 | sudo pip3 install jupyter 52 | 53 | #Log ufw to separate file 54 | sudo sed -i '/~/s/^#//g' /etc/rsyslog.d/20-ufw.conf 55 | sudo /etc/init.d/rsyslog restart 56 | 57 | # set timezone to UTC 58 | sudo timedatectl set-timezone UTC --------------------------------------------------------------------------------