Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

khaleda ferdous badhonhitech

💭
I may be slow to respond.
Block or report user

Report or block badhonhitech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mariadb.sh
sudo apt update
sudo apt upgrade
mysql --version
sudo apt install mariadb-server
sudo mysql_secure_installation
Enter current password for root (enter for none): Just press the Enter
Set root password? [Y/n]: Y
New password: Enter password
@badhonhitech
badhonhitech / nginx.sh
Last active Dec 7, 2019
How to setup Nginx on Ubuntu
View nginx.sh
# YouTube: https://youtu.be/9FX87-m6jMM
sudo apt update
sudo apt upgrade
sudo apt install nginx
nginx --version
sudo nginx -T
sudo service nginx start
sudo service nginx stop
sudo service nginx start
View lampinstall.sh
# 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
@badhonhitech
badhonhitech / mysql.sh
Created Dec 1, 2019
MySQL Install Linux
View mysql.sh
# This commands will setup MySQL and create a DB
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
sudo mysql -u root -p
CREATE DATABASE badhon DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON badhon.* TO 'buser'@'localhost' IDENTIFIED BY 'B@Dho2019P@';
@badhonhitech
badhonhitech / rabbitmq.sh
Created Nov 29, 2019
Install RabbitMQ on Ubuntu 18.04
View rabbitmq.sh
sudo apt-get update
sudo apt-get install rabbitmq-server
sudo update-rc.d rabbitmq-server defaults
sudo service rabbitmq-server start
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmqctl add_user admin password
sudo rabbitmqctl set_user_tags admin administrator
sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
@badhonhitech
badhonhitech / radis.sh
Created Nov 26, 2019
radis install ubuntu 18
View radis.sh
sudo wget http://download.redis.io/redis-stable.tar.gz
sudo tar xvzf redis-stable.tar.gz
cd redis-stable
sudo make
sudo redis-server
sudo redis-cli ping
@badhonhitech
badhonhitech / OpenVas.sh
Created Nov 23, 2019 — forked from DevSecOpsGuy/OpenVas.sh
OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
View OpenVas.sh
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
@badhonhitech
badhonhitech / OpenVas.sh
Created Nov 23, 2019 — forked from DevSecOpsGuy/OpenVas.sh
OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
View OpenVas.sh
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
@badhonhitech
badhonhitech / netdata.sh
Created Nov 9, 2019
NetData Install Linux
View netdata.sh
#!/bin/bash
# This script will install NetData Install Linux for YouTube: https://youtu.be/bcl6SZ4PlsE
sudo apt-get install netdata -y
sudo apt update -y
sudo nano /etc/netdata/netdata.conf
# input and save via nano
[global]
run as user = netdata
@badhonhitech
badhonhitech / ntopng.sh
Created Nov 7, 2019 — forked from DevSecOpsGuy/ntopng.sh
Ntopng on Ubuntu 18.04 LTS
View ntopng.sh
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/
You can’t perform that action at this time.