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
sudo apt-get update | |
apt-get install ntopng | |
ufw allow 3000 | |
sudo nano /etc/ntopng/ntopng.conf |
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
*** How to Install PowerShell on Ubuntu 18.04 | |
*** Microsoft package repository installer download package file with the following command: | |
$ wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
**** Install the Microsoft package repository installer command: | |
$ sudo apt-get install ./packages-microsoft-prod.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
Step 1.ystem packages update... | |
sudo apt-get update | |
sudo apt-get | |
Step 2. Installing Netdata on Ubuntu 18.04 LTS using following command. |
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=ZWKy19mjoHM | |
#add the ppa repo, update your system | |
sudo add-apt-repository ppa:mrazavi/openvas | |
sudo apt-get update | |
#install the required packages | |
sudo apt install sqlite3 | |
sudo apt install openvas9 |
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
# Download Ruby https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/ | |
sudo -i | |
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
apt install unzip | |
unzip ruby-2.5.3.zip | |
cd ruby-2.5.3 | |
sudo ./configure | |
sudo make | |
sudo make install |
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 | |
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 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 | |
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 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
sudo apt update && apt upgrade | |
sudo apt-get install nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl restart nginx | |
sudo systemctl status nginx | |
# Install MySQL & check | |
sudo apt install mysql-server | |
sudo mysql_secure_installation |
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 | |
sudo apt install nginx -y | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo ufw allow ssh | |
sudo ufw allow http | |
sudo ufw enable |
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 | |
*** Check a current firewall status: | |
sudo ufw status | |
*** For more verbose output append word verbose | |
sudo ufw status verbose | |
*** How to enable firewall: | |
sudo ufw enable | |
*** How to disable firewall: | |
sudo ufw disable |