Skip to content

Instantly share code, notes, and snippets.

View CloudLinuxDeveloper's full-sized avatar
🏠
Working from home

ARIFUL ISLAM CloudLinuxDeveloper

🏠
Working from home
View GitHub Profile
@CloudLinuxDeveloper
CloudLinuxDeveloper / ntopng.ntop
Last active May 4, 2020 05:20
How To Install Ntopng on Ubuntu 18.04 LTS.
sudo apt-get update
apt-get install ntopng
ufw allow 3000
sudo nano /etc/ntopng/ntopng.conf
@CloudLinuxDeveloper
CloudLinuxDeveloper / powerShell.shell
Created March 29, 2020 10:33
How to Install PowerShell on Ubuntu 18.04
*** 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
@CloudLinuxDeveloper
CloudLinuxDeveloper / Netdata.net
Created March 30, 2020 08:43
How To Install Netdata on Ubuntu 18.04 LTS...
Step 1.ystem packages update...
sudo apt-get update
sudo apt-get
Step 2. Installing Netdata on Ubuntu 18.04 LTS using following command.
@CloudLinuxDeveloper
CloudLinuxDeveloper / OpenVas.open
Created March 30, 2020 13:53
How to install & Configure OpenVAS 9 on Ubuntu 18.04.
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
@CloudLinuxDeveloper
CloudLinuxDeveloper / ruby.sh
Created April 8, 2020 11:25
Ruby 2.5.3 Install Linux
# 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
@CloudLinuxDeveloper
CloudLinuxDeveloper / redis.sh
Last active April 8, 2020 12:31
How To Install Redis on Ubuntu 18.04
#!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)
@CloudLinuxDeveloper
CloudLinuxDeveloper / rabbitmq.sh
Created April 8, 2020 16:14
How to install RabbitMQ Server on Ubuntu 18.04 LTS
#!/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
@CloudLinuxDeveloper
CloudLinuxDeveloper / wordpress.ssh
Last active April 20, 2020 13:18
How to installation wordpress Setup using LAMP Stack on Ubuntu 18.04 Ltd..
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
@CloudLinuxDeveloper
CloudLinuxDeveloper / Nginx.ssh
Last active August 12, 2021 23:05
How to Install Nginx , PHP and MySQL (LEMP Stack) Ubuntu 18.04
#!/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
@CloudLinuxDeveloper
CloudLinuxDeveloper / ufw.ssh
Created April 21, 2020 09:41
How to enable Ufw , disable, Status, Port Open Ubuntu !!
#!/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