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 / openssh.sh
Last active December 22, 2019 20:05
How to Install, Enable Openssh-Server in Ubuntu 18.04 LTS
sudo apt-get install openssh-server
sudo service ssh status
sudo nano /etc/ssh/sshd_config
sudo service ssh restart
sudo service ssh status
#To see if existing SSH keys are present
ls -al ~/.ssh
#Generate a new SSH key
@linuxoracledev
linuxoracledev / samba.sh
Created December 15, 2019 19:26
How to Install and Configure Samba on Ubuntu 18.04 LTS
#Install samba
sudo apt install samba
#Verify SAMBA installation
sudo systemctl status nmbd
#create a Samba directory
sudo mkdir /samba
##Configuring Samba Shares
@linuxoracledev
linuxoracledev / VMware.sh
Created December 14, 2019 21:07
How To Install VMware Workstation Player on Ubuntu 18.04
#Update the system
sudo apt update
#Upgrade the system
sudo apt upgrade
#Install Required Packages
sudo apt install build-essential linux-headers-generic
#Download VMware Workstation Player
@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
@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 / 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-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 / 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 / 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 / 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'