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
# To install Powershell on Ubuntu 18.04 LTS run the given command to add the repository to your Ubuntu 18.04 system. | |
sudo apt-get update && sudo apt -y install wget | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
sudo dpkg -i packages-microsoft-prod.deb | |
# After it update package index list and Install PowerShell by typing | |
sudo apt update | |
sudo apt -y install powershell | |
# To test powershell on your Ubuntu 18.04, try the following command |
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
# Youtube: https://www.youtube.com/watch?v=H5mR2peIHhY | |
#!/bash/sh | |
sudo apt-get update | |
sudo apt-get upgrade | |
bash <(curl -Ss https://my-netdata.io/kickstart.sh) |
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/bash | |
Youtube: https://www.youtube.com/watch?v=N6tVmSW4lVg | |
# add the ppa repo, update your system | |
sudo add-apt-repository ppa:mrazavi/openvas | |
sudo apt-get update | |
# install the required packages |
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
# youtube: https://www.youtube.com/watch?v=OBJ4YRE13IA | |
#!/bin/bash | |
# Download Ruby version from the link: https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-5-7-released/ | |
# Go to dowload folder using command | |
cd Downloads | |
# Extract the downloaded Ruby file using | |
tar -zxvf ruby-2.5.7.tar.gz |
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
# youtube: https://studio.youtube.com/video/zrjecEOD0Cw/edit | |
#!/bin/bash | |
# Use the following command to install Redis | |
sudo apt-get install redis-server | |
sudo apt-get update | |
cd redis | |
wget http://download.redis.io/releases/redis-5.0.7.tar.gz | |
tar xzf redis-5.0.7.tar.gz |
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 | |
# Youtube: youtube.com/watch?v=TYNbiR12XZg | |
# To install RabbitMQ on Ubuntu use u/m commands: | |
# First install erlang language | |
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 |
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
# Use SSH login or root login to Connect to your Server | |
sudo -i | |
# then use these commands | |
apt-get update | |
apt-get upgrade | |
# Apache Web Server Installation | |
apt-get install apache2 | |
systemctl enable apache2 |
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
# 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 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=sZNeeynK-ZU&t=1708s | |
#!/bin/sh | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get autoremove | |
#Install NGINX | |
sudo apt-get install nginx | |
#Install MariaDB |
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 | |
# 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 | |
# How to install a graphical ufw: |