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
Microsoft PowerShell on Ubuntu 18.04 LTS | |
Microsoft PowerShell is a shell framework used to execute commands, but primarily it is developed to perform administrative tasks such as | |
Automation of repetitive jobs | |
Configuration management | |
PowerShell is an open-source and cross-platform project; it can be installed on Windows, macOS, and Linux. It includes an interactive command-line shell and a scripting environment. | |
##Installation via Package Repository - Ubuntu 18.04 |
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 -y | |
sudo apt-get upgrade -y | |
sudo apt-get install ntopng | |
sudo systemctl restart ntopng | |
sudo ntopng -h | |
sudo ufw enable | |
sudo ufw allow 3000 | |
firefox http://localhost:3000/ | |
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://youtu.be/O3y4GfwGX_E | |
#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 | |
sudo apt install texlive-latex-extra --no-install-recommends |
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://youtu.be/O3y4GfwGX_E | |
#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 | |
sudo apt install texlive-latex-extra --no-install-recommends |
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
# YouTube: https://www.youtube.com/watch?v=ymE3h8CzBXQ | |
# What is a LAMP Stack? | |
# LAMP (Linux, Apache, MySQL, PHP) stack is a common, free, and open-source web stack used for | |
# hosting web content in a Linux environment. | |
# Step 0: Before we install the LAMP stack, it’s a good idea to update repository and software packages: | |
sudo apt update | |
sudo apt upgrade |
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 | |
# This command will update & upgrade your system | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
# Install the package build-essential for making the package and checkinstall for putting it into your package manager | |
sudo apt install build-essential checkinstall | |
# Install Ubuntu Restricted Extras | |
sudo apt install ubuntu-restricted-extras |
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
# Youtube: https://www.youtube.com/watch?v=CdK8Nb-ED9M | |
#Install NGINX | |
sudo apt-get update | |
sudo apt-get install nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl restart nginx | |
sudo systemctl stop nginx | |
sudo systemctl start nginx | |
sudo systemctl status nginx |
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
# Youtube: https://www.youtube.com/watch?v=CdK8Nb-ED9M | |
#Install NGINX | |
sudo apt-get update | |
sudo apt-get install nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
sudo systemctl restart nginx | |
sudo systemctl stop nginx | |
sudo systemctl start nginx | |
sudo systemctl status nginx |
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
update your system, Install prerequisites: | |
sudo apt install -y git curl wget zip unzip | |
Install PHP 7+ | |
============== | |
sudo apt install php libapache2-mod-php php-mysql | |
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip | |
php --version | |
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/bash | |
# Part 1 | |
# To Install latest Git using PPA run this command: | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
# To check Git version run this command: |
OlderNewer