Skip to content

Instantly share code, notes, and snippets.

View linuxoracledev's full-sized avatar
💭
I may be slow to respond.

Mohammad Abul Kalam Azad linuxoracledev

💭
I may be slow to respond.
View GitHub Profile
@linuxoracledev
linuxoracledev / vtiger.sh
Last active November 27, 2019 02:50
How to Install vTiger CRM on Ubuntu 18.04 LTS with Uninstallation
##Install and Configure LAMP
#Update and Upgrades System
sudo apt-get update && upgrade
#install apache,mariadb, php and other required packages
apt-get install apache2 mariadb-server libapache2-mod-php7.2 php7.2 php7.2-cli php7.2-mysql php7.2-common php7.2-zip php7.2-mbstring php7.2-xmlrpc php7.2-curl php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-ldap php7.2-imap unzip wget
#Make some changes in php.ini file
###################################
#file_uploads = On
@linuxoracledev
linuxoracledev / OpenVasSetup.sh
Created November 27, 2019 18:50
Setup OpenVAS 9 Vulnerability Scanner on Ubuntu 18.04 LTS
#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
sudo apt install texlive-fonts-recommended
sudo apt install libopenvas9-dev
@linuxoracledev
linuxoracledev / updateheroku.sh
Created December 3, 2019 14:45
How to update apps in heroku after deployment
#Install heroku cli
#Login to heroku
heroku login
#Clone the app in local and changes working dir to the app dir - here azadbd is the app dir
heroku git:clone -a azadbd
cd azadbd
#Initialize git
git init
@linuxoracledev
linuxoracledev / InstallRuby.sh
Last active December 7, 2019 18:10
Install ruby-2.5.3 on ubuntu 18.04 LTS
#Download Ruby
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip
#Change directory to where to install
cd /
#create a directory
sudo mkdir ruby
#back to home
cd /
#Unzip ruby to the directory 'ruby'
@linuxoracledev
linuxoracledev / installredis.sh
Last active December 7, 2019 17:59
How To Install, Configure and Secure Redis on Ubuntu 18.04
#Update the system
sudo apt-get update
#Install redis
sudo apt-get install redis-server
#Modify redis.conf file
sudo nano /etc/redis/redis.conf
#Enable supervised to systemd to do so uncomment the line #supervised systemd
@linuxoracledev
linuxoracledev / rabbitmq.sh
Last active December 8, 2019 10:22
How to install Latest RabbitMQ Server on Ubuntu 18.04 LTS
##Install Erlang/OTP
#Import Erlang GPG Key
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -
#Add the Erlang Repository Ubuntu 18.04 system
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
#Update your system package list and install Erlang
sudo apt update
sudo apt -y install erlang
@linuxoracledev
linuxoracledev / wordpress-lamp.sh
Last active May 4, 2020 15:09
How To Install WordPress with LAMP Stack on Ubuntu 18.04 LTS
##Install the Apache web server
sudo apt-get install apache2 -y
#Start and enable Apache to start automatically upon server reboot
sudo systemctl start apache2
sudo systemctl enable apache2
#Check Apache server is up and running
systemctl status apache2
@linuxoracledev
linuxoracledev / lemp.sh
Last active December 10, 2019 21:31
How To Install LEMP stack(Linux, Nginx, MySQL, PHP) on Ubuntu 18.04
##Install NGINX
#Update the system
sudo apt update
#Install nginx
sudo apt install nginx
#Allow connections to Nginx on firewall
sudo ufw allow 'Nginx HTTP'
@linuxoracledev
linuxoracledev / wordpress-lemp.sh
Last active December 11, 2019 18:27
How to Install WordPress with LEMP Stack on Ubuntu 18.04
##Install NGINX
#Update the system
sudo apt update
#Install nginx
sudo apt install nginx
#Allow connections to Nginx on firewall
sudo ufw allow 'Nginx HTTP'
@linuxoracledev
linuxoracledev / filezilla-vsftpd.sh
Last active February 2, 2020 19:35
How to install FileZilla and configure vsftpd to allow a user to upload files to his home directory using FTP with login credentials secured by SSL/TLS.
#Update the system and install filezilla and vsftpd
sudo apt-get update
sudo apt install filezilla
sudo apt-get install vsftpd
#Copy the original configuration file as a backup
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.orig
#Check and enable firewall
sudo ufw status