Skip to content

Instantly share code, notes, and snippets.

View afahitech's full-sized avatar

Ataur Rahman afahitech

View GitHub Profile
@afahitech
afahitech / ruby.sh
Created January 20, 2020 16:54 — forked from AnythingLinux/ruby.sh
Ruby A PROGRAMMER'S BEST FRIEND
sudo wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip
sudo unzip ruby-2.5.3.zip
cd ruby-2.5.3/
sudo ./configure
sudo make
sudo make install
ruby --version
@afahitech
afahitech / vtiger.sh
Created January 27, 2020 16:25
How to Install vTiger CRM -Ubuntu 18.04 LTS
#!/bin/sh
sudo apt update
sudo apt install -y php php-cli php-mysql php-common php-zip php-mbstring php-xmlrpc php-curl php-soap php-gd php-xml php-intl php-ldap
sudo apt install -y apache2 libapache2-mod-php
sudo vim /etc/php/7.2/apache2/php.ini
#file_uploads = On
@afahitech
afahitech / WordPress.sh
Created February 10, 2020 16:45
Install WordPress on Ubuntu 18.04
# Install Apache
sudo apt update
sudo apt upgrade
sudo apt install apache2
apache2 -v
sudo service apache2 start
sudo systemctl enable apache2
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
@afahitech
afahitech / WordPressLEMPStack.sh
Created February 26, 2020 15:57
Install WordPress with LEMP Stack Nginx
# Update & Install Nginx
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
@afahitech
afahitech / wireshark.sh
Created March 30, 2020 13:02
Install Wireshark on Ubuntu
# Update system
sudo apt update && sudo apt upgrade
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install wireshark
wireshark --version
# Configure and start Wireshark
sudo usermod -a -G wireshark $USER
@afahitech
afahitech / OpenVas.sh
Created March 31, 2020 03:57
Set up OpenVas on Ubuntu
# add the ppa repository, update 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
sudo apt install texlive-fonts-recommended
sudo apt install libopenvas9-dev
@afahitech
afahitech / LMS.sh
Created April 1, 2020 13:17
Install LMS
# Install Apache
sudo apt update && sudo apt upgrade
sudo apt install apache2
sudo systemctl enable apache2
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
firefox http://localhost/
# IInstall MariaDB Database Server
@afahitech
afahitech / metasploit.sh
Created April 4, 2020 06:00
How to install Metasploit Framework on Ubuntu 18.04
# Install metasploit
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
chmod 755 msfinstall
./msfinstall
# Create msf database.
msfdb init
# Launch msfconsole
@afahitech
afahitech / webmin.sh
Created April 4, 2020 06:05
How to install webmin on Ubuntu 18.04
# System update
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common apt-transport-https wget
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
# Install webmin
sudo apt install webmin
@afahitech
afahitech / mongodb.sh
Created April 4, 2020 06:07
How to install mongodb on Ubuntu 18.04
# System update
sudo apt update
# Install mongoDB
sudo apt install mongodb
sudo systemctl status mongodb
sudo systemctl stop mongodb
sudo systemctl start mongodb
sudo systemctl restart mongodb
sudo systemctl disable mongodb