This file contains 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
# Download the Microsoft repository GPG keys | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
# Register the Microsoft repository GPG keys | |
sudo dpkg -i packages-microsoft-prod.deb | |
# Update the list of products | |
sudo apt-get update | |
# Enable the "universe" repositories |
This file contains 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
#!/bash/sh | |
sudo apt-get update | |
sudo apt-get upgrade | |
bash <(curl -Ss https://my-netdata.io/kickstart.sh) | |
#Confirm Netdata is running | |
sudo netstat -pnltu | grep 19999 | |
sudo systemctl status netdata |
This file contains 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 | |
sudo apt update | |
sudo apt install apt-transport-https | |
sudo add-apt-repository universe | |
wget -q -O - https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo apt-key add - | |
echo "deb https://deb.torproject.org/torproject.org $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list | |
sudo apt update | |
sudo apt install tor deb.torproject.org-keyring torbrowser-launcher |
This file contains 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 | |
sudo git init | |
sudo git add . | |
sudo git commit -m "first commit" | |
sudo git push -u origin master | |
git status | |
git log | |
git rm file name | |
git branch |
This file contains 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 | |
sudo apt update | |
sudo apt install redis-server | |
#Open this file with your preferred text editor. Inside the file, find the supervised directive. This directive allows you to declare an init system to manage Redis as a service, providing you with more control over its operation. The supervised directive is set to no by default. Since you are running Ubuntu, which uses the systemd init system, change this to (systemd): | |
sudo nano /etc/redis/redis.conf | |
Add this (supervised systemd) | |
This file contains 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 | |
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
sudo apt update | |
sudo apt -y install erlang | |
erl |
This file contains 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 | |
echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
sudo apt update | |
sudo apt -y install rabbitmq-server | |
sudo systemctl status rabbitmq-server.service | |
systemctl is-enabled rabbitmq-server.service | |
sudo systemctl enable rabbitmq-server | |
sudo rabbitmq-plugins enable rabbitmq_management |
This file contains 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
What is UFW? | |
UFW, or uncomplicated firewall, is a frontend for managing firewall rules in Arch Linux, Debian or Ubuntu. UFW is used through the command line (although it has GUIs available), and aims to make firewall configuration easy (or, uncomplicated). | |
sudo apt-get update && sudo apt-get upgrade | |
#Install UFW | |
sudo apt-get install ufw | |
#Use UFW to Manage Firewall Rules. Set Default Rules | |
sudo ufw default allow outgoing |
This file contains 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 vsftpd | |
sudo apt-get install vsftpd -y | |
sudo systemctl start vsftpd | |
sudo systemctl enable vsftpd | |
#Setup Directory Structure For FTP | |
#Create a User |
This file contains 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 | |
sudo apt update | |
sudo apt install wireshark | |
#If you want you can create account for wireshark | |
sudo usermod -aG wireshark $(whoami) | |
sudo reboot |