lvdisplay
lvextend -L +<size>G /dev/ubuntu-vg/ubuntu-lv
lvextend -L +200G /dev/ubuntu-vg/ubuntu-lv
| cd /Library/Preferences/SystemConfiguration/ | |
| sudo zip backup.zip \ | |
| com.apple.airport.preferences.plist \ | |
| com.apple.network.identification.plist \ | |
| com.apple.wifi.message-tracer.plist \ | |
| NetworkInterfaces.plist preferences.plist | |
| sudo rm com.apple.airport.preferences.plist \ | |
| com.apple.network.identification.plist \ | |
| com.apple.wifi.message-tracer.plist \ | |
| NetworkInterfaces.plist preferences.plist | 
| #!/bin/bash | |
| # Requires: | |
| # 1-2 Cores | |
| # 512-1 GB RAM | |
| # 300+ MB HD | |
| bold=$(tput bold) | |
| green=$(tput setaf 2) | |
| normal=$(tput sgr0) | 
| dpkg-reconfigure tzdata | |
| apt replace && apt improve -y | |
| apt set up -y curl wget vim git unzip socat sudo bash-completion apt-transport-https build-essential dirmngr | |
| curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
| sudo apt set up -y nodejs | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | 
| sudo -n true | |
| sudo apt update -y | |
| sudo apt list --upgradable -a | |
| sudo apt upgrade -y | |
| sudo dpkg --configure -a | |
| sudo apt install -f | |
| sudo apt update --fix-missing | |
| sudo apt --fix-broken install -y | |
| sudo apt install apt-transport-https ca-certificates curl software-properties-common -y | |
| sudo apt install ubuntu-restricted-extras -y | 
| ###################### | |
| # Suricata (IDS Only) | |
| ###################### | |
| # Update and Upgrade | |
| sudo apt update -y && sudo apt upgrade -y | |
| sudo apt-get install software-properties-common | |
| sudo add-apt-repository ppa:oisf/suricata-stable | |
| # Requirements | 
| ###################### | |
| # Suricata (IDS + IPS) | |
| ###################### | |
| # Update and Upgrade | |
| sudo update -y && sudo upgrade -y | |
| # Requirements | |
| sudo apt -y install rustc cargo | |
| sudo apt -y install libpcre3 libpcre3-dbg libpcre3-dev build-essential autoconf automake libtool libpcap-dev libnet1-dev libyaml-0-2 libyaml-dev zlib1g zlib1g-dev libcap-ng-dev libcap-ng0 libnspr4-dev libnss3-dev liblz4-dev | 
| sudo apt autoremove --purge -y | |
| sudo apt autoclean -y | |
| sudo rm -rf /home/$USER/.local/share/Trash/* | |
| sudo find /tmp/ -type f -mtime +1 -exec sudo rm {} \; | |
| sudo find /tmp/ -type f -atime +1 -exec sudo rm {} \; | |
| sudo apt remove -y | |
| sudo apt clean -y | |
| sudo apt clean all -y | |
| sudo rm /home/$USER/.bash_history | |
| sudo rm /home/$USER/.local/share/user-places.xbel.bak | 
| %YAML 1.1 | |
| --- | |
| ### | |
| ## http://www.branchnetconsulting.com/ | |
| ### | |
| # Suricata configuration file. In addition to the comments describing all | |
| # options in this file, full documentation can be found at: | |
| # https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricatayaml | 
| # Suricata fingerprint.rules | |
| # Copyright (c) 2009-2019. Quadrant Information Security <www.quadrantsec.com> | |
| # All rights reserved. | |
| # | |
| # | |
| #************************************************************* | |
| # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the | |
| # following conditions are met: | |
| # | |
| # * Redistributions of source code must retain the above copyright notice, this list of conditions and the following |